JP2007129369A - Image reproducing apparatus and method - Google Patents

Image reproducing apparatus and method Download PDF

Info

Publication number
JP2007129369A
JP2007129369A JP2005318897A JP2005318897A JP2007129369A JP 2007129369 A JP2007129369 A JP 2007129369A JP 2005318897 A JP2005318897 A JP 2005318897A JP 2005318897 A JP2005318897 A JP 2005318897A JP 2007129369 A JP2007129369 A JP 2007129369A
Authority
JP
Japan
Prior art keywords
decoding
filter processing
filter
stream
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005318897A
Other languages
Japanese (ja)
Inventor
Kenjiro Tsuda
賢治郎 津田
Kazuo Saigo
賀津雄 西郷
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005318897A priority Critical patent/JP2007129369A/en
Publication of JP2007129369A publication Critical patent/JP2007129369A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image reproducing apparatus and an image reproducing method capable of preventing an image quality from being deteriorated by suppressing a filter processing from being doubly executed even when a plurality of decode processes are intermingled. <P>SOLUTION: The image reproducing apparatus 100 includes: a first decoding section 102 for decoding a stream by the H.264; a second decoding section 103 for decoding the stream by the MPEG 2; a filter processing section 104 for applying deblocking filter processing to a decoded moving picture signal; a stream analysis section 105 for extracting information denoting the presence/absence of the deblocking filter processing from the stream; and a filter processing discrimination section 106 for controlling the filter processing section 104 in such a way that the filter processing section executes no filter processing when the deblocking filter processing is set ON, and executes the filter processing when the deblocking filter processing is set OFF. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、複数方式の画像復号化手段を有する場合に、最適な画質での再生を実現する画像再生装置およびその方法に関するものである。   The present invention relates to an image reproduction apparatus and method for realizing reproduction with optimum image quality when a plurality of image decoding means are provided.

近年、衛星(BS、CS)、地上波、ケーブル、インターネット等によるテレビ放送で配信される映像音声信号を、ハードディスク(HDD)や光ディスク(DVDーRAM、DVD−R、DVD−RW、DVD+RW等)に記録するデジタルビデオレコーダが普及している。現在、デジタルビデオレコーダにおける画像符号化方式の主流は、MPEG2であるが、今後、長時間記録を目的として、符号化効率が高い画像符号化方式であるH.264/AVC(以下、H.264という)が適用されることが想定される。H.264を適用した場合でも、デジタルテレビ放送ではMPEG2が用いられているため、H.264とMPEG2とを混在して記録することができるデジタルビデオレコーダが商品化されることが想定される。   In recent years, video and audio signals distributed by television broadcasting over satellites (BS, CS), terrestrial waves, cables, the Internet, etc., are used for hard disks (HDD) and optical disks (DVD-RAM, DVD-R, DVD-RW, DVD + RW, etc.) Digital video recorders for recording on the Internet have become widespread. Currently, MPEG2 is the mainstream of image coding systems in digital video recorders, but H., which is an image coding system with high coding efficiency for the purpose of long-time recording in the future. It is assumed that H.264 / AVC (hereinafter referred to as H.264) is applied. H. Even when H.264 is applied, MPEG2 is used in digital television broadcasting. It is assumed that a digital video recorder capable of recording H.264 and MPEG2 together will be commercialized.

MPEG2やH.264のような画像符号化方式においては、符号化対象画像をマクロブロックと呼ばれる小ブロックに分割して符号化処理を実行するため、復号化時にブロック歪と呼ばれるブロック状のノイズが発生する場合がある。また、その他にもモスキート歪など符号化に起因するノイズが発生する場合がある。   MPEG2 and H.264 In an image encoding method such as H.264, since the encoding target image is divided into small blocks called macroblocks and the encoding process is executed, block-like noise called block distortion may occur during decoding. is there. In addition, noise due to encoding such as mosquito distortion may occur.

そこで、MPEG2を用いた画像再生装置においては、MPEG2の復号化処理の後に、ブロック歪を除去するポストフィルタ(デブロックフィルタ、デブロッキングフィルタと呼ばれる、以下ではデブロックフィルタという)を搭載することが多い。また、ブロック歪の他にもモスキート歪やその他のノイズを除去する目的のポストフィルタが搭載されている場合がある。   Therefore, an image reproducing apparatus using MPEG2 may be equipped with a post filter (referred to as a deblocking filter or a deblocking filter, hereinafter referred to as a deblocking filter) for removing block distortion after the decoding process of MPEG2. Many. In addition to the block distortion, a post filter intended to remove mosquito distortion and other noises may be mounted.

このように画像復号化後にブロック歪を除去するフィルタをかける例として、特殊再生時にポストフィルタをかけるデジタル映像信号再生装置が提案されている(例えば、特許文献1参照)。   As an example of applying a filter for removing block distortion after image decoding in this way, a digital video signal reproducing apparatus that applies a post filter during special reproduction has been proposed (for example, see Patent Document 1).

図12はH.264およびMPEG2の復号化処理が混在する画像再生装置の想定される構成を示すブロック図である。   FIG. 2 is a block diagram illustrating an assumed configuration of an image reproduction apparatus in which H.264 and MPEG2 decoding processes are mixed. FIG.

この画像再生装置は、図12に示すようにストリーム判別部101、H.264で復号化を行う第1の復号化部102、MPEG2で復号化を行う第2の復号化部103、およびフィルタ処理部104を備えている。   As shown in FIG. A first decoding unit 102 that performs decoding by H.264, a second decoding unit 103 that performs decoding by MPEG2, and a filter processing unit 104 are provided.

この画像再生装置では、ストリームがストリーム判別部101に入力され、このストリーム判別部101によりH.264と判別されたストリームは第1の復号化部102へ、MPEG2と判別されたストリームは第2の復号化部103へ出力される。そして、第1の復号化部102または第2の復号化部103で復号化された動画像信号はフィルタ処理部104にてデブロックフィルタ等のフィルタ処理が施されることになる。
特開平8−265689号公報
In this image reproducing apparatus, a stream is input to the stream discriminating unit 101, and the stream discriminating unit 101 uses the H.264 stream. The stream determined to be H.264 is output to the first decoding unit 102, and the stream determined to be MPEG2 is output to the second decoding unit 103. The moving image signal decoded by the first decoding unit 102 or the second decoding unit 103 is subjected to filter processing such as a deblocking filter by the filter processing unit 104.
Japanese Patent Application Laid-Open No. 8-26589

しかしながら、H.264においては、復号化方式内部にデブロックフィルタを搭載し、ストリームを復号化した時点ですでにデブロックフィルタが施された映像信号を出力可能となっている。したがって、H.264およびMPEG2の復号化処理が混在する画像再生装置においては、H.264でデブロックフィルタがONのストリームを再生する際に、MPEG2用のポストフィルタ処理がかかることで2重にフィルタ処理が実行されて、画質が劣化するという課題がある。   However, H.C. In H.264, a deblocking filter is installed in the decoding system, and a video signal that has already been subjected to the deblocking filter can be output when the stream is decoded. Therefore, H.H. In an image reproducing apparatus in which decoding processing of H.264 and MPEG2 is mixed, When reproducing a stream with the H.264 deblock filter turned on, post-filter processing for MPEG2 is applied, so that the filter processing is executed twice and the image quality deteriorates.

そこで、本発明は上記の事情に鑑みてなされたものであり、複数の復号化処理が混在する場合であっても、フィルタ処理が2重に実行されることを抑制し、画質劣化を回避することができる画像再生装置および画像再生方法を提供することを目的とする。   Therefore, the present invention has been made in view of the above circumstances, and even when a plurality of decoding processes are mixed, the filter process is suppressed from being executed twice, and image quality deterioration is avoided. An object of the present invention is to provide an image reproducing apparatus and an image reproducing method capable of performing the above.

上記目的を達成するため、本発明に係る画像再生装置は、符号化されたストリームを復号化して動画像を再生する画像再生装置であって、ノイズを除去するためのフィルタ処理を内部に有する第1復号化方式で前記ストリームを復号化する第1復号化手段と、ノイズを除去するためのフィルタ処理を内部に有さない第2復号化方式で前記ストリームを復号化する第2復号化手段と、前記ストリームの符号化方式に応じて第1復号化手段または第2復号化手段によって復号化された動画像に対して、ノイズを除去するためのフィルタ処理を実行するフィルタ処理手段と、前記第1復号化手段によって復号化される前記ストリームを解析することにより、前記第1復号化手段によって前記第1復号化方式内部でフィルタ処理されているか否かを前記ストリームの所定の単位で判定するストリーム解析手段と、前記ストリーム解析手段の判定結果に基づいて、前記フィルタ処理手段におけるフィルタ処理を制御するフィルタ処理制御手段とを備えることを特徴とする。これによって、複数の復号化処理が混在する場合であっても、フィルタ処理が2重に実行されることを抑制し、画質劣化を回避することができる。   In order to achieve the above object, an image reproduction apparatus according to the present invention is an image reproduction apparatus that reproduces a moving image by decoding an encoded stream, and includes a filter process for removing noise therein. First decoding means for decoding the stream with one decoding method, and second decoding means for decoding the stream with a second decoding method that does not have a filter process for removing noise therein. Filter processing means for performing filter processing for removing noise on the moving picture decoded by the first decoding means or the second decoding means in accordance with the stream encoding method; By analyzing the stream to be decoded by one decoding means, it is determined whether or not the first decoding means has performed filtering within the first decoding scheme. A stream analyzing means for determining a predetermined unit in the stream, based on a determination result of the stream analyzing means, characterized in that it comprises a filter processing controlling means for controlling the filtering in the filter processing means. Thereby, even when a plurality of decoding processes coexist, it is possible to suppress the filter process from being executed twice and to avoid image quality deterioration.

また、前記フィルタ処理制御手段は、前記ストリーム解析手段の判定結果に基づいて、前記フィルタ処理手段におけるフィルタ処理を前記ストリームの所定の単位で制御してもよい。また、前記画像再生装置は、さらに、前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていると判定された場合、前記ストリームを構成するピクチャを分割したブロック単位に、前記第1復号化手段より前記第1復号化方式内部でフィルタ処理されているか否かのフィルタ処理情報を取得するフィルタ情報取得手段を備え、前記フィルタ処理制御手段は、前記フィルタ情報取得手段によって取得された前記フィルタ処理情報に基づいて、前記フィルタ処理手段におけるフィルタ処理を前記ブロック単位で制御してもよい。これによって、例えば、ストリームを構成するピクチャまたはスライス単位、またはピクチャを分割したブロック単位でフィルタ処理を制御することができ、画質劣化を回避することができる。   The filter processing control means may control the filter processing in the filter processing means in a predetermined unit of the stream based on the determination result of the stream analysis means. Further, the image reproduction device further includes the first reproduction unit for each block obtained by dividing a picture constituting the stream when the stream analysis unit determines that the filtering process is performed within the first decoding scheme. Filter information acquisition means for acquiring filter processing information as to whether or not filtering is performed within the first decoding method from decoding means, wherein the filter processing control means is obtained by the filter information acquisition means. Based on the filter processing information, the filter processing in the filter processing means may be controlled in units of blocks. Thereby, for example, the filtering process can be controlled in units of pictures or slices constituting a stream, or in units of blocks obtained by dividing a picture, and image quality deterioration can be avoided.

また、前記フィルタ処理手段は、復号化された前記動画像に対して複数種類のフィルタ処理を実行し、前記フィルタ処理制御手段は、前記ストリーム解析手段の判定結果に基づいて、前記フィルタ処理手段における、前記第1復号化方式内部でフィルタ処理されている種類と同じ種類のフィルタ処理を制御してもよい。これによって、復号化方式内部でフィルタ処理が実行されている種類のフィルタ処理のみを制御することで、フィルタ処理が2重に実行されることを抑制し、画質劣化を回避した上で、他のフィルタ効果を実現することで最適な画質で再生することが可能となる。   Further, the filter processing means executes a plurality of types of filter processing on the decoded moving image, and the filter processing control means determines whether the filter processing means The filtering process of the same type as the filtering process in the first decoding scheme may be controlled. As a result, by controlling only the type of filter processing that is being executed within the decoding method, it is possible to prevent the filter processing from being executed twice and to avoid image quality degradation. By realizing the filter effect, it is possible to reproduce with optimum image quality.

また、前記画像再生装置は、さらに、前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていると判定された場合、前記ストリームを解析してフィルタ強度を判定するフィルタ強度判定手段を備え、前記フィルタ処理制御手段は、前記フィルタ強度判定手段によって判定されたフィルタ強度に応じて、前記フィルタ処理手段におけるフィルタ処理を制御してもよい。これによって、復号化方式内部でフィルタ処理が実行されている場合には、復号化方式内部のフィルタ強度に基づいて、復号化後段のフィルタ処理の強度を変更することで、最適な画質で再生することが可能となる。   Further, the image reproduction device further includes a filter strength determining unit that analyzes the stream and determines a filter strength when the stream analyzing unit determines that the filtering process is performed within the first decoding scheme. The filter processing control means may control the filter processing in the filter processing means according to the filter strength determined by the filter strength determination means. As a result, when filter processing is being executed inside the decoding method, reproduction is performed with the optimum image quality by changing the strength of the filter processing at the subsequent stage of decoding based on the filter strength inside the decoding method. It becomes possible.

また、前記画像再生装置は、さらに、前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていると判定された場合、前記第1復号化手段より復号化時の量子化情報およびフィルタ強度情報の少なくとも1つを取得する量子化情報解析手段を備え、前記フィルタ処理制御手段は、前記量子化情報解析手段によって取得された前記量子化情報および前記フィルタ強度情報の少なくとも1つに応じて、前記フィルタ処理手段におけるフィルタ処理のフィルタ強度を変更するように制御してもよい。これによって、復号化方式内部でフィルタ処理が実行されている場合には、復号化時の情報に基づいて、ブロック単位に復号化後段のフィルタ処理の強度を変更することで、最適な画質で再生することが可能となる。   Further, the image reproduction apparatus further includes a quantization information and a filter at the time of decoding by the first decoding unit when the stream analysis unit determines that the filtering process is performed inside the first decoding method. Quantization information analysis means for acquiring at least one of the intensity information, and the filter processing control means according to at least one of the quantization information and the filter intensity information acquired by the quantization information analysis means The filter strength of the filter processing in the filter processing means may be controlled to be changed. As a result, when the filtering process is executed inside the decoding method, the intensity of the filtering process after the decoding is changed in units of blocks based on the information at the time of decoding, so that the reproduction is performed with the optimum image quality. It becomes possible to do.

また、前記画像再生装置は、さらに、前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていると判定された場合、前記ストリームを構成するピクチャを分割したブロック単位に、前記第1復号化手段より、前記第1復号化方式内部でフィルタ処理されているか否かのフィルタ処理情報、復号化時の量子化情報、および復号化時のフィルタ強度情報の少なくとも1つを取得し、取得した前記フィルタ処理情報、前記量子化情報、および前記フィルタ強度情報の少なくとも1つを前記ストリームの所定の単位で集計する集計手段を備え、前記フィルタ処理制御手段は、前記集計手段の集計結果に基づいて、前記フィルタ処理手段におけるフィルタ処理を前記ストリームの所定の単位で制御してもよい。これによって、復号化方式内部でフィルタ処理が実行されている場合には、ブロック単位の復号化時の情報を解析した上で、復号化後段のフィルタ処理を実行しないようにピクチャ単位に制御することで、フィルタ処理を効率的に抑制し、画質劣化を回避することが可能となる。   Further, the image reproduction device further includes the first reproduction unit for each block obtained by dividing a picture constituting the stream when the stream analysis unit determines that the filtering process is performed within the first decoding scheme. Obtain and obtain from the decoding means at least one of filtering processing information indicating whether or not filtering is performed within the first decoding scheme, quantization information at the time of decoding, and filter strength information at the time of decoding A filtering unit that counts at least one of the filtered processing information, the quantization information, and the filter strength information in a predetermined unit of the stream, and the filtering processing control unit is based on a counting result of the counting unit Then, the filter processing in the filter processing means may be controlled in a predetermined unit of the stream. As a result, when filtering processing is executed within the decoding method, control is performed on a picture-by-picture basis so as not to execute post-decoding filter processing after analyzing information at the time of decoding in block units. Thus, it is possible to efficiently suppress the filter processing and avoid image quality deterioration.

なお、本発明は、このような画像再生装置として実現することができるだけでなく、このような画像再生装置が備える特徴的な手段をステップとする画像再生方法として実現したり、それらのステップをコンピュータに実行させるプログラムとして実現したりすることもできる。そして、そのようなプログラムは、CD−ROM等の記録媒体やインターネット等の伝送媒体を介して配信することができるのは言うまでもない。   The present invention can be realized not only as such an image reproducing apparatus, but also as an image reproducing method using steps characteristic of the image reproducing apparatus as a step, or by performing these steps as a computer. It can also be realized as a program to be executed. Needless to say, such a program can be distributed via a recording medium such as a CD-ROM or a transmission medium such as the Internet.

本発明に係る画像再生装置および画像再生方法によれば、復号化方式内部でフィルタ処理が実行されている場合には、復号化後段のフィルタ処理を実行しないように制御することで、フィルタ処理が2重に実行されることを抑制し、画質劣化を回避することが可能となる。また、フィルタ処理が施されたストリームからフィルタ強度を表す情報を抽出し、復号化後段のフィルタ処理の強度を変更することで、画質劣化を回避し、最適な画質での画像再生を実現することが可能となる。   According to the image reproducing device and the image reproducing method according to the present invention, when the filtering process is executed inside the decoding method, the filtering process is performed by controlling not to execute the filtering process after the decoding. It is possible to suppress double execution and avoid image quality degradation. In addition, by extracting information representing the filter strength from the filtered stream and changing the strength of the post-decoding filter processing, image quality degradation can be avoided and image reproduction with optimal image quality can be realized. Is possible.

以下、本発明の各実施の形態について、それぞれ図面を参照しながら説明する。   Embodiments of the present invention will be described below with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1に係る画像再生装置の構成を示すブロック図である。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of an image reproduction apparatus according to Embodiment 1 of the present invention.

画像再生装置100は、2つの復号化方式(例えばH.264とMPEG2)のいずれかで復号化を行って動画像を再生するための装置であり、ストリーム判別部101、第1の復号化部102、第2の復号化部103、フィルタ処理部104、ストリーム解析部105、およびフィルタ処理判定部106を備えている。なお、本実施の形態では、MPEG2とH.264との組み合わせを例に説明するが、どちらか片方の復号化方式が方式内部にフィルタ処理を有するものであれば、別の復号化方式の組み合わせであっても構わない。   The image playback device 100 is a device for playing back a moving image by decoding with one of two decoding schemes (for example, H.264 and MPEG2), and includes a stream determination unit 101 and a first decoding unit. 102, a second decoding unit 103, a filter processing unit 104, a stream analysis unit 105, and a filter processing determination unit 106. In this embodiment, MPEG2 and H.264 are used. A combination with H.264 will be described as an example. However, as long as one of the decoding methods has a filtering process inside the method, a combination of other decoding methods may be used.

ストリーム判別部101は、入力された再生すべきストリームがH.264またはMPEG2のいずれで符号化されているかを判別し、H.264と判別したストリームは第1の復号化部102へ、MPEG2と判別したストリームは第2の復号化部103へ出力する。ここで、ストリーム判別部101は、例えば、ストリームのヘッダ情報、またはファイルシステム/ディスクシステム(例えばBD−ROM規格等)の情報を解析することで、H.264またはMPEG2のいずれであるかを判別する。ストリームのヘッダ情報を解析する場合は、ビデオストリームのヘッダ先頭数バイト分のデータを比較することで判別することが可能である。一方、ファイルシステム/ディスクシステムには、動画像データの再生順序などを設定するプレイリストが定義されており、このプレイリストは動画像ファイルなどのアイテムから構成されている。アイテムの中に、ビデオストリームが含まれる場合には、ストリームタイプ(MPEG2やH.264等)が定義されているので、ファイルシステムからプレイリスト情報を取得し、ストリームタイプを判定することで、H.264またはMPEG2のいずれであるかを判別することが可能である。   The stream discriminating unit 101 determines that the input stream to be reproduced is H.264. H.264 or MPEG2 is determined, and H.264 is encoded. The stream determined to be H.264 is output to the first decoding unit 102, and the stream determined to be MPEG2 is output to the second decoding unit 103. Here, the stream discriminating unit 101 analyzes, for example, the header information of the stream or the information of the file system / disk system (for example, BD-ROM standard etc.) to Whether it is H.264 or MPEG2 is determined. When analyzing the header information of the stream, it can be determined by comparing the data for the first several bytes of the header of the video stream. On the other hand, in the file system / disk system, a playlist for setting the reproduction order of moving image data is defined, and this playlist is composed of items such as moving image files. When a video stream is included in an item, since the stream type (MPEG2, H.264, etc.) is defined, the playlist information is acquired from the file system and the stream type is determined. . It is possible to determine whether it is H.264 or MPEG2.

第1の復号化部102は、入力されたストリームをH.264で復号化する。第2の復号化部103は、入力されたストリームをMPEG2で復号化する。フィルタ処理部104は、復号化された動画像信号にデブロックフィルタ処理を行う。ストリーム解析部105は、ストリーム判別部101によってH.264と判別されたストリームを解析し、デブロックフィルタ処理の有無を示す情報を抽出する。H.264においては、ストリーム中のピクチャパラメータセットに含まれるdeblocking_filter_control_present_flagフラグ、およびスライスヘッダに含まれるdisable_deblocking_filter_idcフラグとの組み合わせにより、デブロックフィルタ処理がONかOFFかの情報を抽出できる。ストリーム解析部105は、デブロックフィルタ処理がONであるかOFFであるかを示す識別信号をフィルタ処理判定部106へ出力する。   The first decoding unit 102 converts the input stream to H.264. Decrypt with H.264. The second decoding unit 103 decodes the input stream using MPEG2. The filter processing unit 104 performs deblocking filter processing on the decoded moving image signal. The stream analysis unit 105 receives the H.264 data from the stream determination unit 101. H.264 is analyzed, and information indicating the presence or absence of deblocking filter processing is extracted. H. In H.264, information about whether the deblocking filter processing is ON or OFF can be extracted by a combination of a deblocking_filter_control_present_flag flag included in the picture parameter set in the stream and a disable_deblocking_filter_idc flag included in the slice header. The stream analysis unit 105 outputs an identification signal indicating whether the deblock filter processing is ON or OFF to the filter processing determination unit 106.

フィルタ処理判定部106は、フィルタ処理制御手段であり、デブロックフィルタ処理がONの場合は、フィルタ処理部104のフィルタ処理を実行せず、デブロックフィルタ処理がOFFの場合は、フィルタ処理を実行するようにフィルタ処理部104の制御を行う。   The filter process determination unit 106 is a filter process control unit. When the deblock filter process is ON, the filter process of the filter process unit 104 is not executed. When the deblock filter process is OFF, the filter process is executed. Thus, the filter processing unit 104 is controlled.

図2は第1の復号化部102の構成を示すブロック図である。
第1の復号化部102は、ストリーム判別部101によってH.264と判別されたストリームを方式内部にフィルタ処理を有するH.264で復号化する部であり、図2に示すようにエントロピー復号化部201、逆量子化部202、逆直交変換部203、動き補償部204、画像合成部205、およびデブロックフィルタ部206を備えている。
FIG. 2 is a block diagram showing a configuration of the first decoding unit 102.
The first decoding unit 102 uses the stream discrimination unit 101 to perform the H.264 decoding. H.264 having a filtering process within the system for a stream determined as H.264. As shown in FIG. 2, an entropy decoding unit 201, an inverse quantization unit 202, an inverse orthogonal transform unit 203, a motion compensation unit 204, an image synthesis unit 205, and a deblocking filter unit 206 are included. I have.

エントロピー復号化部201は、ストリーム判別部101によってH.264と判別されたストリームをエントロピー復号化し、量子化値、参照インデックス、および動きベクトル等を出力する。動き補償部102では、動きベクトルおよび参照インデックスを用いて、復号化画像から予測画像に最適な画像領域を取り出す。   The entropy decoding unit 201 uses the stream discriminating unit 101 to perform the H.264 decoding. The stream determined to be H.264 is entropy decoded, and a quantized value, a reference index, a motion vector, and the like are output. The motion compensation unit 102 uses the motion vector and the reference index to extract an optimal image region for the predicted image from the decoded image.

逆量子化部202は、量子化値を逆量子化して周波数係数に復元し、逆直交変換部203に出力する。逆直交変換部203は、周波数係数から画素差分値に逆周波数変換し、画像合成部205に出力する。画像合成部205は、画素差分値と動き補償部204から出力される予測画像とを加算して復号化画像とする。   The inverse quantization unit 202 inversely quantizes the quantized value to restore the frequency coefficient, and outputs the frequency coefficient to the inverse orthogonal transform unit 203. The inverse orthogonal transform unit 203 performs inverse frequency transform from the frequency coefficient to the pixel difference value, and outputs the result to the image composition unit 205. The image composition unit 205 adds the pixel difference value and the predicted image output from the motion compensation unit 204 to obtain a decoded image.

デブロックフィルタ部206は、ストリーム中のピクチャパラメータセットに含まれるdeblocking_filter_control_present_flagフラグ、およびスライスヘッダに含まれるdisable_deblocking_filter_idcフラグが(1,1)の場合は、デブロックフィルタをOFFとする。また、2つのフラグが(1,1)以外の場合は、所定の条件によりブロック単位でデブロックフィルタのON/OFFを切り替える。   The deblocking filter unit 206 turns off the deblocking filter when the deblocking_filter_control_present_flag flag included in the picture parameter set in the stream and the disable_deblocking_filter_idc flag included in the slice header are (1, 1). When the two flags are other than (1, 1), the deblock filter is switched on / off in units of blocks according to a predetermined condition.

ブロック単位でデブロックフィルタのON/OFFを切り替える場合、デブロックフィルタ部206は、次の2つの条件により、デブロックフィルタのON/OFFを切り替える。デブロックフィルタ部206は、1つ目の条件として、ブロック境界の画素値の差分が所定値(α、β)よりも小さい時に、ブロック単位でのデブロックフィルタをOFFとする。ここで、ブロックとは4×4、8×8に分割された符号化単位である。この所定値(α、β)はQP値(量子化パラメータ)に依存した図3に示すようなテーブルから算出され、QP値が小さいほどOFFになりやすい。また、スライス(ピクチャ)単位で設定されるslice_alpha_c0_offset_div2およびslice_beta_offset_div2という2つのオフセット値により、テーブルの所定値を変更することが可能である。この2つのオフセット値は−6〜6の値(ディフォルトは0)をとり、値が小さいほどフィルタがかかりにくくなる。   When switching on / off of the deblocking filter in units of blocks, the deblocking filter unit 206 switches on / off of the deblocking filter according to the following two conditions. As a first condition, the deblocking filter unit 206 turns off the deblocking filter in units of blocks when the pixel value difference at the block boundary is smaller than a predetermined value (α, β). Here, the block is a coding unit divided into 4 × 4 and 8 × 8. The predetermined values (α, β) are calculated from a table as shown in FIG. 3 depending on the QP value (quantization parameter), and the smaller the QP value, the easier it is to turn off. Further, it is possible to change the predetermined value of the table by using two offset values, slice_alpha_c0_offset_div2 and slice_beta_offset_div2, which are set in units of slices (pictures). These two offset values take values of −6 to 6 (default is 0), and the smaller the value is, the more difficult it is to filter.

次に、デブロックフィルタ部206は、2つ目の条件として、フィルタ強度を決めるBs値(Boundary Strength)がBs=0の時に、デブロックフィルタをOFFとする。このBs値は0〜4の値をとり、Bs値1〜4でデブロックフィルタをONとし、数字が大きいほど強いフィルタをかける。また、このBs値は、ブロック属するマクロブロックタイプ(イントラか否か)、マクロブロック境界のブロックであるか否か、直交変換係数の有無、動きベクトル値の差の有無、参照ピクチャ数の差の有無等により決まる。   Next, as a second condition, the deblocking filter unit 206 turns off the deblocking filter when the Bs value (Boundary Strength) that determines the filter strength is Bs = 0. This Bs value takes a value from 0 to 4, with the Bs value 1 to 4 turning on the deblocking filter, and a larger number applies a stronger filter. In addition, this Bs value is the macro block type (whether it is intra) or not, whether the block is a macro block boundary, whether there is an orthogonal transform coefficient, whether there is a difference in motion vector values, and whether there is a difference in the number of reference pictures It depends on the presence or absence.

このように、H.264の復号化処理では、デブロックフィルタ部206において復号化処理と連動してデブロックフィルタ処理が施される。   In this way, H.C. In the H.264 decoding process, the deblocking filter unit 206 performs the deblocking filter process in conjunction with the decoding process.

次に、上記のように構成された画像再生装置100の動作について説明する。
図4は画像再生装置の動作の流れを示すフローチャートである。
Next, the operation of the image playback device 100 configured as described above will be described.
FIG. 4 is a flowchart showing an operation flow of the image reproducing apparatus.

再生すべきストリームは、ストリーム判別部101へ入力される。ストリーム判別部101は、入力された再生すべきストリームがH.264またはMPEG2のいずれで符号化されているかを判別する(ステップS101)。ここで、MPEG2と判別した場合、ストリーム判別部101は、MPEG2と判別したストリームを第2の復号化部103へ出力する。そして、第2の復号化部103は、入力されたストリームをMPEG2で復号化し、フィルタ処理部104へ出力する(ステップS102)。そして、フィルタ処理部104は、第2の復号化部103によって復号化された動画像に対してデブロックフィルタ処理を実行する(ステップS103)。   A stream to be reproduced is input to the stream determination unit 101. The stream discriminating unit 101 determines that the input stream to be reproduced is H.264. Whether it is encoded by H.264 or MPEG2 is determined (step S101). Here, when it is determined as MPEG2, the stream determination unit 101 outputs the stream determined as MPEG2 to the second decoding unit 103. Then, the second decoding unit 103 decodes the input stream using MPEG2, and outputs the decoded stream to the filter processing unit 104 (step S102). Then, the filter processing unit 104 performs deblocking filter processing on the moving image decoded by the second decoding unit 103 (step S103).

一方、H.264と判別した場合、H.264と判別したストリームを第1の復号化部102およびストリーム解析部105へ出力する。そして、第1の復号化部102は、入力されたストリームをH.264で復号化し、フィルタ処理部104へ出力する(ステップS104)。また、ストリーム解析部105は、H.264と判別されたストリーム中のピクチャパラメータセットに含まれるdeblocking_filter_control_present_flagフラグ、およびスライスヘッダに含まれるdisable_deblocking_filter_idcフラグを抽出する(ステップS105)。ストリーム解析部105は、抽出した2つのフラグから対象となるスライス(ピクチャ)に対して、第1の復号化部102でデブロックフィルタ処理が実行されるか否かを判定する(ステップS106)。なお、ピクチャを複数スライスに分割可能であるが、ここでは1ピクチャ1スライスであるものとする。抽出した2つのフラグが(1、1)であれば、ストリーム解析部105は、そのスライスに対してはデブロックフィルタ処理がOFFであると判定(ステップS106でNo)し、デブロックフィルタ処理がOFFであることを示す識別信号をフィルタ処理判定部106へ出力する。フィルタ処理判定部106は、デブロックフィルタ処理がOFFであることを示す識別信号を受け取った場合には、フィルタ処理部104でのフィルタ処理を実行するように制御を行う(ステップS107)。一方、抽出した2つのフラグが(1、1)以外であれば、ストリーム解析部105は、そのスライスに対してはデブロックフィルタ処理がONであると判定(ステップS106でYes)し、デブロックフィルタ処理がONであることを示す識別信号をフィルタ処理判定部106へ出力する。フィルタ処理判定部106は、デブロックフィルタ処理がONであることを示す識別信号を受け取った場合には、フィルタ処理部104でのフィルタ処理を実行しないように制御を行う(ステップS108)。   On the other hand, H. H.264, H.264 is determined. The stream determined to be H.264 is output to the first decoding unit 102 and the stream analysis unit 105. Then, the first decoding unit 102 converts the input stream to H.264. The data is decoded by H.264 and output to the filter processing unit 104 (step S104). In addition, the stream analysis unit 105 performs the H.264 operation. The deblocking_filter_control_present_flag flag included in the picture parameter set in the stream determined to be H.264 and the disable_deblocking_filter_idc flag included in the slice header are extracted (step S105). The stream analysis unit 105 determines whether or not the deblocking filter process is executed by the first decoding unit 102 on the target slice (picture) from the two extracted flags (step S106). Note that a picture can be divided into a plurality of slices, but here it is assumed that one picture is one slice. If the two extracted flags are (1, 1), the stream analysis unit 105 determines that the deblock filter processing is OFF for the slice (No in step S106), and the deblock filter processing is performed. An identification signal indicating OFF is output to the filter processing determination unit 106. When receiving an identification signal indicating that the deblock filter processing is OFF, the filter processing determination unit 106 performs control so that the filter processing in the filter processing unit 104 is executed (step S107). On the other hand, if the two extracted flags are other than (1, 1), the stream analysis unit 105 determines that the deblock filter process is ON for the slice (Yes in step S106), and the deblocking is performed. An identification signal indicating that the filter processing is ON is output to the filter processing determination unit 106. When receiving the identification signal indicating that the deblock filter processing is ON, the filter processing determination unit 106 performs control so that the filter processing in the filter processing unit 104 is not executed (step S108).

次に、すべてのピクチャについて処理が終了したか否かを判定する(ステップS109)。ここで、すべてのピクチャについて処理が終了していれば(ステップS109でYes)、処理が終了する。一方、すべてのピクチャについて処理が終了していなければ(ステップS109でNo)、次のスライスヘッダに含まれるdisable_deblocking_filter_idcフラグを抽出し、以下上記と同様の処理を繰り返す(ステップS105〜S109)。なお、2回目以降のフラグの抽出処理(ステップS105)では、ピクチャパラメータセットに含まれるdeblocking_filter_control_present_flagフラグについては、対象となるピクチャが参照するピクチャパラメータセットが替わった場合にだけ、新たにdeblocking_filter_control_present_flagフラグを抽出すればよい。   Next, it is determined whether or not processing has been completed for all pictures (step S109). Here, if the processing has been completed for all the pictures (Yes in step S109), the processing ends. On the other hand, if the processing has not been completed for all the pictures (No in step S109), the disable_deblocking_filter_idc flag included in the next slice header is extracted, and the same processing is repeated thereafter (steps S105 to S109). In the second and subsequent flag extraction processing (step S105), for the deblocking_filter_control_present_flag flag included in the picture parameter set, a new deblocking_filter_control_present_flag flag is extracted only when the picture parameter set referred to by the target picture is changed. do it.

なお、本実施の形態では、フィルタ処理部104でのデブロックフィルタ処理をスライス(ピクチャ)単位で制御しているが、これに限られるものではない。例えば、第1の復号化部102からブロック単位に、第1の復号化部102内部でデブロックフィルタ処理されているか否かのフィルタ処理情報を取得する。そして、フィルタ処理判定部106は、ブロック単位に、このフィルタ処理情報がデブロックフィルタ処理のONを示している場合は、フィルタ処理部104のフィルタ処理を実行せず、デブロックフィルタ処理のOFFを示している場合は、フィルタ処理を実行するようにフィルタ処理部104の制御を行っても構わない。   In the present embodiment, the deblock filter process in the filter processing unit 104 is controlled in units of slices (pictures), but the present invention is not limited to this. For example, filter processing information indicating whether or not deblocking filter processing is performed in the first decoding unit 102 is acquired from the first decoding unit 102 in units of blocks. Then, the filter processing determination unit 106 does not execute the filter processing of the filter processing unit 104 and turns off the deblocking filter processing when the filtering processing information indicates that the deblocking filtering processing is ON for each block. In the case shown, the filter processing unit 104 may be controlled to execute the filter processing.

以上のように、ストリームまたはストリームを格納したデータから、復号化方式内部でフィルタ処理が施されたストリームか否かを判定し、復号化方式内部でフィルタ処理が実行されている場合は、復号化後段のフィルタ処理を実行しないように制御することで、フィルタ処理が2重に実行されることを抑制し、画質劣化を回避することが可能となる。   As described above, it is determined whether or not the stream or the stream storing data is a stream that has been filtered within the decoding method. If the filtering process is being executed within the decoding method, the decoding is performed. By performing control so that the subsequent filtering process is not performed, it is possible to suppress the filtering process from being performed twice and to avoid image quality deterioration.

(実施の形態2)
実施の形態1では、フィルタ処理部104において復号化された動画像信号にデブロックフィルタ処理だけを行っているが、本実施の形態では、複数のフィルタ処理を行う場合について説明する。
(Embodiment 2)
In the first embodiment, only the deblocking filter process is performed on the moving image signal decoded by the filter processing unit 104. In the present embodiment, a case where a plurality of filter processes are performed will be described.

図5は、本発明の実施の形態2に係る画像再生装置の構成を示すブロック図である。なお、上記実施の形態1に係る画像再生装置の構成と同様の部分については、同じ符号を付し、説明を省略する。   FIG. 5 is a block diagram showing a configuration of an image reproduction apparatus according to Embodiment 2 of the present invention. Note that portions similar to those in the configuration of the image reproduction device according to Embodiment 1 are given the same reference numerals, and descriptions thereof are omitted.

本実施の形態の画像再生装置300は、図5に示すように、実施の形態1のフィルタ処理判定部106に替えてフィルタ処理選択部301を備えている。また、フィルタ処理部302の動作が相違する。   As shown in FIG. 5, the image reproduction device 300 according to the present embodiment includes a filter processing selection unit 301 instead of the filter processing determination unit 106 according to the first embodiment. Further, the operation of the filter processing unit 302 is different.

フィルタ処理部302は、復号化された動画像信号に対して複数のフィルタ処理、すなわち、デブロックフィルタ処理に加えて、例えば、モスキート歪やその他のノイズを除去するためのフィルタ処理等を行う。   The filter processing unit 302 performs, for example, a filter process for removing mosquito distortion and other noises in addition to a plurality of filter processes, that is, a deblocking filter process, on the decoded moving image signal.

フィルタ処理選択部301は、フィルタ処理制御手段であり、デブロックフィルタ処理がONの場合には、フィルタ処理部302のデブロックフィルタ処理のみを選択して実行せず、他の効果をもつフィルタ処理は実行するようにフィルタ処理部302の制御を行う。また、フィルタ処理選択部301は、デブロックフィルタ処理がOFFの場合には、デブロックフィルタを含めてすべてフィルタ処理を実行するようにフィルタ処理部302の制御を行う。   The filter process selection unit 301 is a filter process control unit. When the deblock filter process is ON, only the deblock filter process of the filter process unit 302 is not selected and executed, and the filter process having other effects is performed. Controls the filter processing unit 302 to execute. In addition, when the deblocking filter process is OFF, the filter processing selection unit 301 controls the filter processing unit 302 to execute all the filtering processes including the deblocking filter.

以上のように、ストリームまたはストリームを格納したデータから、復号化方式内部でフィルタ処理が施されたストリームか否かを判定し、復号化方式内部でフィルタ処理が実行されている場合は、復号化後段のフィルタ処理を実行しないように制御する際に、デブロックフィルタのみを制御することで、デブロックフィルタ処理が2重に実行されることを抑制し、画質劣化を回避した上で、他のフィルタ効果を実現することで最適な画質で再生することが可能となる。   As described above, it is determined whether or not the stream or the stream storing data is a stream that has been filtered within the decoding method. If the filtering process is being executed within the decoding method, the decoding is performed. By controlling only the deblocking filter when controlling so as not to execute the subsequent filtering process, it is possible to suppress the deblocking filter process from being executed twice, and to avoid degradation in image quality. By realizing the filter effect, it is possible to reproduce with optimum image quality.

(実施の形態3)
実施の形態1では、フィルタ処理部104におけるデブロックフィルタ処理を実行するか実行しないように制御を行っているが、本実施の形態では、デブロックフィルタ処理の強度を変更する場合について説明する。
(Embodiment 3)
In the first embodiment, control is performed so that the deblocking filter process in the filter processing unit 104 is executed or not executed. In this embodiment, a case where the strength of the deblocking filter process is changed will be described.

図6は、本発明の実施の形態3に係る画像再生装置の構成を示すブロック図である。なお、上記実施の形態1に係る画像再生装置の構成と同様の部分については、同じ符号を付し、説明を省略する。   FIG. 6 is a block diagram showing a configuration of an image reproduction apparatus according to Embodiment 3 of the present invention. Note that portions similar to those in the configuration of the image reproduction device according to Embodiment 1 are given the same reference numerals, and descriptions thereof are omitted.

本実施の形態の画像再生装置400は、図6に示すように、実施の形態1のフィルタ処理判定部106に替えて、フィルタ強度判定部401およびフィルタ強度変更部402を備えている。また、フィルタ処理部403およびストリーム解析部404の動作が相違する。   As shown in FIG. 6, the image reproduction device 400 according to the present embodiment includes a filter strength determination unit 401 and a filter strength change unit 402 instead of the filter processing determination unit 106 according to the first embodiment. Also, the operations of the filter processing unit 403 and the stream analysis unit 404 are different.

フィルタ処理部403は、復号化された動画像信号に対してかけるデブロックフィルタ処理の強度を変更して実行する。ストリーム解析部404は、実施の形態1と同様にデブロックフィルタ処理の有無を示す情報の抽出および識別信号の出力を行うとともに、ストリームのスライスヘッダに含まれるフィルタ強度に関するオフセット値を抽出し、フィルタ強度判定部401へ通知する。なお、識別信号は、フィルタ強度判定部401へ出力される。   The filter processing unit 403 changes the intensity of deblocking filter processing applied to the decoded moving image signal and executes it. Similarly to the first embodiment, the stream analysis unit 404 extracts information indicating the presence or absence of deblocking filter processing and outputs an identification signal, and extracts an offset value related to the filter strength included in the slice header of the stream. Notify the strength determination unit 401. The identification signal is output to the filter strength determination unit 401.

フィルタ強度判定部401は、ストリーム解析部404から通知されたオフセット値に基づいて、デブロックフィルタ処理の強度を判定し、デブロックフィルタ処理の強度を示すフィルタ強度信号をフィルタ強度変更部402に出力する。例えば、フィルタ強度判定部401は、オフセット値−6〜−4、−3〜−2、−1〜0、1〜2、3〜4、5〜6に応じて、強度レベルを5段階に判定する。   The filter strength determination unit 401 determines the strength of the deblocking filter processing based on the offset value notified from the stream analysis unit 404 and outputs a filter strength signal indicating the strength of the deblocking filter processing to the filter strength changing unit 402. To do. For example, the filter strength determination unit 401 determines the strength level in five steps according to the offset values −6 to −4, −3 to −2, −1 to 0, 1 to 2, 3 to 4, and 5 to 6. To do.

フィルタ強度変更部402は、フィルタ処理制御手段であり、フィルタ強度信号に基づいて、フィルタ処理部403のフィルタ強度をスライス単位で変更して実行するように制御する。例えば、デブロックフィルタ強度が強い場合は、フィルタ処理部403のフィルタ強度を弱くするというような制御を実行する。   The filter strength changing unit 402 is a filter processing control unit, and controls the filter strength of the filter processing unit 403 to be changed and executed in units of slices based on the filter strength signal. For example, when the deblocking filter strength is high, control such as reducing the filter strength of the filter processing unit 403 is executed.

次に、上記のように構成された画像再生装置400の動作について説明する。
図7は実施の形態3の画像再生装置の動作の流れを示すフローチャートである。なお、ストリーム判別部101によるストリームの判別処理(ステップS101)からフィルタ処理部104によるフィルタ処理を実行処理(ステップS107)については、実施の形態1と同様であるので説明を省略する。
Next, the operation of the image reproduction device 400 configured as described above will be described.
FIG. 7 is a flowchart showing an operation flow of the image reproducing apparatus according to the third embodiment. Note that the stream discrimination processing (step S101) by the stream discrimination unit 101 to the execution processing (step S107) of the filter processing by the filter processing unit 104 are the same as those in the first embodiment, and thus description thereof is omitted.

ストリーム解析部404は、デブロックフィルタ処理がONであると判定した場合(ステップS106でYes)、ストリームのスライスヘッダに含まれるフィルタ強度に関するオフセット値を抽出する(ステップS201)。そして、ストリーム解析部404は、デブロックフィルタ処理がONであることを示す識別信号およびオフセット値をフィルタ強度判定部401へ出力する。フィルタ強度判定部401は、デブロックフィルタ処理がONであることを示す識別信号およびオフセット値を受け取った場合には、オフセット値に基づいて、デブロックフィルタ処理の強度を判定し、デブロックフィルタ処理の強度を示すフィルタ強度信号をフィルタ強度変更部402に出力する(ステップS202)。フィルタ強度変更部402は、フィルタ強度信号に基づいて、対象となるスライス(ピクチャ)に対して、フィルタ処理部403のフィルタ強度を変更して実行するように制御する(ステップS203)。例えば、デブロックフィルタ強度が強い場合は、フィルタ処理部403のフィルタ強度を弱くするというような制御を実行する。以降の処理(ステップS109)については、実施の形態1と同様である。   If the stream analysis unit 404 determines that the deblocking filter process is ON (Yes in step S106), the stream analysis unit 404 extracts an offset value related to the filter strength included in the slice header of the stream (step S201). Then, the stream analysis unit 404 outputs an identification signal indicating that the deblocking filter process is ON and an offset value to the filter strength determination unit 401. When receiving an identification signal and an offset value indicating that the deblocking filter process is ON, the filter strength determining unit 401 determines the strength of the deblocking filter process based on the offset value, and the deblocking filter process A filter strength signal indicating the strength of the output is output to the filter strength changing unit 402 (step S202). Based on the filter strength signal, the filter strength changing unit 402 performs control so as to change and execute the filter strength of the filter processing unit 403 for the target slice (picture) (step S203). For example, when the deblocking filter strength is high, control such as reducing the filter strength of the filter processing unit 403 is executed. The subsequent processing (step S109) is the same as in the first embodiment.

なお、本実施の形態では、オフセット値に基づいてデブロックフィルタ処理の強度を判定し、その結果に基づいて、フィルタ処理部403のフィルタ強度をスライス単位で変更して実行するように制御しているが、単に、オフセット値が所定の閾値以上の場合は、フィルタ処理部403のフィルタ処理を実行しないように制御しても構わない。   In the present embodiment, the strength of the deblocking filter process is determined based on the offset value, and based on the result, control is performed so that the filter strength of the filter processing unit 403 is changed and executed for each slice. However, if the offset value is equal to or greater than the predetermined threshold value, the filter processing unit 403 may be controlled not to execute the filter processing.

以上のように、ストリームまたはストリームを格納したデータから、復号化方式内部でフィルタ処理が施されたストリームか否かを判定し、復号化方式内部でフィルタ処理が実行されている場合は、復号化後段のフィルタ処理を実行しないように制御する際に、ストリーム上のフィルタ強度に関する情報を解析して、このフィルタ強度に基づいて、復号化後段のフィルタ処理の強度を変更することで、最適な画質で再生することが可能となる。   As described above, it is determined whether or not the stream or the stream storing data is a stream that has been filtered within the decoding method. If the filtering process is being executed within the decoding method, the decoding is performed. When performing control so that the subsequent filtering process is not performed, the information on the filter strength on the stream is analyzed, and the strength of the filtering processing in the subsequent decoding process is changed based on this filter strength, so that the optimum image quality can be obtained. Can be played.

(実施の形態4)
実施の形態3では、フィルタ処理部403におけるデブロックフィルタ処理の強度をスライス単位で変更しているが、本実施の形態では、デブロックフィルタ処理の強度をブロック単位で変更する場合について説明する。
(Embodiment 4)
In the third embodiment, the strength of the deblocking filter process in the filter processing unit 403 is changed in units of slices, but in this embodiment, a case where the strength of the deblocking filter process is changed in units of blocks will be described.

図8は、本発明の実施の形態4に係る画像再生装置の構成を示すブロック図である。なお、上記実施の形態3に係る画像再生装置の構成と同様の部分については、同じ符号を付し、説明を省略する。   FIG. 8 is a block diagram showing a configuration of an image reproduction apparatus according to Embodiment 4 of the present invention. Note that portions similar to those in the configuration of the image reproduction device according to Embodiment 3 are given the same reference numerals, and descriptions thereof are omitted.

本実施の形態の画像再生装置500は、図8に示すように、実施の形態3のフィルタ強度判定部401に替えて、量子化情報解析部501を備えている。また、フィルタ強度変更部502の動作が相違する。また、ストリーム解析部404は、識別信号およびフィルタ強度に関するオフセット値を量子化情報解析部501に出力する。   As shown in FIG. 8, the image reproduction device 500 according to the present embodiment includes a quantization information analysis unit 501 instead of the filter strength determination unit 401 according to the third embodiment. Further, the operation of the filter strength changing unit 502 is different. Further, the stream analysis unit 404 outputs an offset value related to the identification signal and the filter strength to the quantization information analysis unit 501.

量子化情報解析部501は、第1の復号化部102から復号化結果に基づく、デブロックフィルタ処理の対象となる2つのブロックのQP値(量子化パラメータ)の平均値、およびBs値を取得する。例えば、第1の復号化部102のデブロックフィルタの強度レベルを0〜20であると仮定した場合、量子化情報解析部501は、フィルタ強度信号、QP値の平均値、およびBs値に基づいて、強度レベルが0〜20の中のいくらであるかを算出し、算出した強度レベルをフィルタ強度変更部502に通知する。   The quantization information analysis unit 501 obtains an average value and Bs value of QP values (quantization parameters) of two blocks to be subjected to deblocking filter processing based on the decoding result from the first decoding unit 102. To do. For example, assuming that the strength level of the deblocking filter of the first decoding unit 102 is 0 to 20, the quantization information analysis unit 501 is based on the filter strength signal, the average value of the QP values, and the Bs value. The intensity level is calculated from 0 to 20, and the calculated intensity level is notified to the filter intensity changing unit 502.

フィルタ強度変更部502は、量子化情報解析部501から通知された強度レベルに基づいて、例えば図9(a)に示す直線11または直線12ようにフィルタ処理部403のフィルタ強度をブロック単位に決定し、決定したフィルタ強度でフィルタ処理を実行するように制御する。ここで、図9に示す例ではフィルタ処理部403のフィルタ強度レベルを0〜20(この場合、フィルタ係数値を20パターン規定)と仮定している。   Based on the strength level notified from the quantization information analysis unit 501, the filter strength changing unit 502 determines the filter strength of the filter processing unit 403 in units of blocks such as the straight line 11 or the straight line 12 illustrated in FIG. Then, control is performed so that the filter processing is executed with the determined filter strength. Here, in the example shown in FIG. 9, it is assumed that the filter strength level of the filter processing unit 403 is 0 to 20 (in this case, the filter coefficient value is 20 patterns).

次に、上記のように構成された画像再生装置500の動作について説明する。
図10は実施の形態4の画像再生装置の動作の流れを示すフローチャートである。なお、ストリーム判別部101によるストリームの判別処理(ステップS101)からフィルタ処理部104によるフィルタ処理を実行処理(ステップS107)については、実施の形態1と同様であるので説明を省略する。
Next, the operation of the image reproduction device 500 configured as described above will be described.
FIG. 10 is a flowchart showing an operation flow of the image reproduction apparatus according to the fourth embodiment. Note that the stream discrimination processing (step S101) by the stream discrimination unit 101 to the execution processing (step S107) of the filter processing by the filter processing unit 104 are the same as those in the first embodiment, and thus description thereof is omitted.

ストリーム解析部404は、デブロックフィルタ処理がONであると判定した場合(ステップS106でYes)、ストリームのスライスヘッダに含まれるフィルタ強度に関するオフセット値を抽出する(ステップS201)。そして、ストリーム解析部404は、デブロックフィルタ処理がONであることを示す識別信号およびオフセット値を量子化情報解析部501へ出力する。量子化情報解析部501は、デブロックフィルタ処理がONであることを示す識別信号およびオフセット値を受け取った場合には、第1の復号化部102からデブロックフィルタ処理の対象となる2つのブロックのQP値の平均値、およびBs値を取得する(ステップS301)。次に、量子化情報解析部501は、フィルタ強度信号、QP値の平均値、およびBs値に基づいて、強度レベルが0〜20の中のいくらであるかを算出し、算出した強度レベルをフィルタ強度信号としてフィルタ強度変更部502に通知する(ステップS302)。そして、フィルタ強度変更部502は、量子化情報解析部501から通知された強度レベルに基づいて、フィルタ処理部403のフィルタ強度をブロック単位に決定し、決定したフィルタ強度でフィルタ処理を実行するように制御する(ステップS303)。   If the stream analysis unit 404 determines that the deblocking filter process is ON (Yes in step S106), the stream analysis unit 404 extracts an offset value related to the filter strength included in the slice header of the stream (step S201). Then, the stream analysis unit 404 outputs an identification signal indicating that the deblocking filter process is ON and an offset value to the quantization information analysis unit 501. When the quantization information analysis unit 501 receives the identification signal and the offset value indicating that the deblocking filter process is ON, the two blocks to be subjected to the deblocking filter process from the first decoding unit 102 The average value of the QP values and the Bs value are acquired (step S301). Next, the quantization information analysis unit 501 calculates how much the intensity level is from 0 to 20 based on the filter intensity signal, the average value of the QP values, and the Bs value, and calculates the calculated intensity level. The filter strength change unit 502 is notified as a filter strength signal (step S302). Then, the filter strength changing unit 502 determines the filter strength of the filter processing unit 403 in units of blocks based on the strength level notified from the quantization information analyzing unit 501, and executes the filter processing with the determined filter strength. (Step S303).

次に、対象ピクチャのすべてのブロックについて処理が終了したか否かを判定する(ステップS304)。ここで、すべてのブロックについて処理が終了していなければ(ステップS304でNo)、次のデブロックフィルタ処理の対象となる2つのブロックのQP値の平均値、およびBs値を取得し、以下、上記と同様の処理を繰り返す(ステップS301〜S304)。一方、すべてのブロックについて処理が終了していれば(ステップS304でYes)、すべてのピクチャについて処理が終了したか否かを判定する(ステップS109)。以降の処理については、実施の形態1と同様である。   Next, it is determined whether or not processing has been completed for all blocks of the target picture (step S304). Here, if the processing has not been completed for all the blocks (No in step S304), the average value of the QP values of the two blocks to be subjected to the next deblocking filter processing and the Bs value are acquired. The same processing as above is repeated (steps S301 to S304). On the other hand, if the processing has been completed for all the blocks (Yes in step S304), it is determined whether or not the processing has been completed for all the pictures (step S109). The subsequent processing is the same as in the first embodiment.

なお、本実施の形態では、量子化情報解析部501は、フィルタ強度信号、QP値の平均値、およびBs値に基づいて、強度レベルを算出し、算出した強度レベルをフィルタ強度変更部502に通知しているが、これに限られるものではない。例えば、量子化情報解析部501は、強度レベルの算出を行わず、取得したQP値の平均値またはBs値をフィルタ強度変更部502に通知する。そして、フィルタ強度変更部502が、量子化情報解析部501から通知されたQP値の平均値またはBs値に基づいて、例えば図9(b)、(c)に示す直線13、直線14、直線15、または直線16のようにフィルタ処理部403のフィルタ強度をブロック単位に決定し、決定したフィルタ強度でフィルタ処理を実行するように制御しても構わない。この場合、図9に示す横軸はQP値の平均値またはBs値であるものとする。   In the present embodiment, the quantization information analysis unit 501 calculates the intensity level based on the filter intensity signal, the average value of the QP values, and the Bs value, and sends the calculated intensity level to the filter intensity changing unit 502. This is notified, but is not limited to this. For example, the quantization information analysis unit 501 notifies the filter strength changing unit 502 of the average value or Bs value of the acquired QP values without calculating the strength level. Then, based on the average value or Bs value of the QP values notified from the quantization information analysis unit 501, the filter strength changing unit 502, for example, the straight line 13, the straight line 14, and the straight line illustrated in FIGS. Alternatively, the filter strength of the filter processing unit 403 may be determined in units of blocks as indicated by 15 or the straight line 16, and the filter processing may be executed with the determined filter strength. In this case, the horizontal axis shown in FIG. 9 is an average value of QP values or a Bs value.

また、本実施の形態では、量子化情報解析部501は、フィルタ強度信号、QP値の平均値、およびBs値に基づいて、強度レベルをブロック単位に算出しているが、これに限られるものではない。例えば、量子化情報解析部501は、取得したQP値およびBs値のピクチャでの平均値を求め、この平均値に基づいてピクチャでの強度レベルを算出しても構わない。この場合、フィルタ強度変更部502は、フィルタ処理部403のフィルタ強度をピクチャ単位に決定し、決定したフィルタ強度でフィルタ処理を実行するように制御することになる。   In the present embodiment, the quantization information analysis unit 501 calculates the intensity level in units of blocks based on the filter intensity signal, the average value of the QP values, and the Bs value. However, the present invention is not limited to this. is not. For example, the quantization information analysis unit 501 may obtain an average value of the acquired QP value and Bs value in the picture, and calculate an intensity level in the picture based on the average value. In this case, the filter strength changing unit 502 determines the filter strength of the filter processing unit 403 for each picture and performs control so that the filter processing is executed with the determined filter strength.

以上のように、ストリームまたはストリームを格納したデータから、復号化方式内部でフィルタ処理が施されたストリームか否かを判定し、復号化方式内部でフィルタ処理が実行されている場合は、復号化後段のフィルタ処理を実行しないように制御する際に、復号化時の情報を解析して、ブロック単位に復号化後段のフィルタ処理の強度を変更することで、最適な画質で再生することが可能となる。   As described above, it is determined whether or not the stream or the stream storing data is a stream that has been filtered within the decoding method. If the filtering process is being executed within the decoding method, the decoding is performed. When performing control so that the subsequent filtering process is not performed, it is possible to reproduce the image with the optimum image quality by analyzing the information at the time of decoding and changing the strength of the filtering process after the decoding in block units. It becomes.

(実施の形態5)
実施の形態1では、フィルタ処理部104におけるデブロックフィルタ処理を2つのフラグに基づいて制御しているが、本実施の形態では、他の条件を用いて制御する場合について説明する。
(Embodiment 5)
In the first embodiment, the deblock filter processing in the filter processing unit 104 is controlled based on two flags, but in the present embodiment, a case where control is performed using other conditions will be described.

図11は、本発明の実施の形態5に係る画像再生装置の構成を示すブロック図である。なお、上記実施の形態1に係る画像再生装置の構成と同様の部分については、同じ符号を付し、説明を省略する。   FIG. 11 is a block diagram showing a configuration of an image reproduction apparatus according to Embodiment 5 of the present invention. Note that portions similar to those in the configuration of the image reproduction device according to Embodiment 1 are given the same reference numerals, and descriptions thereof are omitted.

本実施の形態の画像再生装置600は、図11に示すように、実施の形態1の構成に加えて集計部601を備えている。なお、ストリーム解析部105は、デブロックフィルタ処理がONであるかOFFであるかを示す識別信号を集計部601へ出力する。   As shown in FIG. 11, the image reproduction device 600 of this embodiment includes a totaling unit 601 in addition to the configuration of the first embodiment. The stream analysis unit 105 outputs an identification signal indicating whether the deblocking filter process is ON or OFF to the counting unit 601.

集計部601は、デブロックフィルタ処理がONであることを識別信号が示す場合に、第1の復号化部102からブロック単位に、第1の復号化部102内部でデブロックフィルタ処理されているか否かのフィルタ処理情報を取得する。また、集計部601は、フィルタ処理情報を用いてデブロックフィルタ処理されているブロックの数をピクチャごとにカウントし、所定の閾値以上の場合に、そのピクチャをデブロックフィルタ処理が行われていると判定する。   When the identification signal indicates that the deblocking filter process is ON, the totaling unit 601 is deblocking filtered within the first decoding unit 102 from the first decoding unit 102 in units of blocks. Get negative filtering information. Further, the counting unit 601 counts the number of blocks that have been deblocked using the filter processing information for each picture, and the deblocking filter process is performed on the picture if the count is equal to or greater than a predetermined threshold. Is determined.

フィルタ処理判定部106は、デブロックフィルタ処理が行われていると判定された場合は、フィルタ処理部104のフィルタ処理を実行せず、デブロックフィルタ処理が行われていないと判定された場合は、フィルタ処理を実行するようにフィルタ処理部104の制御を行う。   When it is determined that the deblocking filter process is being performed, the filter processing determining unit 106 does not execute the filtering process of the filter processing unit 104 and when it is determined that the deblocking filter process is not being performed. Then, the filter processing unit 104 is controlled to execute the filter processing.

なお、本実施の形態では、集計部601は、第1の復号化部102から第1の復号化部102内部でデブロックフィルタ処理されているか否かのフィルタ処理情報を取得しているが、これに限られるものではない。例えば、集計部601は、第1の復号化部102からブロック単位にBs値を取得し、Bs値が0より大きいブロックの数をピクチャごとにカウントし、所定の閾値以上の場合に、そのピクチャをデブロックフィルタ処理が行われていると判定しても構わない。また、集計部601は、第1の復号化部102からブロック単位にQP値を取得し、このQP値を加算してピクチャごとに平均値を算出し、この平均値が所定の閾値以上の場合に、デブロックフィルタ処理が行われているブロック数が多いと推定して、そのピクチャをデブロックフィルタ処理が行われていると判定しても構わない。   In the present embodiment, the aggregation unit 601 obtains the filter processing information indicating whether or not the deblocking filter processing is performed inside the first decoding unit 102 from the first decoding unit 102. It is not limited to this. For example, the totaling unit 601 acquires the Bs value from the first decoding unit 102 in units of blocks, counts the number of blocks having a Bs value greater than 0 for each picture, and if the value is equal to or greater than a predetermined threshold, the picture It may be determined that the deblocking filter process is being performed. Further, the totaling unit 601 obtains a QP value for each block from the first decoding unit 102, calculates the average value for each picture by adding the QP value, and the average value is equal to or greater than a predetermined threshold value. In addition, it may be determined that the number of blocks on which the deblocking filter processing is performed is large, and it is determined that the deblocking filter processing is performed on the picture.

また、本実施の形態では、ストリーム解析部105を備え、デブロックフィルタ処理がONであることを識別信号が示す場合に、集計部601は、ブロック単位にフィルタ処理情報を取得しているが、これに限られるものではない。例えば、ストリーム解析部105を備えず、集計部601は、常にブロック単位にフィルタ処理情報を取得しても構わない。   Further, in this embodiment, when the identification signal indicates that the stream analysis unit 105 is provided and the deblock filter processing is ON, the totaling unit 601 acquires the filter processing information in units of blocks. It is not limited to this. For example, the stream analysis unit 105 is not provided, and the aggregation unit 601 may always acquire the filter processing information in units of blocks.

以上のように、ストリームまたはストリームを格納したデータから、復号化方式内部でフィルタ処理が施されたストリームか否かを判定し、復号化方式内部でフィルタ処理が実行されている場合は、ブロック単位の復号化時の情報を解析した上で、復号化後段のフィルタ処理を実行しないようにピクチャ単位に制御することで、フィルタ処理を効率的に抑制し、画質劣化を回避することが可能となる。   As described above, it is determined whether or not the stream or the stream storing the stream is a stream that has been filtered within the decoding method. By analyzing the information at the time of decoding, and controlling in units of pictures so as not to execute the filtering process after decoding, it is possible to efficiently suppress the filtering process and avoid the deterioration of the image quality. .

なお、図1、図5、図6、図8、図11に示したブロック図の各機能ブロックは典型的には集積回路であるLSIとして実現される。このLSIは1チップ化されても良いし、複数チップ化されても良い。(例えばメモリ以外の機能ブロックが1チップ化されていても良い。)ここでは、LSIとしたが、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称されることもある。   Each of the functional blocks in the block diagrams shown in FIGS. 1, 5, 6, 8, and 11 is typically realized as an LSI that is an integrated circuit. This LSI may be made into one chip or a plurality of chips. (For example, the functional blocks other than the memory may be integrated into one chip.) Although the LSI is used here, it may be referred to as an IC, a system LSI, a super LSI, or an ultra LSI depending on the degree of integration.

また、集積回路化の手法はLSIに限るものではなく、専用回路又は汎用プロセサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサーを利用しても良い。   Further, the method of circuit integration is not limited to LSI, and implementation with a dedicated circuit or a general-purpose processor is also possible. An FPGA (Field Programmable Gate Array) that can be programmed after the manufacture of the LSI or a reconfigurable processor that can reconfigure the connection and setting of the circuit cells inside the LSI may be used.

さらには、半導体技術の進歩又は派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。バイオ技術の適応等が可能性としてありえる。   Further, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology. Biotechnology can be applied.

また、各機能ブロックのうち、データを格納するユニットだけ1チップ化せずに、別構成としても良い。   In addition, among the functional blocks, only the unit for storing data may be configured separately without being integrated into one chip.

本発明に係る画像表示装置および画像表示方法は、例えば、パーソナルコンピュータ、HDDレコーダ、DVDレコーダ等に適用でき、複数の方式で符号化されたストリームを再生する際に、最適な画質で視聴する用途として有用である。   The image display device and the image display method according to the present invention can be applied to, for example, a personal computer, an HDD recorder, a DVD recorder, and the like, and are used for viewing with optimum image quality when reproducing a stream encoded by a plurality of systems. Useful as.

本発明の実施の形態1に係る画像再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image reproduction apparatus which concerns on Embodiment 1 of this invention. 第1の復号化部の構成を示すブロック図である。It is a block diagram which shows the structure of a 1st decoding part. デブロックフィルタの強度を決定する際の閾値(α、β)を算出するためのテーブルを示す図である。It is a figure which shows the table for calculating the threshold value ((alpha), (beta)) at the time of determining the intensity | strength of a deblocking filter. 実施の形態1に係る画像再生装置の動作の流れを示すフローチャートである。3 is a flowchart showing a flow of operations of the image reproduction device according to the first embodiment. 本発明の実施の形態2に係る画像再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image reproduction apparatus which concerns on Embodiment 2 of this invention. 本発明の実施の形態3に係る画像再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image reproduction apparatus which concerns on Embodiment 3 of this invention. 実施の形態3に係る画像再生装置の動作の流れを示すフローチャートである。10 is a flowchart showing an operation flow of the image reproduction apparatus according to the third embodiment. 本発明の実施の形態4に係る画像再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image reproduction apparatus which concerns on Embodiment 4 of this invention. (a)第1の復号化部のデブロックフィルタの強度レベルとフィルタ処理部のフィルタ強度レベルとの関係を示す図、(b)QP値の平均値とフィルタ処理部のフィルタ強度レベルとの関係を示す図、(c)Bs値とフィルタ処理部のフィルタ強度レベルとの関係を示す図である。(A) The figure which shows the relationship between the intensity level of the deblocking filter of a 1st decoding part, and the filter intensity level of a filter process part, (b) The relationship between the average value of QP value and the filter intensity level of a filter process part (C) is a diagram showing the relationship between the Bs value and the filter strength level of the filter processing unit. 実施の形態4に係る画像再生装置の動作の流れを示すフローチャートである。14 is a flowchart showing a flow of operations of the image reproduction device according to the fourth embodiment. 本発明の実施の形態5に係る画像再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image reproduction apparatus which concerns on Embodiment 5 of this invention. H.264およびMPEG2の復号化処理が混在する画像再生装置の想定される構成を示すブロック図である。H. 2 is a block diagram illustrating an assumed configuration of an image reproduction apparatus in which H.264 and MPEG2 decoding processes are mixed. FIG.

符号の説明Explanation of symbols

100、300、400、500、600 画像再生装置
101 ストリーム判別部
102 第1の復号化部
103 第2の復号化部
104、302、403 フィルタ処理部
105、404 ストリーム解析部
106 フィルタ処理判定部
201 エントロピー復号化部
202 逆量子化部
203 逆直交変換部
204 動き補償部
205 画像合成部
206 デブロックフィルタ部
301 フィルタ処理選択部
401 フィルタ強度判定部
402、502 フィルタ強度変更部
501 量子化情報解析部
601 集計部
100, 300, 400, 500, 600 Image reproduction apparatus 101 Stream determination unit 102 First decoding unit 103 Second decoding unit 104, 302, 403 Filter processing unit 105, 404 Stream analysis unit 106 Filter processing determination unit 201 Entropy decoding unit 202 Inverse quantization unit 203 Inverse orthogonal transform unit 204 Motion compensation unit 205 Image synthesis unit 206 Deblock filter unit 301 Filter processing selection unit 401 Filter strength determination unit 402, 502 Filter strength change unit 501 Quantization information analysis unit 601 Aggregation Department

Claims (16)

符号化されたストリームを復号化して動画像を再生する画像再生装置であって、
ノイズを除去するためのフィルタ処理を内部に有する第1復号化方式で前記ストリームを復号化する第1復号化手段と、
ノイズを除去するためのフィルタ処理を内部に有さない第2復号化方式で前記ストリームを復号化する第2復号化手段と、
前記ストリームの符号化方式に応じて第1復号化手段または第2復号化手段によって復号化された動画像に対して、ノイズを除去するためのフィルタ処理を実行するフィルタ処理手段と、
前記第1復号化手段によって復号化される前記ストリームを解析することにより、前記第1復号化手段によって前記第1復号化方式内部でフィルタ処理されているか否かを前記ストリームの所定の単位で判定するストリーム解析手段と、
前記ストリーム解析手段の判定結果に基づいて、前記フィルタ処理手段におけるフィルタ処理を制御するフィルタ処理制御手段と
を備えることを特徴とする画像再生装置。
An image reproduction apparatus for reproducing a moving image by decoding an encoded stream,
First decoding means for decoding the stream by a first decoding method having a filter process for removing noise therein;
Second decoding means for decoding the stream by a second decoding method that does not have a filtering process for removing noise therein;
Filter processing means for performing filter processing for removing noise on the moving picture decoded by the first decoding means or the second decoding means in accordance with the stream encoding method;
By analyzing the stream decoded by the first decoding means, it is determined in a predetermined unit of the stream whether or not the first decoding means is filtering in the first decoding scheme. Stream analysis means to
An image reproduction apparatus comprising: a filter processing control unit that controls filter processing in the filter processing unit based on a determination result of the stream analysis unit.
前記フィルタ処理制御手段は、前記ストリーム解析手段の判定結果に基づいて、前記フィルタ処理手段におけるフィルタ処理を前記ストリームの所定の単位で制御する
ことを特徴とする請求項1記載の画像再生装置。
The image reproduction device according to claim 1, wherein the filter processing control unit controls the filter processing in the filter processing unit in a predetermined unit of the stream based on a determination result of the stream analysis unit.
前記画像再生装置は、さらに、
前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていると判定された場合、前記ストリームを構成するピクチャを分割したブロック単位に、前記第1復号化手段より前記第1復号化方式内部でフィルタ処理されているか否かのフィルタ処理情報を取得するフィルタ情報取得手段を備え、
前記フィルタ処理制御手段は、前記フィルタ情報取得手段によって取得された前記フィルタ処理情報に基づいて、前記フィルタ処理手段におけるフィルタ処理を前記ブロック単位で制御する
ことを特徴とする請求項1記載の画像再生装置。
The image playback device further includes:
When it is determined by the stream analysis means that the filtering process is performed inside the first decoding method, the first decoding method is used by the first decoding means in units of blocks obtained by dividing the pictures constituting the stream. Filter information acquisition means for acquiring filter processing information as to whether or not it is internally filtered,
The image reproduction according to claim 1, wherein the filter processing control unit controls the filter processing in the filter processing unit in units of blocks based on the filter processing information acquired by the filter information acquisition unit. apparatus.
前記フィルタ処理制御手段は、前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていると判定された場合、前記フィルタ処理手段におけるフィルタ処理を実行しないように制御し、前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていないと判定された場合、前記フィルタ処理手段におけるフィルタ処理を実行するように制御する
ことを特徴とする請求項1記載の画像再生装置。
The filter processing control unit controls the stream analysis unit so as not to execute the filter processing in the filter processing unit when it is determined by the stream analysis unit that filtering is performed within the first decoding scheme. 2. The image reproduction device according to claim 1, wherein when it is determined that the filtering process is not performed in the first decoding method, the filtering process in the filter processing unit is controlled.
前記第1復号化手段は、前記第1復号化方式での前記フィルタ処理としてブロックノイズを除去するためのフィルタ処理を有し、
前記フィルタ処理手段は、復号化された前記動画像に対してブロックノイズを除去するためのフィルタ処理を実行する
ことを特徴とする請求項1記載の画像再生装置。
The first decoding means has a filter process for removing block noise as the filter process in the first decoding method,
The image reproduction device according to claim 1, wherein the filter processing unit performs a filter process for removing block noise on the decoded moving image.
前記フィルタ処理手段は、復号化された前記動画像に対して複数種類のフィルタ処理を実行し、
前記フィルタ処理制御手段は、前記ストリーム解析手段の判定結果に基づいて、前記フィルタ処理手段における、前記第1復号化方式内部でフィルタ処理されている種類と同じ種類のフィルタ処理を制御する
ことを特徴とする請求項1記載の画像再生装置。
The filter processing means performs a plurality of types of filter processing on the decoded moving image,
The filter processing control means controls, based on the determination result of the stream analysis means, the same kind of filter processing as the type being filtered in the first decoding method in the filter processing means. The image reproducing apparatus according to claim 1.
前記画像再生装置は、さらに、
前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていると判定された場合、前記ストリームを解析してフィルタ強度を判定するフィルタ強度判定手段を備え、
前記フィルタ処理制御手段は、前記フィルタ強度判定手段によって判定されたフィルタ強度に応じて、前記フィルタ処理手段におけるフィルタ処理を制御する
ことを特徴とする請求項1記載の画像再生装置。
The image playback device further includes:
When it is determined by the stream analysis means that the filter processing is performed inside the first decoding method, the stream analysis means comprises filter strength determination means for analyzing the stream and determining filter strength,
The image reproduction apparatus according to claim 1, wherein the filter processing control unit controls the filter processing in the filter processing unit in accordance with the filter strength determined by the filter strength determination unit.
前記フィルタ処理制御手段は、前記フィルタ強度判定手段によって判定されたフィルタ強度が所定の閾値以上である場合、前記フィルタ処理手段におけるフィルタ処理を実行しないように制御し、前記フィルタ強度が所定の閾値以上でない場合、前記フィルタ処理手段におけるフィルタ処理を実行するように制御する
ことを特徴とする請求項7記載の画像再生装置。
The filter processing control means controls not to execute the filter processing in the filter processing means when the filter strength determined by the filter strength determination means is equal to or greater than a predetermined threshold, and the filter strength is equal to or greater than a predetermined threshold. If not, control is performed so as to execute filtering processing in the filtering processing means.
前記フィルタ処理制御手段は、前記フィルタ強度判定手段によって判定されたフィルタ強度に応じて、前記フィルタ処理手段におけるフィルタ処理のフィルタ強度を変更するように制御する
ことを特徴とする請求項7記載の画像再生装置。
The image according to claim 7, wherein the filter processing control unit performs control so as to change a filter strength of the filter processing in the filter processing unit in accordance with the filter strength determined by the filter strength determination unit. Playback device.
前記フィルタ処理制御手段は、前記フィルタ強度判定手段によって判定されたフィルタ強度に反比例するように、前記フィルタ処理手段におけるフィルタ処理のフィルタ強度を変更するように制御する
ことを特徴とする請求項9記載の画像再生装置。
The filter processing control means controls to change the filter strength of the filter processing in the filter processing means so as to be inversely proportional to the filter strength determined by the filter strength determination means. Image playback device.
前記画像再生装置は、さらに、
前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていると判定された場合、前記第1復号化手段より復号化時の量子化情報およびフィルタ強度情報の少なくとも1つを取得する量子化情報解析手段を備え、
前記フィルタ処理制御手段は、前記量子化情報解析手段によって取得された前記量子化情報および前記フィルタ強度情報の少なくとも1つに応じて、前記フィルタ処理手段におけるフィルタ処理のフィルタ強度を変更するように制御する
ことを特徴とする請求項1記載の画像再生装置。
The image playback device further includes:
A quantum that obtains at least one of quantization information and filter strength information at the time of decoding from the first decoding means when it is determined by the stream analysis means that filtering is performed within the first decoding scheme; Equipped with chemical information analysis means,
The filter processing control means controls to change the filter strength of the filter processing in the filter processing means according to at least one of the quantization information and the filter strength information acquired by the quantization information analysis means. The image reproducing apparatus according to claim 1, wherein:
前記フィルタ処理制御手段は、前記ストリームを構成するピクチャまたはスライス単位、または前記ピクチャを分割したブロック単位で、前記量子化情報および前記フィルタ強度情報の少なくとも1つに応じて、前記フィルタ処理手段におけるフィルタ処理のフィルタ強度を変更するように制御する
ことを特徴とする請求項11記載の画像再生装置。
The filter processing control means is a filter in the filter processing means according to at least one of the quantization information and the filter strength information in units of pictures or slices constituting the stream, or in units of blocks obtained by dividing the picture. The image reproduction device according to claim 11, wherein the control is performed so as to change a filter strength of the processing.
前記画像再生装置は、さらに、
前記ストリーム解析手段によって前記第1復号化方式内部でフィルタ処理されていると判定された場合、前記ストリームを構成するピクチャを分割したブロック単位に、前記第1復号化手段より、前記第1復号化方式内部でフィルタ処理されているか否かのフィルタ処理情報、復号化時の量子化情報、および復号化時のフィルタ強度情報の少なくとも1つを取得し、取得した前記フィルタ処理情報、前記量子化情報、および前記フィルタ強度情報の少なくとも1つを前記ストリームの所定の単位で集計する集計手段を備え、
前記フィルタ処理制御手段は、前記集計手段の集計結果に基づいて、前記フィルタ処理手段におけるフィルタ処理を前記ストリームの所定の単位で制御する
ことを特徴とする請求項1記載の画像再生装置。
The image playback device further includes:
When it is determined by the stream analysis means that the filtering process is performed inside the first decoding scheme, the first decoding means performs the first decoding by the block unit obtained by dividing the picture constituting the stream. At least one of filter processing information indicating whether or not filtering is performed within the scheme, quantization information at the time of decoding, and filter strength information at the time of decoding is acquired, and the acquired filter processing information and the quantization information And tally means for tallying at least one of the filter strength information in a predetermined unit of the stream,
The image reproduction apparatus according to claim 1, wherein the filter processing control unit controls the filter processing in the filter processing unit in a predetermined unit of the stream based on a totaling result of the totaling unit.
符号化されたストリームを復号化して動画像を再生する画像再生方法であって、
ノイズを除去するためのフィルタ処理を内部に有する第1復号化方式で前記ストリームを復号化する第1復号化ステップと、
ノイズを除去するためのフィルタ処理を内部に有さない第2復号化方式で前記ストリームを復号化する第2復号化ステップと、
前記ストリームの符号化方式に応じて第1復号化ステップまたは第2復号化ステップにおいて復号化された動画像に対して、ノイズを除去するためのフィルタ処理を実行するフィルタ処理ステップと、
前記第1復号化ステップにおいて復号化される前記ストリームを解析することにより、前記第1復号化ステップにおける前記第1復号化方式内部でフィルタ処理されているか否かを前記ストリームの所定の単位で判定するストリーム解析ステップと、
前記ストリーム解析ステップにおける判定結果に基づいて、前記フィルタ処理ステップにおけるフィルタ処理を制御するフィルタ処理制御ステップと
を含むことを特徴とする画像再生方法。
An image reproduction method for reproducing a moving image by decoding an encoded stream,
A first decoding step of decoding the stream by a first decoding method having a filter process for removing noise therein;
A second decoding step of decoding the stream by a second decoding method that does not have a filtering process for removing noise therein;
A filter processing step for executing a filter process for removing noise on the moving image decoded in the first decoding step or the second decoding step according to the encoding method of the stream;
By analyzing the stream decoded in the first decoding step, it is determined in a predetermined unit of the stream whether or not the filtering process is performed in the first decoding method in the first decoding step. Stream analysis step to perform,
An image reproduction method comprising: a filter processing control step for controlling the filter processing in the filter processing step based on the determination result in the stream analysis step.
符号化されたストリームを復号化して動画像を再生するためのプログラムであって、
ノイズを除去するためのフィルタ処理を内部に有する第1復号化方式で前記ストリームを復号化する第1復号化ステップと、
ノイズを除去するためのフィルタ処理を内部に有さない第2復号化方式で前記ストリームを復号化する第2復号化ステップと、
前記ストリームの符号化方式に応じて第1復号化ステップまたは第2復号化ステップにおいて復号化された動画像に対して、ノイズを除去するためのフィルタ処理を実行するフィルタ処理ステップと、
前記第1復号化ステップにおいて復号化される前記ストリームを解析することにより、前記第1復号化ステップにおける前記第1復号化方式内部でフィルタ処理されているか否かを前記ストリームの所定の単位で判定するストリーム解析ステップと、
前記ストリーム解析ステップにおける判定結果に基づいて、前記フィルタ処理ステップにおけるフィルタ処理を制御するフィルタ処理制御ステップとコンピュータに実行させる
ことを特徴とするプログラム。
A program for decoding an encoded stream and reproducing a moving image,
A first decoding step of decoding the stream by a first decoding method having a filter process for removing noise therein;
A second decoding step of decoding the stream by a second decoding method that does not have a filtering process for removing noise therein;
A filter processing step for executing a filter process for removing noise on the moving image decoded in the first decoding step or the second decoding step according to the encoding method of the stream;
By analyzing the stream decoded in the first decoding step, it is determined in a predetermined unit of the stream whether or not the filtering process is performed in the first decoding method in the first decoding step. Stream analysis step to perform,
A program that causes a computer to execute a filter processing control step that controls filter processing in the filter processing step based on a determination result in the stream analysis step.
符号化されたストリームを復号化して動画像を再生するための集積回路であって、
ノイズを除去するためのフィルタ処理を内部に有する第1復号化方式で前記ストリームを復号化する第1復号化手段と、
ノイズを除去するためのフィルタ処理を内部に有さない第2復号化方式で前記ストリームを復号化する第2復号化手段と、
前記ストリームの符号化方式に応じて第1復号化手段または第2復号化手段によって復号化された動画像に対して、ノイズを除去するためのフィルタ処理を実行するフィルタ処理手段と、
前記第1復号化手段によって復号化される前記ストリームを解析することにより、前記第1復号化手段によって前記第1復号化方式内部でフィルタ処理されているか否かを前記ストリームの所定の単位で判定するストリーム解析手段と、
前記ストリーム解析手段の判定結果に基づいて、前記フィルタ処理手段におけるフィルタ処理を制御するフィルタ処理制御手段と
を備えることを特徴とする集積回路。
An integrated circuit for decoding a coded stream and reproducing a moving image,
First decoding means for decoding the stream by a first decoding method having a filter process for removing noise therein;
Second decoding means for decoding the stream by a second decoding method that does not have a filtering process for removing noise therein;
Filter processing means for performing filter processing for removing noise on the moving picture decoded by the first decoding means or the second decoding means in accordance with the stream encoding method;
By analyzing the stream decoded by the first decoding means, it is determined in a predetermined unit of the stream whether or not the first decoding means is filtering in the first decoding scheme. Stream analysis means to
An integrated circuit comprising: filter processing control means for controlling filter processing in the filter processing means based on a determination result of the stream analysis means.
JP2005318897A 2005-11-01 2005-11-01 Image reproducing apparatus and method Pending JP2007129369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005318897A JP2007129369A (en) 2005-11-01 2005-11-01 Image reproducing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005318897A JP2007129369A (en) 2005-11-01 2005-11-01 Image reproducing apparatus and method

Publications (1)

Publication Number Publication Date
JP2007129369A true JP2007129369A (en) 2007-05-24

Family

ID=38151685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005318897A Pending JP2007129369A (en) 2005-11-01 2005-11-01 Image reproducing apparatus and method

Country Status (1)

Country Link
JP (1) JP2007129369A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008311951A (en) * 2007-06-14 2008-12-25 Sony Corp Image processor, and image processing method
WO2009093472A1 (en) * 2008-01-24 2009-07-30 Panasonic Corporation Dynamic image compression device
JP2009284331A (en) * 2008-05-23 2009-12-03 Canon Inc Decoding device and decoding method, and program
JP2010239438A (en) * 2009-03-31 2010-10-21 Toshiba Corp Image encoding distortion reduction apparatus, display and image encoding reduction method
JP2012120173A (en) * 2010-11-30 2012-06-21 Samsung Electronics Co Ltd Video processing apparatus and video processing method thereof
JP2012178713A (en) * 2011-02-25 2012-09-13 Jvc Kenwood Corp Image processing system, image processing method, and program
JP5528445B2 (en) * 2009-06-19 2014-06-25 三菱電機株式会社 Image encoding device, image decoding device, image encoding method, and image decoding method
JP2014220849A (en) * 2014-08-26 2014-11-20 ソニー株式会社 Image processing apparatus and method
JP2015188257A (en) * 2015-06-17 2015-10-29 ソニー株式会社 Image decoding device and method, recording medium, and program
JP2016178682A (en) * 2016-05-24 2016-10-06 ソニー株式会社 Image processing apparatus, method, and program
US9918108B2 (en) 2009-07-31 2018-03-13 Velos Media, Llc Image processing device and method
US9967593B2 (en) 2009-08-19 2018-05-08 Sony Corporation Image processing device and method

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4609457B2 (en) * 2007-06-14 2011-01-12 ソニー株式会社 Image processing apparatus and image processing method
JP2008311951A (en) * 2007-06-14 2008-12-25 Sony Corp Image processor, and image processing method
WO2009093472A1 (en) * 2008-01-24 2009-07-30 Panasonic Corporation Dynamic image compression device
US8532199B2 (en) 2008-01-24 2013-09-10 Panasonic Corporation Dynamic image compression device
US8326052B2 (en) 2008-05-23 2012-12-04 Canon Kabushiki Kaisha Apparatus, method, and computer-readable storage medium for decoding movie image data
JP2009284331A (en) * 2008-05-23 2009-12-03 Canon Inc Decoding device and decoding method, and program
JP4643723B2 (en) * 2009-03-31 2011-03-02 株式会社東芝 Image coding distortion reducing device, display device, and image coding reducing method
US8345765B2 (en) 2009-03-31 2013-01-01 Kabushiki Kaisha Toshiba Image coding distortion reduction apparatus and method
JP2010239438A (en) * 2009-03-31 2010-10-21 Toshiba Corp Image encoding distortion reduction apparatus, display and image encoding reduction method
JP5528445B2 (en) * 2009-06-19 2014-06-25 三菱電機株式会社 Image encoding device, image decoding device, image encoding method, and image decoding method
US9918108B2 (en) 2009-07-31 2018-03-13 Velos Media, Llc Image processing device and method
US11405652B2 (en) 2009-07-31 2022-08-02 Velos Media, Llc Image processing device and method
US10721494B2 (en) 2009-07-31 2020-07-21 Velos Media, Llc Image processing device and method
US9967593B2 (en) 2009-08-19 2018-05-08 Sony Corporation Image processing device and method
US10587899B2 (en) 2009-08-19 2020-03-10 Sony Corporation Image processing device and method
US10911786B2 (en) 2009-08-19 2021-02-02 Sony Corporation Image processing device and method
JP2012120173A (en) * 2010-11-30 2012-06-21 Samsung Electronics Co Ltd Video processing apparatus and video processing method thereof
JP2012178713A (en) * 2011-02-25 2012-09-13 Jvc Kenwood Corp Image processing system, image processing method, and program
JP2014220849A (en) * 2014-08-26 2014-11-20 ソニー株式会社 Image processing apparatus and method
JP2015188257A (en) * 2015-06-17 2015-10-29 ソニー株式会社 Image decoding device and method, recording medium, and program
JP2016178682A (en) * 2016-05-24 2016-10-06 ソニー株式会社 Image processing apparatus, method, and program

Similar Documents

Publication Publication Date Title
JP2007129369A (en) Image reproducing apparatus and method
JP2021072641A (en) Method for decoding video data
CN1946182B (en) Transcoder, recorder, and transcoding method
US11234005B2 (en) Device and method of video decoding with first and second decoding code
JPWO2006118288A1 (en) Moving picture coding method, moving picture decoding method and apparatus thereof
KR20190031604A (en) Television apparatus, mobile phone, reproduction device, camera and signal processing method
US11849124B2 (en) Device and method of video encoding with first and second encoding code
US8681877B2 (en) Decoding apparatus, decoding control apparatus, decoding method, and program
JP2009038501A (en) Decoding device and decoding method
JP2011199399A (en) Image processing apparatus and image processing method
JP2008283341A (en) Noise elimination device and noise elimination method of compressed coded image
JP2011250400A (en) Moving picture encoding apparatus and moving picture encoding method
US8559526B2 (en) Apparatus and method for processing decoded images
JP4813328B2 (en) Encoding apparatus, encoding method, and program
US20070274688A1 (en) Moving image playback apparatus, moving image playback method, and moving image recording medium
KR20100040479A (en) Method and apparatus for image encoding and decoding using serial 1-dimensional adaptive filters
JP3720035B2 (en) Variable length code decoding apparatus and variable length code decoding method
JP2005012641A (en) Block noise detecting device and block noise eliminating device using the same
JP2009146550A (en) Device and method for simultaneously recording and reproducing information data stream
JP2008154187A (en) Moving image encoding apparatus, and method thereof
US8687705B2 (en) Moving picture decoding device and moving picture decoding method
JP2011114369A (en) Image encoding and decoding apparatus
JP2009017509A (en) Apparatus and method for decoding images
US20070030584A1 (en) Compressed domain commercial detect/skip
JP4155905B2 (en) Image playback device