JP4556694B2 - Encoding apparatus and method, recording medium, program, and image processing system - Google Patents

Encoding apparatus and method, recording medium, program, and image processing system Download PDF

Info

Publication number
JP4556694B2
JP4556694B2 JP2005030319A JP2005030319A JP4556694B2 JP 4556694 B2 JP4556694 B2 JP 4556694B2 JP 2005030319 A JP2005030319 A JP 2005030319A JP 2005030319 A JP2005030319 A JP 2005030319A JP 4556694 B2 JP4556694 B2 JP 4556694B2
Authority
JP
Japan
Prior art keywords
block
encoding
divided
blocks
image data
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.)
Expired - Fee Related
Application number
JP2005030319A
Other languages
Japanese (ja)
Other versions
JP2006217479A5 (en
JP2006217479A (en
Inventor
眞介 新谷
哲二郎 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2005030319A priority Critical patent/JP4556694B2/en
Publication of JP2006217479A publication Critical patent/JP2006217479A/en
Publication of JP2006217479A5 publication Critical patent/JP2006217479A5/ja
Application granted granted Critical
Publication of JP4556694B2 publication Critical patent/JP4556694B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、符号化装置および方法、記録媒体、プログラム、並びに画像処理システに関し、特に、アナログデータのコピーを抑止する場合に用いて好適な符号化装置および方法、記録媒体、プログラム、並びに画像処理システに関する。 The present invention is an encoding apparatus and method, recording medium, program, and an image processing system, in particular, suitable coding apparatus and method used in the case to prevent a copy of the analog data, recording medium, program, and an image related to the processing system.

映像コンテンツ等の画像信号が記録されている一般的な記録媒体(例えば、DVD(Digital Versatile Disc)、VHS(Video Home System)等のカセット磁気テープ)が再生装置によって再生され、再生結果がアナログデータとしてテレビジョン受像機等に供給されている状況を想定した場合、テレビジョン受像機等に供給されるアナログデータを分岐して所定の記録装置に入力するようにすれば、映像コンテンツのコピーを作成することができる。   A general recording medium (for example, a cassette magnetic tape such as a DVD (Digital Versatile Disc) or VHS (Video Home System)) on which an image signal such as video content is recorded is reproduced by a reproduction device, and the reproduction result is analog data. Assuming that the data is supplied to a television receiver, the analog data supplied to the television receiver is branched and input to a predetermined recording device to create a copy of the video content. can do.

ただし、このようなコピー作成は著作権を侵害することがあるので、映像コンテンツ等の不正なコピーを抑止する方法が従来から提案されている。   However, since such a copy creation may infringe copyright, a method for preventing unauthorized copying of video content or the like has been proposed.

具体的には、再生装置が出力するアナログデータにスクランブル処理を施したり、アナログデータの出力を禁止したりする方法が提案されている(例えば、特許文献1参照)。   Specifically, methods have been proposed in which scramble processing is performed on analog data output from the playback device, or output of analog data is prohibited (see, for example, Patent Document 1).

上述した従来の方法によれば、アナログデータの不正コピーは抑止できる。しかしながら当該アナログデータが供給されるテレビジョン受像機等において正常な画像を表示することができなくなってしまうという課題があった。   According to the conventional method described above, illegal copying of analog data can be suppressed. However, there is a problem that a normal image cannot be displayed on a television receiver or the like to which the analog data is supplied.

そこで、本出願人は上述した課題を解決するために、アナログデータをディジタルデータに変換して符号化するに際し、位相ずれ等のアナログノイズに着目した符号化を行うことにより、復号化後の画質を劣化させる発明を既に出願済である(例えば、特許文献2参照)。
特開2001−245270号公報 特開2004−289685号公報
Therefore, in order to solve the above-described problems, the present applicant performs encoding by paying attention to analog noise such as a phase shift when encoding analog data into digital data, thereby decoding the image quality after decoding. An invention for degrading the above has already been filed (for example, see Patent Document 2).
JP 2001-245270 A Japanese Patent Application Laid-Open No. 2004-289685

特許文献1に記載された発明によれば、アナログデータの不正コピーは抑止できる。また、特許文献2に記載された発明によれば、当該アナログデータが供給されるテレビジョン受像機等において正常な画像を表示することができる。   According to the invention described in Patent Document 1, unauthorized copying of analog data can be suppressed. Further, according to the invention described in Patent Document 2, a normal image can be displayed on a television receiver or the like to which the analog data is supplied.

しかしながら、アナログデータの不正コピーを抑止する発明の探求は特許文献2に止まらず、上述した課題のさらに他の発明による解決が求められている。   However, the search for an invention that suppresses unauthorized copying of analog data is not limited to Patent Document 2, and a solution by the further invention of the above-described problem is demanded.

本発明はこのような状況に鑑みてなされたものであり、アナログデータをディジタル化して符号化し、その結果得られるディジタル符号化データを復号化する一連の処理を繰り返した場合、同様の符号化、復号化にも拘わらず、2回目以降の復号結果が劣化しているようにする。これにより、アナログデータのコピーを抑止できるようにするものである。   The present invention has been made in view of such a situation, when analog data is digitized and encoded, and when a series of processes for decoding the resulting digitally encoded data is repeated, similar encoding, It is ensured that the second and subsequent decoding results are degraded in spite of decoding. As a result, copying of analog data can be suppressed.

本発明の符号化装置は、画像データを所定の均一なサイズの基本ブロックに分割するブロック分割手段と、割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、分割ブロックにおける画像データの特徴を示す特徴量として、分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出手段と、基本ブロックの各分割ブロックに対して検出されたアクティビティに基づき、基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化手段と、基本ブロックが再ブロック化された再分割ブロック毎に画像データ符号化する符号化手段とを含Encoding apparatus of the present invention subdivides the image data and the block dividing means for dividing the basic blocks of a predetermined uniform size, each basic block is split into smaller uniform size of the divided blocks, the divided blocks Based on the feature quantity detection means that detects the activity indicating the variation in the pixel values of the pixels constituting the divided block and the activity detected for each divided block of the basic block For each block, the size of the divided block with the largest variation in pixel values among multiple divided blocks is reduced, and the size of other divided blocks is changed accordingly. and re-blocking means for re-blocked into blocks, subdivision of the basic block has been re-blocked Including an encoding means for encoding image data for each lock.

前記画像データには、ノイズが付加されているようにすることができる。   Noise can be added to the image data.

本発明の符号化装置は、入力された画像データにノイズを付加してブロック分割手段に出力するノイズ付加手段をさらに含むことができる。 The encoding apparatus of the present invention can further include noise adding means for adding noise to the input image data and outputting the added image data to the block dividing means .

前記画像データは、少なくとも1度符号化された後、復号化されているようにすることができる。   The image data may be decoded after being encoded at least once.

符号化手段は、ADRCを適用して、基本ブロックが再ブロック化された再分割ブロック毎に画像データ符号化するようにすることができる。 Encoding means applies the ADRC, the image data for each subdivision blocks basic block has been re-blocked may be adapted to encode.

符号化手段は、基本ブロックが再ブロック化された再分割ブロック毎に画像データ符号化した結果として得られる符号、および再ブロック化された不均一な再分割ブロックのサイズ少なくとも含む符号化データを出力するようすることができる。 The encoding means includes a code obtained as a result of encoding image data for each subdivision block in which the basic block has been reblocked , and encoded data including at least the size of the non-uniform subdivision block that has been reblocked Can be output.

本発明の符号化装置は、符号化手段から出力される符号化データを復号化する復号化手段をさらに含むことができる。 The encoding apparatus of the present invention can further include a decoding unit that decodes encoded data output from the encoding unit.

本発明の符号化方法は、画像データを所定の均一なサイズの基本ブロックに分割するブロック分割ステップと、割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、分割ブロックにおける画像データの特徴を示す特徴量として、分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出ステップと、基本ブロックの各分割ブロックに対して検出されたアクティビティに基づき、基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化ステップと、基本ブロックが再ブロック化された再分割ブロック毎に画像データ符号化する符号化ステップとを含Coding method of the present invention subdivides the image data and the block dividing step of dividing into basic blocks of a predetermined uniform size, each basic block is split into smaller uniform size of the divided blocks, the divided blocks Based on the feature amount detection step that detects the activity indicating the variation of the pixel values of the pixels constituting the divided block and the activity detected for each divided block of the basic block as the feature amount indicating the feature of the image data For each block, the size of the divided block with the largest variation in pixel values among multiple divided blocks is reduced, and the size of other divided blocks is changed accordingly. and re-blocking step of re-blocked into blocks, basic blocks reblocked Including an encoding step of encoding the image data for each subdivision blocks.

本発明の記録媒体は、画像データを所定の均一なサイズの基本ブロックに分割するブロック分割ステップと、分割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、分割ブロックにおける画像データの特徴を示す特徴量として、分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出ステップと、基本ブロックの各分割ブロックに対して検出されたアクティビティに基づき、基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化ステップと、基本ブロックが再ブロック化された再分割ブロック毎に画像データを符号化する符号化ステップとを含む処理を符号化装置のコンピュータに実行させるプログラムが記録されている。The recording medium of the present invention includes a block dividing step for dividing image data into basic blocks of a predetermined uniform size, and subdividing each divided basic block into smaller uniform size divided blocks, and image data in the divided blocks For each basic block, a feature amount detecting step for detecting an activity indicating a variation in pixel values of pixels constituting a divided block and an activity detected for each divided block of the basic block are used as the feature amount indicating the feature of each basic block. In addition, by reducing the size of the divided block having the largest variation in pixel values among the plurality of divided blocks and changing the size of the other divided blocks accordingly, the basic block is changed to a non-uniform re-divided block. The reblock step to reblock and the basic block is reblocked Program for executing the image data for each re-divided block processing including an encoding step of encoding the computer of the encoding device is recorded with.

本発明のプログラムは、画像データを所定の均一なサイズの基本ブロックに分割するブロック分割ステップと、分割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、分割ブロックにおける画像データの特徴を示す特徴量として、分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出ステップと、基本ブロックの各分割ブロックに対して検出されたアクティビティに基づき、基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化ステップと、基本ブロックが再ブロック化された再分割ブロック毎に画像データを符号化する符号化ステップとを含む処理を符号化装置のコンピュータに実行させる。The program of the present invention includes a block dividing step for dividing image data into predetermined uniform size basic blocks, and subdividing each divided basic block into smaller uniform size divided blocks, and image data in the divided blocks is divided. For each basic block, based on the feature amount detection step for detecting the activity indicating the variation of the pixel value of the pixels constituting the divided block and the activity detected for each divided block of the basic block as the feature amount indicating the feature By reducing the size of the divided block having the largest pixel value variation among the plurality of divided blocks and changing the size of the other divided blocks accordingly, the basic block is re-divided into non-uniform re-divided blocks. Reblocking step to block and basic block reblocked The image data to execute processing including an encoding step of encoding the computer of the encoding device for each subdivision blocks.

本発明の符号化装置、符号化方法、およびプログラムにおいては、画像データが所定の均一なサイズの基本ブロックに分割され、分割された各基本ブロックがさらに小さな均一なサイズの分割ブロックに細分化され、分割ブロックにおける画像データの特徴を示す特徴量として、分割ブロックを構成する画素の画素値のばらつきを示すアクティビティが検出され、基本ブロックの各分割ブロックに対して検出されたアクティビティに基づき、基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズが縮小され、これに伴ってその他の分割ブロックのサイズが変更されることにより、基本ブロックが不均一な再分割ブロックに再ブロック化され、基本ブロックが再ブロック化された再分割ブロック毎に画像データが符号化される。In the encoding apparatus, encoding method, and program of the present invention, image data is divided into basic blocks of a predetermined uniform size, and each divided basic block is further subdivided into divided blocks of a uniform size. The activity indicating the variation of the pixel values of the pixels constituting the divided block is detected as the feature quantity indicating the feature of the image data in the divided block, and the basic block is determined based on the activity detected for each divided block of the basic block. Each time, the size of the divided block with the largest pixel value variation among the plurality of divided blocks is reduced, and the size of the other divided blocks is changed accordingly. Subdivided blocks that are reblocked and the basic block is reblocked Image data is encoded.

本発明の画像処理システムは、符号化部が、画像データを所定の均一なサイズの基本ブロックに分割するブロック分割手段と、分割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、分割ブロックにおける画像データの特徴を示す特徴量として、分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出手段と、基本ブロックの各分割ブロックに対して検出されたアクティビティに基づき、基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化手段と、基本ブロックが再ブロック化された再分割ブロック毎に画像データを符号化する符号化手段とを含み、復号化部が、符号化部によって画像データが所定の再分割ブロックに分割されて再分割ブロック単位で符号化された結果である符号化データを分析する分析手段と、分析手段による分析結果に基づき、符号化データを再分割ブロック単位で復号化する復号化手段とを含む。In the image processing system according to the present invention, the encoding unit subdivides the image data into basic blocks having a predetermined uniform size, and subdivides each divided basic block into smaller uniform size divided blocks. The feature amount detecting means for detecting the activity indicating the variation of the pixel values of the pixels constituting the divided block as the feature amount indicating the feature of the image data in the divided block, and the activity detected for each divided block of the basic block For each basic block, the size of the divided block having the largest variation in pixel values among the plurality of divided blocks is reduced, and the size of the other divided blocks is changed accordingly. Re-blocking means to re-block into uniform sub-division blocks and basic blocks to re-block Encoding means for encoding image data for each divided subdivision block, and the decoding unit divides the image data into predetermined subdivision blocks by the encoding unit and encodes the subdivision block unit. Analyzing means for analyzing the encoded data that is the result of the analysis, and decoding means for decoding the encoded data in units of subdivision blocks based on the analysis result by the analyzing means.

本発明の画像処理システムにおいては、符号化部により、画像データが所定の均一なサイズの基本ブロックに分割され、分割された各基本ブロックがさらに小さな均一なサイズの分割ブロックに細分化され、分割ブロックにおける画像データの特徴を示す特徴量として、分割ブロックを構成する画素の画素値のばらつきを示すアクティビティが検出され、基本ブロックの各分割ブロックに対して検出されたアクティビティに基づき、基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズが縮小され、これに伴ってその他の分割ブロックのサイズが変更されることにより、基本ブロックが不均一な再分割ブロックに再ブロック化され、基本ブロックが再ブロック化された再分割ブロック毎に画像データが符号化される。また、復号化部により、符号化部によって画像データが所定の再分割ブロックに分割されて再分割ブロック単位で符号化された結果である符号化データが分析され、その分析結果に基づき、符号化データが再分割ブロック単位で復号化される。In the image processing system of the present invention, the encoding unit divides the image data into basic blocks of a predetermined uniform size, and each divided basic block is subdivided into smaller uniform size divided blocks. As a feature quantity indicating the feature of the image data in the block, an activity indicating a variation in pixel values of pixels constituting the divided block is detected, and for each basic block based on the activity detected for each divided block of the basic block. The size of the divided block having the largest pixel value variation among the plurality of divided blocks is reduced, and the size of the other divided blocks is changed accordingly, so that the basic block becomes a non-uniform re-divided block. An image for each subdivision block that has been reblocked and whose basic blocks have been reblocked Over data is encoded. Also, the decoding unit analyzes the encoded data that is the result of the image data being divided into predetermined subdivision blocks by the encoding unit and encoded in units of subdivision blocks, and based on the analysis result, the encoding data is encoded. Data is decoded in subdivided blocks.

本発明によれば、アナログデータをディジタル化して符号化し、その結果得られるディジタル符号化データを復号化する一連の処理を繰り返した場合、同様の符号化、復号化にも拘わらず、2回目以降の復号結果を劣化させることができる。よって、アナログデータのコピーを抑止することが可能となる。   According to the present invention, when analog data is digitized and encoded, and a series of processes for decoding the resulting digitally encoded data is repeated, the second and subsequent times are performed regardless of similar encoding and decoding. Can be degraded. Therefore, copying of analog data can be suppressed.

以下、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings.

図1は、本発明を適用した画像表示システムの構成例を示している。この画像表示システム1は、チューナ11等から入力されるアナログ画像信号Van0を符号化して記録メディア13に記録する符号化装置12、記録メディア13に記録されている符号化ディジタルデータVrd,0を読み出して再生する再生装置14、再生装置14から供給されるアナログ画像信号Van1を表示するディスプレイ15、再生装置14から供給されるアナログ画像信号Van1を符号化して記録媒体17に記録する符号化装置16、および号化装置16から供給されるアナログ画像信号Van2を表示するディスプレイ18から構成される。 FIG. 1 shows a configuration example of an image display system to which the present invention is applied. The image display system 1 includes an encoding device 12 that encodes an analog image signal V an0 input from a tuner 11 or the like and records the encoded image data on a recording medium 13, and encoded digital data V rd, 0 recorded on the recording medium 13. reproducing device 14 the reading and reproducing, codes to be recorded on the display 15, the playback apparatus 14 by encoding an analog image signal V an1 supplied from the recording medium 17 to display an analog image signal V an1 supplied from the reproducing apparatus 14 apparatus 16 consists of a display 18 for displaying an analog image signal V an2 supplied from and marks Goka device 16.

チューナ11は、例えばテレビジョン放送等を受信し、その結果得られるアナログ画像信号Van0を符号化装置12に出力する。 The tuner 11 receives a television broadcast, for example, and outputs an analog image signal V an0 obtained as a result to the encoding device 12.

符号化装置12は、チューナ11から入力されるアナログ画像信号Van0をディジタル化し、その結果得られるディジタル画像信号Vdg1,0を符号化部22−1に出力するアナログディジタル変換部(A/D)21、ディジタル画像信号Vdg1,0を符号化し、その結果得られる符号化ディジタル画像データVcd,0を記録部23に出力する符号化部22−1、および符号化ディジタル画像データVcd,0を記録メディア13に記録する記録部23から構成される。 The encoding device 12 digitizes the analog image signal V an0 input from the tuner 11 and outputs the resulting digital image signal V dg1,0 to the encoding unit 22-1 (A / D). ) 21, an encoding unit 22-1 that encodes the digital image signal V dg1,0 and outputs the resulting encoded digital image data V cd, 0 to the recording unit 23, and encoded digital image data V cd, The recording unit 23 is configured to record 0 on the recording medium 13.

記録メディア13および17は、例えば、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory)、DVDを含む)、光磁気ディスク(MD(Mini Disc)を含む)、もしくは半導体メモリなどからなる。   The recording media 13 and 17 include, for example, a magnetic disk (including a flexible disk), an optical disk (including a CD-ROM (Compact Disc-Read Only Memory) and a DVD), a magneto-optical disk (including an MD (Mini Disc)), Alternatively, it consists of a semiconductor memory or the like.

再生装置14は、記録メディア13から読み出されるディジタル符号化データVrd,0を復号化し、その結果得られるディジタル画像信号Vdg0をディジタルアナログ変換部32に出力する復号化部31−1、およびディジタル画像信号Vdg0をアナログ化し、その結果得られるアナログ画像信号Van1をディスプレイ15、および符号化装置16に出力するディジタルアナログ変換部(D/A)32から構成される。 The playback device 14 decodes the digital encoded data V rd, 0 read from the recording medium 13, and outputs a digital image signal V dg0 obtained as a result to the digital-analog converter 32, and a digital The image signal V dg0 is converted into an analog signal, and the resulting analog image signal V an1 is output from the display 15 and the digital / analog conversion section (D / A) 32 that outputs to the encoding device 16.

ディジタルアナログ変換部32においては、一般的なアナログディジタル変換回路の特性により、ディジタル画像信号Vdg0がアナログ化されるとき、その結果得られるアナログ画像信号Van1にアナログノイズ(ホワイトノイズと称される高周波成分が付加される歪み等)が生じる。 In the digital-analog conversion unit 32, when the digital image signal V dg0 is converted into an analog signal due to the characteristics of a general analog-digital conversion circuit, the analog image signal V an1 obtained as a result is converted into analog noise (referred to as white noise). Distortion or the like to which high-frequency components are added) occurs.

ここで、アナログ画像信号Van1に生じる高周波成分が付加される歪みについて、図2を参照して説明する。同図左側は、ディジタルアナログ変換部32におけるディジタルアナログ変換前のディジタル画像信号Vdg0の並列5画素の画素値を示しており、同一の画素値であるとする。ディジタルアナログ変換により高周波成分の歪みが付加されたアナログ画像信号Van1は、後段のアナログディジタル変換部41によってディジタル化されると、同図右側に示すように同一であった画素値に変動が生ずる。この変動に規則性はなく一律には定まらない。さらに、水平方向のみならず、垂直方向にも同様に高周波成分の歪みが付加される。以下、ディジタルアナログ変換とアナログディジタル変換を経て付加されるこの歪みもホワイトノイズと称する。 Here, the distortion to which the high frequency component generated in the analog image signal Van1 is added will be described with reference to FIG. The left side of the figure shows the pixel values of five parallel pixels of the digital image signal V dg0 before digital-analog conversion in the digital-analog conversion unit 32, and assume that the pixel values are the same. When the analog image signal V an1 to which high-frequency component distortion is added by digital-analog conversion is digitized by the analog-digital conversion unit 41 in the subsequent stage, fluctuations occur in the same pixel value as shown on the right side of the figure. . This change is not regular and not uniform. Further, distortion of high frequency components is similarly applied not only in the horizontal direction but also in the vertical direction. Hereinafter, this distortion added through digital-analog conversion and analog-digital conversion is also referred to as white noise.

図1に戻る。ディスプレイ15および17は、CRT(Cathode Ray Tube)またはLCD(Liquid Crystal Display)等から成り、入力されるアナログ画像信号に対応する画像を表示する。   Returning to FIG. The displays 15 and 17 are composed of a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display), or the like, and display an image corresponding to an input analog image signal.

符号化装置16は、再生装置14から入力されるアナログ画像信号Van1をディジタル化し、その結果得られるディジタル画像信号Vdg1を符号化部22−2に出力するアナログディジタル変換部41、ディジタル画像信号Vdg1を符号化し、その結果得られる符号化ディジタル画像データVcdを記録部44および復号化部31−2に出力する符号化部22−2、並びに符号化ディジタル画像データVcdを記録メディア17に記録するとともに、記録メディア17に記録されている符号化ディジタル画像データVrdを読み出して復号化部31−2に供給する記録部44から構成される。 The encoding device 16 digitizes the analog image signal V an1 input from the reproduction device 14 and outputs the resulting digital image signal V dg1 to the encoding unit 22-2, digital image signal 41 The encoding unit 22-2 that encodes V dg1 and outputs the resulting encoded digital image data V cd to the recording unit 44 and the decoding unit 31-2, and the encoded digital image data V cd to the recording medium 17 And a recording unit 44 that reads the encoded digital image data V rd recorded on the recording medium 17 and supplies the encoded digital image data V rd to the decoding unit 31-2.

さらに、符号化装置16は、符号化部22−2から供給される符号化ディジタル画像データVcdまたは記録部44から供給される符号化ディジタル画像データVrdを復号化し、その結果得られるディジタル画像信号Vdg2をディジタルアナログ変換部46に出力する復号化部31−2、およびディジタル画像信号Vdg2をアナログ化し、その結果得られるアナログ画像信号Van2をディスプレイ18に出力するディジタルアナログ変換部46から構成される。 Further, the encoding device 16 decodes the encoded digital image data V cd supplied from the encoding unit 22-2 or the encoded digital image data V rd supplied from the recording unit 44, and a digital image obtained as a result thereof From the decoding unit 31-2 that outputs the signal V dg2 to the digital-analog conversion unit 46 and the digital-analog conversion unit 46 that converts the digital image signal V dg2 into an analog signal and outputs the resulting analog image signal V an2 to the display 18 Composed.

なお、アナログディジタル変換部41から出力されるディジタル画像信号Vdg1は、ディジタル化される前のアナログ画像信号Van1に高周波成分の歪みが付加されていることに起因して、復号化部31−1から出力されたディジタル画像信号Vdg0に比較して画素値が僅かに変動した状態(すなわち、ノイズがのった状態)となる。 Note that the digital image signal V dg1 output from the analog-to-digital conversion unit 41 has a high-frequency component distortion added to the analog image signal V an1 before digitization, so that the decoding unit 31- Compared with the digital image signal V dg0 output from 1, the pixel value slightly fluctuates (that is, a state with noise).

また、アナログディジタル変換部41にノイズ付加部42を内蔵させ、意図的にディジタル化される前のアナログ画像信号Van1にアナログノイズ(ホワイトノイズに相当するノイズ)を付加した後、ディジタル化するようにしてもよい。 Further, a noise adding unit 42 is built in the analog-digital conversion unit 41, and after adding analog noise (noise corresponding to white noise) to the analog image signal Van1 before being intentionally digitized, it is digitized. It may be.

符号化装置12における符号化部22−1と符号化装置16における符号化部22−2は、同一の構成(後述)を有している。以下、符号化部22−1と符号化部22−2を個々に区別する必要がない場合、単に符号化部22と記述する。   The encoding unit 22-1 in the encoding device 12 and the encoding unit 22-2 in the encoding device 16 have the same configuration (described later). Hereinafter, when there is no need to distinguish between the encoding unit 22-1 and the encoding unit 22-2, they are simply referred to as the encoding unit 22.

また、再生装置14における復号化部31−1と符号化装置16における復号化部31−2も、同一の構成(後述)を有している。以下、復号化部31−1と復号化部31−2を個々に区別する必要がない場合、単に復号化部31と記述する。   Also, the decoding unit 31-1 in the playback device 14 and the decoding unit 31-2 in the encoding device 16 have the same configuration (described later). Hereinafter, when there is no need to distinguish between the decoding unit 31-1 and the decoding unit 31-2, they are simply referred to as the decoding unit 31.

次に画像表示システム1の動作について、図3を参照して説明する。この画像表示システム1は、原画像を符号化して復号化し、その結果得られる「1回目の符号化・復号化画像」を、再び符号化して復号化し、「2回目の符号化・復号化画像」を出力する。「1回目の符号化・復号化画像」と「2回目の符号化・復号化画像」の定義については以下のとおりである。   Next, the operation of the image display system 1 will be described with reference to FIG. The image display system 1 encodes and decodes an original image, and encodes and decodes a “first encoded / decoded image” obtained as a result, to obtain a “second encoded / decoded image”. Is output. The definitions of “first encoded / decoded image” and “second encoded / decoded image” are as follows.

すなわち、同図Aに示す原画像は、チューナ11から出力されるアナログ画像信号Van0に相当する。原画像を符号化して復号化した、同図Bに示す「1回目の符号化・復号化画像」は、再生装置14の復号化部31−1から出力されるディジタル画像信号Vdg0に相当する。同図Cに示す「1回目の符号化・復号化画像に歪みが付加された画像」は、再生装置14のディジタルアナログ変換部32から出力されるアナログ画像信号Van1に相当する。同図Dに示す「2回目の符号化・復号化画像」は、符号化装置16の復号化部31−2から出力されるディジタル画像信号Vdg2、あるいは記録メディア17を再生装置14の復号化部31−1によって復号化した結果のディジタル画像信号に相当する。 That is, the original image shown in FIG. A corresponds to the analog image signal Van0 output from the tuner 11. The “first encoded / decoded image” shown in FIG. B obtained by encoding and decoding the original image corresponds to the digital image signal V dg0 output from the decoding unit 31-1 of the playback device 14. . The “image in which distortion is added to the first encoded / decoded image” shown in FIG. 3C corresponds to the analog image signal Van1 output from the digital-analog conversion unit 32 of the playback device 14. The “second encoded / decoded image” shown in FIG. 4D is a digital image signal V dg2 output from the decoding unit 31-2 of the encoding device 16, or the recording device 17 is decoded by the reproduction device 14. This corresponds to the digital image signal resulting from decoding by the unit 31-1.

次に、符号化部22の詳細について説明する。図4は符号化部22の第1の構成例を示している。符号化部22の第1の構成例は、入力される画像を所定のサイズ(例えば、8×8画素等)のブロックに分割するブロック分割部61、各ブロックの特徴量(例えば、後述するアクティビティ等)を検出する特徴量検出部62、検出された特徴量に基づいて各ブロックをさらに4×4画素等に分割する再ブロック化部63、および再分割されたブロックを所定の方式(例えば、ADRC(Adaptive Dynamic Range Coding)、またはDCT(Discrete Cosine Transform)等)によってブロック符号化するブロック符号化部64から構成される。   Next, details of the encoding unit 22 will be described. FIG. 4 shows a first configuration example of the encoding unit 22. The first configuration example of the encoding unit 22 includes a block dividing unit 61 that divides an input image into blocks of a predetermined size (for example, 8 × 8 pixels), and a feature amount (for example, an activity described later). Etc.), a reblocking unit 63 that further divides each block into 4 × 4 pixels or the like based on the detected feature amount, and a predetermined method (for example, The block coding unit 64 performs block coding using ADRC (Adaptive Dynamic Range Coding) or DCT (Discrete Cosine Transform).

符号化部22の第1の構成例による動作について、符号化装置16の符号化部22−2を例とし、図5のフローチャートを参照して説明する。   The operation of the first configuration example of the encoding unit 22 will be described with reference to the flowchart of FIG. 5 using the encoding unit 22-2 of the encoding device 16 as an example.

まず始めにステップS1として、アナログディジタル変換部41のノイズ付加部42がディジタル化する前のアナログ画像信号Van1にノイズを付加する。ただし、ステップS1の処理は省略しても構わない。 First, as step S1, noise is added to the analog image signal Van1 before being digitized by the noise adding unit 42 of the analog-digital converting unit 41. However, the process of step S1 may be omitted.

ステップS2において、ブロック分割部61がアナログディジタル変換部41から入力されたディジタル画像信号Vdg1(ノイズが付加されている)を所定のサイズのブロックに分割して、特徴量検出部62に出力する。ステップS3において、特徴量検出部62がステップS2の処理で分割された各ブロックの特徴量を検出する。ステップS4において、再ブロック化部63が検出された特徴量に基づいて各ブロックを再分割する。このとき、再分割しないブロックが存在してもよい。 In step S 2, the block division unit 61 divides the digital image signal V dg1 (added with noise) input from the analog-digital conversion unit 41 into blocks of a predetermined size and outputs the blocks to the feature amount detection unit 62. . In step S3, the feature amount detector 62 detects the feature amount of each block divided in the process of step S2. In step S4, the reblocking unit 63 redivides each block based on the detected feature amount. At this time, there may be blocks that are not subdivided.

ステップS5において、ブロック符号化部64が、再分割されたブロックと再分割されていないブロックを所定の方式によってブロック符号化する。そして、ブロック符号化の結果得られる符号化ディジタル画像データVcd(各ブロックが再分割されたか否かを示す情報、各ブロックの画素最小値、各ブロックのダイナミックレンジ、および各ブロックの量子化コード等から成る)を後段に出力する。この後、この符号化ディジタル画像データVcdは、記録部44により記録メディア17に記録されたり、復号化部31−2によって復号化されたりする。以上で符号化部22の第1の構成例による動作説明を終了する。 In step S5, the block encoding unit 64 performs block encoding on the subdivided block and the non-subdivided block by a predetermined method. Then, encoded digital image data V cd obtained as a result of block encoding (information indicating whether each block has been subdivided, the minimum pixel value of each block, the dynamic range of each block, and the quantization code of each block) Are output to the subsequent stage. Thereafter, the encoded digital image data V cd is recorded on the recording medium 17 by the recording unit 44 or decoded by the decoding unit 31-2. This is the end of the description of the operation of the encoding unit 22 according to the first configuration example.

なお、符号化部22の他の構成例(第2および第3の構成例)とその動作については、図7以降を参照して後述する。   Note that other configuration examples (second and third configuration examples) and the operation of the encoding unit 22 will be described later with reference to FIG.

次に、符号化部22による符号化に対応する復号化を行う復号化部31について説明する。図6は復号化部31の構成例を示している。復号化部31は、前段から入力される符号化ディジタル画像データVcdに基づいて、復号化すべきブロックのサイズを判定するブロックサイズ判定部71、および判定されたブロックサイズに対応して逆ブロック符号化(ブロック復号化)を行うブロック復号化部72から構成される。 Next, the decoding unit 31 that performs decoding corresponding to the encoding by the encoding unit 22 will be described. FIG. 6 shows a configuration example of the decoding unit 31. The decoding unit 31 includes a block size determination unit 71 that determines the size of a block to be decoded based on the encoded digital image data V cd input from the previous stage, and an inverse block code corresponding to the determined block size It comprises a block decoding unit 72 that performs (block decoding).

符号化部22の第1の構成例による動作に対応する復号化部31の動作について、符号化装置16の復号化部31−2を例として説明する。符号化部31−2には、符号化部22−2から符号化ディジタル画像データVcd(または記録部44によって記録メディア17から読み出される符号化ディジタル画像データVrd)が供給されているものとする。 The operation of the decoding unit 31 corresponding to the operation according to the first configuration example of the encoding unit 22 will be described using the decoding unit 31-2 of the encoding device 16 as an example. The encoding unit 31-2 is supplied with encoded digital image data V cd (or encoded digital image data V rd read from the recording medium 17 by the recording unit 44) from the encoding unit 22-2. To do.

まず、ブロックサイズ判定部71が、前段から供給された符号化ディジタル画像データVcdに基づいて、復号化すべきブロックを順次指定してそのサイズを判定し、判定結果と符号化ディジタル画像データVcdをブロック復号化部72に出力する。これに対応してブロック復号化部72が判定されたブロックサイズに対応して逆ブロック符号化(ブロック復号化)を行い、この結果得られるディジタル画像信号Vdg2を後段に出力する。このディジタル画像信号Vdg2が上述した「2回目の符号化・復号化画像」であって画質が劣化したものであるので、符号化装置16を用いてアナログ画像信号Van1をコピーしようとすることが抑止される。 First, the block size determination unit 71 sequentially specifies blocks to be decoded based on the encoded digital image data V cd supplied from the previous stage, determines the size thereof, and the determination result and the encoded digital image data V cd Is output to the block decoding unit 72. Corresponding to this, the block decoding unit 72 performs inverse block encoding (block decoding) corresponding to the determined block size, and outputs the resulting digital image signal V dg2 to the subsequent stage. Since this digital image signal V dg2 is the above-mentioned “second encoded / decoded image” and the image quality has deteriorated, the analog image signal V an1 is to be copied using the encoding device 16. Is suppressed.

次に、符号化部22の第2の構成例について図7を参照して説明する。この第2の構成例は、図4に示された第1の構成例をより詳細に示したものである。   Next, a second configuration example of the encoding unit 22 will be described with reference to FIG. This second configuration example shows the first configuration example shown in FIG. 4 in more detail.

符号化部22の第2構成例は、入力される画像を8×8画素のブロックに分割するブロック分割部61、各ブロックの特徴量としてアクティビティ(後述)を計算するアクティビティ計算部81を含む特徴量検出部62、算出されたアクティビティに基づいて各ブロックをさらに4×4画素に再分割する再ブロック化部63、および再分割されたブロックをADRCまたはDCT等によってブロック符号化するブロック符号化部64から構成される。   The second configuration example of the encoding unit 22 includes a block division unit 61 that divides an input image into 8 × 8 pixel blocks, and an activity calculation unit 81 that calculates an activity (described later) as a feature amount of each block. A quantity detection unit 62, a reblocking unit 63 that further subdivides each block into 4 × 4 pixels based on the calculated activity, and a block encoding unit that performs block encoding on the subdivided block by ADRC or DCT or the like 64.

再ブロック化部63は、画像を構成する全ブロックのうち、アクティビティの値が大きい方の上位25%に含まれるブロックを決定するブロックサイズ決定部82、上位25%に含まれるブロックをブロック再分割部84に出力し、上位25%に含まれないブロックをブロック符号化部64に出力するブロックサイズ判定部83、およびブロックサイズ判定部83から入力される上位25%に含まれるブロックを4×4画素に再分割してブロック符号化部64に出力するブロック再分割部84から構成される。   The reblocking unit 63 is a block size determining unit 82 that determines blocks included in the upper 25% of the blocks having the larger activity value among all blocks constituting the image, and block redividing the blocks included in the upper 25% A block size determination unit 83 that outputs a block not included in the upper 25% to the block encoding unit 64, and a block included in the upper 25% input from the block size determination unit 83. The block subdivision unit 84 is configured to subdivide into pixels and output to the block encoding unit 64.

符号化部22の第2の構成例による動作概要は図8に示すとおりである。すなわち、同図Aに示す原画像(符号化部22−2においてはアナログディジタル変換部41からのディジタル画像信号Vdg1)を、同図Bに示すように8×8画素のブロックに分割し、同図Cに示すように8×8画素の各ブロックに対してアクティビティを算出する(図9を参照して後述する)。 The outline of the operation of the encoding unit 22 according to the second configuration example is as shown in FIG. That is, the original image shown in FIG. A (the digital image signal V dg1 from the analog-digital converter 41 in the encoding unit 22-2) is divided into 8 × 8 pixel blocks as shown in FIG. Activity is calculated for each block of 8 × 8 pixels as shown in FIG. C (described later with reference to FIG. 9).

次に同図Dに示すようにアクティビティの値が大きい方の上位25%のブロックについては4×4画素に再分割し、最後に、同図Eに示すように上位25%のブロックについては4×4画素の再分割ブロックで、その他のブロックについてはそのまま(8×8画素)でADRCブロック符号化を行う。   Next, as shown in FIG. 4D, the upper 25% block with the larger activity value is subdivided into 4 × 4 pixels, and finally, as shown in FIG. The ADRC block encoding is performed with the subdivision block of × 4 pixels and the other blocks as they are (8 × 8 pixels).

ここで、アクティビティの算出方法について、図9を参照して説明する。図9は、アクティビティを算出するブロックのサイズをi×j画素(水平方向にi画素、垂直方向にj画素)とした例を示している。このブロックの左上の画素の画素値をLv1,1とし、この右隣の画素の画素値をLv2,1とする。他の画素の画素値についても同様である。このi×j画素ブロックのアクティビティActは、次式(1)を用いて算出される。 Here, an activity calculation method will be described with reference to FIG. FIG. 9 shows an example in which the size of the block for calculating the activity is i × j pixels (i pixels in the horizontal direction and j pixels in the vertical direction). The pixel value of the upper left pixel of this block is L v1,1, and the pixel value of the right adjacent pixel is L v2,1 . The same applies to the pixel values of other pixels. The activity Act of this i × j pixel block is calculated using the following equation (1).

Figure 0004556694
Figure 0004556694

式(1)から明らかなように、アクティビティは、ブロックに含まれる各画素とその上下左右に隣接する画素の画素値の差の総和の平均値であって、ブロックに属する画素の画素値のばらつきを示す値となる。ばらつきが大きければアクティビティの値は大きくなり、ばらつきが小さければアクティビティの値は小さくなる。   As is clear from equation (1), the activity is the average value of the sum of the differences between the pixel values of each pixel included in the block and the pixels adjacent to the top, bottom, left, and right, and the variation in the pixel values of the pixels belonging to the block Is a value indicating. If the variation is large, the activity value is large, and if the variation is small, the activity value is small.

なお、式(1)においては、注目する画素と上下左右の画素との画素値の差分を算出しているが、さらに注目する画素と斜め方向の画素との画素値の差分を算出するようにしてもよい。また、アクティビティの算出は、式(1)に限るものではなく、ブロックに属する画素の画素値のばらつきを示すものであればかまわない。   In Expression (1), the difference between the pixel values of the pixel of interest and the upper, lower, left, and right pixels is calculated. However, the difference between the pixel value of the pixel of interest and the diagonal pixel is further calculated. May be. Further, the activity calculation is not limited to the equation (1), and any activity may be used as long as it indicates variations in pixel values of pixels belonging to the block.

符号化部22の第2の構成例による動作について、符号化装置16の符号化部22−2を例とし、図10のフローチャートを参照して説明する。   The operation of the encoding unit 22 according to the second configuration example will be described with reference to the flowchart of FIG. 10 using the encoding unit 22-2 of the encoding device 16 as an example.

ステップS11において、ブロック分割部61がアナログディジタル変換部41から入力されたディジタル画像信号Vdg1(ノイズが付加されている)を8×8画素のブロックに分割する。ステップS12において、特徴量検出部62のアクティビティ計算部81が、ステップS11の処理で分割された各ブロックのアクティビティの値を算出する。 In step S11, the block division unit 61 divides the digital image signal V dg1 (added with noise) input from the analog-digital conversion unit 41 into 8 × 8 pixel blocks. In step S12, the activity calculation unit 81 of the feature amount detection unit 62 calculates the activity value of each block divided in the process of step S11.

ステップS13において、再ブロック化部63のブロックサイズ決定部82が、画像を構成する全ブロックのうち、アクティビティの値が大きい方の上位25%に含まれるブロックを決定し、ブロックサイズ判定部83が上位25%に含まれるブロックをブロック再分割部84に出力し、上位25%に含まれないブロックをブロック符号化部64に出力する。そして、ブロック再分割部84が上位25%に含まれるブロックを4×4画素に再分割してブロック符号化部64に出力する。   In step S13, the block size determination unit 82 of the reblocking unit 63 determines blocks included in the upper 25% of the larger activity values among all the blocks constituting the image, and the block size determination unit 83 Blocks included in the upper 25% are output to the block re-dividing unit 84, and blocks not included in the upper 25% are output to the block encoding unit 64. Then, the block re-dividing unit 84 re-divides the blocks included in the upper 25% into 4 × 4 pixels and outputs them to the block encoding unit 64.

ステップS14において、ブロック符号化部64が4×4画素に再分割されたブロック、または8×8画素のブロックをADRCを用いてブロック符号化する。そして、ブロック符号化の結果得られる符号化ディジタル画像データVcd(各ブロックが再分割されたか否かを示す情報、各ブロックの画素最小値、各ブロックのダイナミックレンジ、および各ブロックの量子化コード等から成る)を後段に出力する。この後、この符号化ディジタル画像データVcdは、記録部44により記録メディア17に記録されたり、復号化部31−2によって復号化されたりする。以上で、符号化部22の第2の構成例による動作説明を終了する。 In step S14, the block encoding unit 64 performs block encoding on the block subdivided into 4 × 4 pixels or the 8 × 8 pixel block using ADRC. Then, encoded digital image data V cd obtained as a result of block encoding (information indicating whether each block has been subdivided, the minimum pixel value of each block, the dynamic range of each block, and the quantization code of each block) Are output to the subsequent stage. Thereafter, the encoded digital image data V cd is recorded on the recording medium 17 by the recording unit 44 or decoded by the decoding unit 31-2. Above, description of operation | movement by the 2nd structural example of the encoding part 22 is complete | finished.

符号化部22の第2の構成例もよる動作に対応する復号化部31の動作について、図11を参照して説明する。ここでは、符号化装置16の復号化部31−2を例として説明する。符号化部31−2には、符号化部22−2から符号化ディジタル画像データVcd(または記録部44によって記録メディア17から読み出される符号化ディジタル画像データVrd)が供給されているものとする。 The operation of the decoding unit 31 corresponding to the operation by the second configuration example of the encoding unit 22 will be described with reference to FIG. Here, the decoding unit 31-2 of the encoding device 16 will be described as an example. The encoding unit 31-2 is supplied with encoded digital image data V cd (or encoded digital image data V rd read from the recording medium 17 by the recording unit 44) from the encoding unit 22-2. To do.

ステップS21において、ブロックサイズ判定部71が前段から供給された符号化ディジタル画像データVcdに基づいて、復号化すべきブロックを順次指定してそのサイズ(8×8、または4×4画素)を判定し、判定結果と符号化ディジタル画像データVcdをブロック復号化部72に出力する。復号化すべきブロックのサイズが4×4画素であると判定された場合、処理はステップS22に進み、復号化すべきブロックのサイズが8×8画素であると判定された場合、処理はステップS23に進む。 In step S21, the block size determination unit 71 sequentially designates blocks to be decoded based on the encoded digital image data V cd supplied from the previous stage and determines the size (8 × 8 or 4 × 4 pixels). Then, the determination result and the encoded digital image data V cd are output to the block decoding unit 72. If it is determined that the size of the block to be decoded is 4 × 4 pixels, the process proceeds to step S22. If it is determined that the size of the block to be decoded is 8 × 8 pixels, the process proceeds to step S23. move on.

ステップS22においては、ブロック復号化部72が4×4画素のブロックサイズに対応して逆ブロック符号化(ブロック復号化)を行い、この結果得られるディジタル画像信号Vdg2を後段に出力する。ステップS23においては、ブロック復号化部72が8×8画素のブロックサイズに対応して逆ブロック符号化を行い、この結果得られるディジタル画像信号Vdg2を後段に出力する。このディジタル画像信号Vdg2が上述した「2回目の符号化・復号化画像」であって画質が劣化したものであるので、符号化装置16を用いてアナログ画像信号Van1をコピーしようとすることが抑止される。 In step S22, the block decoding unit 72 performs inverse block encoding (block decoding) corresponding to the block size of 4 × 4 pixels, and outputs the resulting digital image signal V dg2 to the subsequent stage. In step S23, the block decoding unit 72 performs inverse block encoding corresponding to the block size of 8 × 8 pixels, and outputs the resulting digital image signal V dg2 to the subsequent stage. Since this digital image signal V dg2 is the above-mentioned “second encoded / decoded image” and the image quality has deteriorated, the analog image signal V an1 is to be copied using the encoding device 16. Is suppressed.

ここで、復号化部31−2から出力されるディジタル画像信号Vdg2(2回目の符号化・復号化画像)が、復号化部31−1から出力されるディジタル画像信号Vdg1(1回目の符号化・復号化画像)よりも画質が劣化したものであることについて説明する。 Here, the digital image signal V dg2 output from the decoding unit 31-2 (second encoding and decoding images), a digital image signal V dg1 (1 st output from the decoding unit 31-1 The fact that the image quality is deteriorated compared to the encoded / decoded image will be described.

図12は、2回目の符号化・復号化により画質が劣化するときの概要を示している。同図Aに示された原画像が1回目の符号化のとき、同図Bに示すようにアクティビティが大きい方の上位25%に属するブロックが再分割されるとして、再分割される右上の丸印で囲んだブロック(以下、対象ブロックと称する)を例に挙げて説明する。この対象ブロックを再分割するときの再分割後の4×4画素の4分割ブロックにラスタースキャン順に1,2,3,4の番号を与える。各分割ブロックに2ビットのADRCによるブロック符号化を行うものとする。また、実際の各分割ブロック内には16個の画素があるが、説明と図示の便宜上、4個の画素のみ図示している。   FIG. 12 shows an outline when image quality deteriorates due to the second encoding / decoding. When the original image shown in FIG. 11A is encoded for the first time, the blocks belonging to the upper 25% with the larger activity are subdivided as shown in FIG. A block surrounded by a mark (hereinafter referred to as a target block) will be described as an example. Numbers 1, 2, 3, and 4 are given in the raster scan order to the 4 × 4 pixel four-division block after re-division when the target block is sub-division. It is assumed that block coding by 2-bit ADRC is performed on each divided block. Further, although there are 16 pixels in each actual divided block, only 4 pixels are shown for convenience of explanation and illustration.

同図Cに示される原画像の画素値は、1回目の符号化・復号化後には同図Dに示される「1回目の符号化・復号化の画素値」となり、元信号に近い値が保持できる。ところが、1回目の符号化ではアクティビティの値が小さかったブロックでも、2回目の符号化に際して、ホワイトノイズが付加されることによりアクティビティの値が大きくなることがある。ホワイトノイズが付加された場合、1回目の符号化では4×4画素に再分割されたブロックが、2回目の符号化では再分割されないブロックと判定されることがある(同図E)。   The pixel value of the original image shown in Fig. C becomes "the pixel value of the first encoding / decoding" shown in Fig. D after the first encoding / decoding, and the value close to the original signal is Can hold. However, even if a block has a small activity value in the first encoding, the activity value may increase by adding white noise in the second encoding. When white noise is added, a block that is subdivided into 4 × 4 pixels in the first encoding may be determined to be a block that is not subdivided in the second encoding (E in the figure).

いま、対象ブロックが2回目の符号化のときには再分割されないブロックになったとする。ホワイトノイズにより同図Fに示される「1回目の符号化・復号化後の画素値に歪みが付加した画素値」は「1回目の符号化・復号化後の画素値」に微少な誤差が付加された画素値となる。この対象ブロックの画素値を再分割しないで、ブロック符号化を行い、それを復号化すると、同図Gに示される「2回目の符号化・復号化後の画素値」のようになる。   Now, it is assumed that the target block is a block that is not subdivided at the time of the second encoding. The “pixel value obtained by adding distortion to the pixel value after the first encoding / decoding” shown in FIG. F due to white noise has a slight error in the “pixel value after the first encoding / decoding”. This is the added pixel value. When block coding is performed without re-dividing the pixel value of the target block and decoding is performed, a “pixel value after second encoding / decoding” shown in FIG.

同図Gに示される「2回目の符号化・復号化後の画素値」と同図Cに示される「原画像の画素値」を比較して明らかなように、両者は大きく異なっている。このように、1回目の符号化で4×4画素に再分割してブロック符号化していたブロックを、2回目の符号化で再分割せずにブロック符号化すると、元信号から離れた値を有することになり、画像の劣化の原因となる。当然ながら、「2回目の符号化・復号化後の画素値」は、同図Dに示される「1回目の符号化・復号化後の画素値」と比較しても画質が劣化したものとなる。   As is clear by comparing the “pixel value after the second encoding / decoding” shown in FIG. 6G with the “pixel value of the original image” shown in FIG. C, the two are greatly different. In this way, if a block that has been subdivided into 4 × 4 pixels in the first encoding and block-encoded without being subdivided in the second encoding, a value separated from the original signal is obtained. This causes deterioration of the image. Naturally, the “pixel value after the second encoding / decoding” is the one in which the image quality is deteriorated even when compared with the “pixel value after the first encoding / decoding” shown in FIG. Become.

次に、符号化部22の第3の構成例について図13を参照して説明する。この第3の構成例は、図4に示された第1の構成例をより詳細に示したものである。   Next, a third configuration example of the encoding unit 22 will be described with reference to FIG. This third configuration example shows the first configuration example shown in FIG. 4 in more detail.

符号化部22の第3構成例は、入力される画像を6×6画素の基本ブロックに分割するブロック分割部61、各基本ブロックをさらに3×3画素の分割ブロックに分割する均等分割部91と各分割ブロックの特徴量としてアクティビティを計算するアクティビティ計算部92とを含む特徴量検出部62、算出された各分割ブロックのアクティビティに基づいて各基本ブロックを2×2、2×4、4×2、または4×4画素に再分割する再分割部93を含む再ブロック化部63、および再分割された分割ブロックをADRCまたはDCT等によってブロック符号化するブロック符号化部64から構成される。   The third configuration example of the encoding unit 22 includes a block dividing unit 61 that divides an input image into 6 × 6 pixel basic blocks, and an equal dividing unit 91 that further divides each basic block into 3 × 3 pixel divided blocks. A feature amount detection unit 62 including an activity calculation unit 92 that calculates an activity as a feature amount of each divided block, and 2 × 2, 2 × 4, 4 × each basic block based on the calculated activity of each divided block. A re-blocking unit 63 including a sub-dividing unit 93 that sub-divides into 2 or 4 × 4 pixels, and a block coding unit 64 that performs block coding of the sub-divided divided block by ADRC or DCT or the like.

符号化部22の第3の構成例による動作概要は図14に示すとおりである。すなわち、同図Aに示す原画像(符号化部22−2においてはアナログディジタル変換部41からのディジタル画像信号Vdg1)を、同図Bに示すように6×6画素の基本ブロックに分割し、同図Cに示す6×6画素の基本ブロックをさらに、同図Dに示すように3×3画素の分割ブロックに分割して、各分割ブロックに対してアクティビティを算出する(アクティビティの算出については、図9を参照して上述したとおりである)。 An outline of the operation of the third configuration example of the encoding unit 22 is as shown in FIG. That is, the original image shown in FIG. A (the digital image signal V dg1 from the analog-to-digital converter 41 in the encoding unit 22-2) is divided into basic blocks of 6 × 6 pixels as shown in FIG. The basic block of 6 × 6 pixels shown in FIG. 6C is further divided into 3 × 3 pixel divided blocks as shown in FIG. D, and the activity is calculated for each divided block (about activity calculation). Is as described above with reference to FIG.

次に同図Eに示すように、基本ブロックを構成する4つの分割ブロックのうち、アクティビティの値が最大であるものを決定して、同図Fに示すように、アクティビティの値が最大である分割ブロックのサイズを小さくするように、基本ブロックを再度分割し直す。そして、同図Gに示すように各分割ブロックに対してADRCブロック符号化を行う。   Next, as shown in FIG. 5E, among the four divided blocks constituting the basic block, the one having the maximum activity value is determined, and as shown in FIG. 5F, the activity value is maximum. The basic block is divided again so as to reduce the size of the divided block. Then, ADRC block coding is performed on each divided block as shown in FIG.

図15は、基本ブロックを再度分割し直す4通りのパターンを示している。例えば、基本ブロックを構成する4つの分割ブロック(3×3画素)のうち、左上のもののアクティビティの値が最大である場合、同図Aに示すように基本ブロックの左上に2×2画素の分割ブロックが、右下に4×4画素の分割ブロックが配置されるように再分割する。また例えば、基本ブロックを構成する4つの分割ブロックのうち、右上のもののアクティビティの値が最大である場合、同図Bに示すように基本ブロックの右上に2×2画素の分割ブロックが、左下に4×4画素の分割ブロックが配置されるように再分割する。   FIG. 15 shows four patterns for re-dividing the basic block. For example, when the activity value of the upper left of the four divided blocks (3 × 3 pixels) constituting the basic block is the maximum, as shown in FIG. The block is subdivided so that a divided block of 4 × 4 pixels is arranged at the lower right. Also, for example, when the activity value of the upper right one of the four divided blocks constituting the basic block is the maximum, a 2 × 2 pixel divided block is displayed at the upper right of the basic block as shown in FIG. Subdivision is performed so that 4 × 4 pixel division blocks are arranged.

符号化部22の第3の構成例による動作について、符号化装置16の符号化部22−2を例とし、図16のフローチャートを参照して説明する。   The operation of the third configuration example of the encoding unit 22 will be described with reference to the flowchart of FIG. 16, taking the encoding unit 22-2 of the encoding device 16 as an example.

ステップS31において、ブロック分割部61がアナログディジタル変換部41から入力されたディジタル画像信号Vdg1(ノイズが付加されている)を6×6画素の基本ブロックに分割して、特徴量検出部62に出力する。ステップS32において、特徴量検出部62の均等分割部91が基本ブロックをさらに3×3画素の基本ブロックに分割する。そして、ステップ33において、アクティビティ計算部92が各分割ブロックのアクティビティの値を算出する。 In step S <b> 31, the block dividing unit 61 divides the digital image signal V dg1 (with noise added) input from the analog / digital converting unit 41 into basic blocks of 6 × 6 pixels, and supplies the result to the feature amount detecting unit 62. Output. In step S32, the equal division unit 91 of the feature amount detection unit 62 further divides the basic block into basic blocks of 3 × 3 pixels. In step 33, the activity calculation unit 92 calculates the activity value of each divided block.

ステップS34において、再ブロック化部63の再分割部93が、算出されたアクティビティの値に基づいて、各基本ブロックを再分割する。ステップS35において、ブロック符号化部64が再分割ブロック(2×2、2×4、4×2、または4×4画素)をADRCを用いてブロック符号化する。そして、ブロック符号化の結果得られる符号化ディジタル画像データVcd(基本ブロックが図15に示された4通りのパターンのうち、いずれに再分割されているかを示す情報、各分割ブロックの画素最小値、各分割ブロックのダイナミックレンジ、および各分割ブロックの量子化コード等から成る)を後段に出力する。この後、この符号化ディジタル画像データVcdは、記録部44により記録メディア17に記録されたり、復号化部31−2によって復号化されたりする。以上で、符号化部22の第3の構成例による動作説明を終了する。 In step S34, the re-dividing unit 93 of the re-blocking unit 63 re-divides each basic block based on the calculated activity value. In step S35, the block encoding unit 64 performs block encoding on the re-divided block (2 × 2, 2 × 4, 4 × 2, or 4 × 4 pixels) using ADRC. Then, the encoded digital image data V cd obtained as a result of the block encoding (information indicating which of the four patterns shown in FIG. 15 the basic block is subdivided into, and the pixel minimum of each divided block) Value, dynamic range of each divided block, and quantization code of each divided block). Thereafter, the encoded digital image data V cd is recorded on the recording medium 17 by the recording unit 44 or decoded by the decoding unit 31-2. Above, description of operation | movement by the 3rd structural example of the encoding part 22 is complete | finished.

符号化部22の第3の構成例による動作に対応する復号化部31の動作について、図17を参照して説明する。ここでは、符号化装置16の復号化部31−2を例として説明する。符号化部31−2には、符号化部22−2から符号化ディジタル画像データVcd(または記録部44によって記録メディア17から読み出される符号化ディジタル画像データVrd)が供給されているものとする。 The operation of the decoding unit 31 corresponding to the operation of the third configuration example of the encoding unit 22 will be described with reference to FIG. Here, the decoding unit 31-2 of the encoding device 16 will be described as an example. The encoding unit 31-2 is supplied with encoded digital image data V cd (or encoded digital image data V rd read from the recording medium 17 by the recording unit 44) from the encoding unit 22-2. To do.

ステップS41において、ブロックサイズ判定部71が前段から供給された符号化ディジタル画像データVcdに基づいて、復号化すべき基本ブロックを順次指定してその再分割パターンを判定し、判定結果と符号化ディジタル画像データVcdをブロック復号化部72に出力する。ステップS42においては、ブロック復号化部72が分割ブロックのサイズに応じて逆ブロック符号化(ブロック復号化)を行い、この結果得られるディジタル画像信号Vdg2を後段に出力する。このディジタル画像信号Vdg2が上述した「2回目の符号化・復号化画像」であって画質が劣化したものであるので、符号化装置16を用いてアナログ画像信号Van1をコピーしようとすることが抑止される。 In step S41, based on the encoded digital image data V cd supplied from the previous stage, the block size determination unit 71 sequentially designates basic blocks to be decoded and determines the subdivision pattern. The determination result and the encoded digital The image data V cd is output to the block decoding unit 72. In step S42, the block decoding unit 72 performs inverse block encoding (block decoding) according to the size of the divided block, and outputs the resulting digital image signal V dg2 to the subsequent stage. Since this digital image signal V dg2 is the above-mentioned “second encoded / decoded image” and the image quality has deteriorated, the analog image signal V an1 is to be copied using the encoding device 16. Is suppressed.

ここで、復号化部31−2から出力されるディジタル画像信号Vdg2(2回目の符号化・復号化画像)が、復号化部31−1から出力されるディジタル画像信号Vdg1(1回目の符号化・復号化画像)よりも画質が劣化したものであることについて説明する。 Here, the digital image signal V dg2 output from the decoding unit 31-2 (second encoding and decoding images), a digital image signal V dg1 (1 st output from the decoding unit 31-1 The fact that the image quality is deteriorated compared to the encoded / decoded image will be described.

図18は、2回目の符号化・復号化により画質が劣化するときの概要を示している。同図Aに示された原画像が1回目の符号化のとき、同図Bに示すように各基本ブロックが再分割されるとして、このうち、右上の丸印で囲んだ基本ブロック(以下、対象基本ブロックと称する)を例に挙げて説明する。この対象基本ブロックを再分割するときの再分割後の4つの分割ブロックにラスタースキャン順に1,2,3,4の番号を与える。各分割ブロックに2ビットのADRCによるブロック符号化を行うものとする。また、実際の各分割ブロック内には、それぞれ4、8,8、または16個の画素があるが、説明と図示の便宜上、画素の数を省略して図示している。   FIG. 18 shows an outline when image quality deteriorates due to the second encoding / decoding. When the original image shown in FIG. A is encoded for the first time, each basic block is subdivided as shown in FIG. The target basic block) will be described as an example. Numbers 1, 2, 3, and 4 are given to the four divided blocks after re-division when the target basic block is sub-division in the raster scan order. It is assumed that block coding by 2-bit ADRC is performed on each divided block. Each actual divided block has 4, 8, 8, or 16 pixels, but the number of pixels is omitted for convenience of explanation and illustration.

同図Cに示される原画像の画素値は、1回目の符号化・復号化後には同図Dに示される「1回目の符号化・復号化の画素値」となり、元信号に近い値を保持できる。ところが、対象基本ブロックは、1回目の符号化では図15Aに示されたように再分割されたが、2回目の符号化に際して、ホワイトノイズが付加されることにより3×3画素に分割された分割ブロックのアクティビティの値が変化して、再分割のパターンが変化することがある。例えば、同図Eに示されるように、対象基本ブロックが2回目の符号化では図15Aに示されたように再分割されることがある。   The pixel value of the original image shown in FIG. C becomes the “pixel value of the first encoding / decoding” shown in FIG. D after the first encoding / decoding, and is close to the original signal. Can hold. However, the target basic block was subdivided as shown in FIG. 15A in the first encoding, but was divided into 3 × 3 pixels by adding white noise in the second encoding. The activity value of the divided block may change, and the subdivision pattern may change. For example, as shown in FIG. 15E, the target basic block may be subdivided as shown in FIG. 15A in the second encoding.

この場合、ホワイトノイズにより同図Fに示される「1回目の符号化・復号化後の画素値に歪みが付加した画素値」は「1回目の符号化・復号化後の画素値」に微少な誤差が付加された画素値となる。この対象基本ブロックの画素値を1回目とは異なるパターンで再分割してブロック符号化を行い、それを復号化すると、同図Gに示される「2回目の符号化・復号化後の画素値」のようになる。   In this case, the “pixel value obtained by adding distortion to the pixel value after the first encoding / decoding” shown in FIG. F due to white noise is slightly smaller than the “pixel value after the first encoding / decoding”. It becomes a pixel value to which a simple error is added. When the pixel value of the target basic block is subdivided in a pattern different from the first time and block coding is performed and decoded, the pixel value after the second coding / decoding shown in FIG. "become that way.

同図Gに示される「2回目の符号化・復号化後の画素値」と同図Cに示される「原画像の画素値」を比較して明らかなように、両者は大きく異なっている。このように、1回目の符号化に際しての再分割パターンと、2回目の符号化に際しての再分割のパターンが変化すると、元信号から離れた値を有することになり、画像の劣化の原因となる。当然ながら、「2回目の符号化・復号化後の画素値」は、同図Dに示される「1回目の符号化・復号化後の画素値」と比較しても画質が劣化したものとなる。   As is clear by comparing the “pixel value after the second encoding / decoding” shown in FIG. 6G with the “pixel value of the original image” shown in FIG. C, the two are greatly different. In this way, if the subdivision pattern at the first encoding and the subdivision pattern at the second encoding change, it has a value away from the original signal, which causes image degradation. . Naturally, the “pixel value after the second encoding / decoding” is the one in which the image quality is deteriorated even when compared with the “pixel value after the first encoding / decoding” shown in FIG. Become.

以上説明したように、再生装置14から出力されるアナログ画像信号Van1にはディジタルアナログ変換時の特性により高周波成分の歪みが生じているが、これがディスプレイ15に表示されるときには、画質に何ら影響を及ぼすことはない。 As described above, the analog image signal V an1 output from the playback device 14 is distorted by high-frequency components due to the characteristics at the time of digital-analog conversion. Will not affect.

しかしながら、再生装置14から出力されるアナログ画像信号Van1が符号化装置16によって再度符号化された場合、復号化時に画質が劣化しているものとなるように符号化される、符号化装置16がアナログ画像信号をコピーする用途に適さないものとなる。 However, when the analog image signal V an1 output from the reproduction device 14 is encoded again by the encoding device 16, the encoding device 16 is encoded so that the image quality is deteriorated at the time of decoding. However, this is not suitable for the purpose of copying an analog image signal.

また、再生結果が劣化していることを承知の上で、符号化装置16によって符号化ディジタル画像データVcdが記録された記録メディア17を再生装置14等によって再生し、再生結果を符号化装置16によって再度符号化された場合、復号化時にさらに一層画質が劣化しているものとなる。よって、符号化装置16がアナログ画像信号の2回目以降のコピー用途に適さないものとなる。したがって、符号化装置16を用いたアナログデータのコピーが抑制されることになる。 In addition, with the knowledge that the reproduction result is deteriorated, the recording medium 17 on which the encoded digital image data V cd is recorded by the encoding device 16 is reproduced by the reproduction device 14 or the like, and the reproduction result is encoded. In the case of re-encoding by 16, the image quality is further deteriorated at the time of decoding. Therefore, the encoding device 16 is not suitable for the second and subsequent copying of the analog image signal. Therefore, copying of analog data using the encoding device 16 is suppressed.

ところで、上述した一連の処理は、ハードウェアにより実行させることもできるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば図19に示すように構成される汎用のパーソナルコンピュータなどに、記録媒体からインストールされる。   By the way, the series of processes described above can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, a general-purpose personal computer configured as shown in FIG. 19 is installed from the recording medium.

このパーソナルコンピュータ100は、CPU(Central Processing Unit)101を内蔵している。CPU101にはバス104を介して、入出力インタフェース105が接続されている。バス104には、ROM(Read Only Memory)102およびRAM(Random Access Memory)103が接続されている。   The personal computer 100 includes a CPU (Central Processing Unit) 101. An input / output interface 105 is connected to the CPU 101 via the bus 104. A ROM (Read Only Memory) 102 and a RAM (Random Access Memory) 103 are connected to the bus 104.

入出力インタフェース105には、ユーザが操作コマンドを入力するキーボード、マウス、等の入力デバイスよりなる入力部106、処理結果の映像等を表示するディスプレイよりなる出力部107、プログラムや各種データを格納するハードディスクドライブなどよりなる記憶部108、およびモデム、LAN(Local Area Network)アダプタなどよりなり、インタネットに代表されるネットワークを介した通信処理を実行する通信部109が接続されている。また、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM、DVDを含む)、光磁気ディスク(MDを含む)、もしくは半導体メモリなどの記録媒体111に対してデータを読み書きするドライブ110が接続されている。   The input / output interface 105 stores an input unit 106 including an input device such as a keyboard and a mouse for a user to input an operation command, an output unit 107 including a display for displaying a processing result image, and the like, and programs and various data. A storage unit 108 including a hard disk drive and a communication unit 109 that includes a modem, a LAN (Local Area Network) adapter, and the like and executes communication processing via a network represented by the Internet are connected. In addition, a drive 110 for reading / writing data from / to a recording medium 111 such as a magnetic disk (including a flexible disk), an optical disk (including a CD-ROM, a DVD), a magneto-optical disk (including an MD), or a semiconductor memory is connected. Has been.

このパーソナルコンピュータ100に上述した一連の処理を実行させるプログラムは、記録媒体111に格納された状態でパーソナルコンピュータ100に供給され、ドライブ110によって読み出されて記憶部108に内蔵されるハードディスクドライブにインストールされている。記憶部108にインストールされているプログラムは、入力部106に入力されるユーザからのコマンドに対応するCPU101の指令によって、記憶部108からRAM103にロードされて実行される。   A program for causing the personal computer 100 to execute the above-described series of processing is supplied to the personal computer 100 while being stored in the recording medium 111, read by the drive 110, and installed in a hard disk drive built in the storage unit 108. Has been. The program installed in the storage unit 108 is loaded from the storage unit 108 to the RAM 103 and executed in response to a command from the CPU 101 corresponding to a command from the user input to the input unit 106.

なお、本明細書において、プログラムに基づいて実行されるステップは、記載された順序に従って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In this specification, the steps executed based on the program are executed in parallel or individually even if they are not necessarily processed in time series, as well as processes executed in time series according to the described order. It also includes processing.

また、プログラムは、1台のコンピュータにより処理されるものであってもよいし、複数のコンピュータによって分散処理されるものであってもよい。さらに、プログラムは、遠方のコンピュータに転送されて実行されるものであってもよい。   The program may be processed by a single computer, or may be distributedly processed by a plurality of computers. Furthermore, the program may be transferred to a remote computer and executed.

また、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。   Further, in this specification, the system represents the entire apparatus constituted by a plurality of apparatuses.

本発明を適用した画像表示システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the image display system to which this invention is applied. ホワイトノイズについて説明するための図である。It is a figure for demonstrating white noise. 画像表示システムの動作概要を説明するための図である。It is a figure for demonstrating the operation | movement outline | summary of an image display system. 図1における符号化部の第1の構成例を示すブロック図である。It is a block diagram which shows the 1st structural example of the encoding part in FIG. 図4に示された符号化部の第1の構成例による動作を説明するフローチャートである。5 is a flowchart for explaining the operation of the first configuration example of the encoding unit shown in FIG. 4. 図1における復号化部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the decoding part in FIG. 図1における符号化部の第2の構成例を示すブロック図である。It is a block diagram which shows the 2nd structural example of the encoding part in FIG. 図7に示された符号化部の第2の構成例による動作概要を説明するための図である。It is a figure for demonstrating the operation | movement outline | summary by the 2nd structural example of the encoding part shown by FIG. アクティビティの算出方法を説明するための図である。It is a figure for demonstrating the calculation method of activity. 図7に示された符号化部の第2の構成例による動作を説明するフローチャートである。FIG. 8 is a flowchart for explaining the operation of the second exemplary configuration of the encoding unit shown in FIG. 7. FIG. 図7に示された符号化部の第2の構成例に対応する復号化部の動作を説明するフローチャートである。FIG. 8 is a flowchart for explaining the operation of a decoding unit corresponding to the second configuration example of the encoding unit shown in FIG. 7. FIG. 図7に示された符号化部の第2の構成例による効果を説明するための図である。It is a figure for demonstrating the effect by the 2nd structural example of the encoding part shown by FIG. 図1における符号化部の第3の構成例を示すブロック図である。It is a block diagram which shows the 3rd structural example of the encoding part in FIG. 図13に示された符号化部の第3の構成例による動作概要を説明するための図である。It is a figure for demonstrating the operation | movement outline | summary by the 3rd structural example of the encoding part shown by FIG. 基本ブロックを再分割する4通りのパターンを示す図である。It is a figure which shows four patterns which subdivide a basic block. 図13に示された符号化部の第3の構成例による動作を説明するフローチャートである。It is a flowchart explaining the operation | movement by the 3rd structural example of the encoding part shown by FIG. 図13に示された符号化部の第3の構成例に対応する復号化部の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement of the decoding part corresponding to the 3rd structural example of the encoding part shown by FIG. 図13に示された符号化部の第3の構成例による効果を説明するための図である。It is a figure for demonstrating the effect by the 3rd structural example of the encoding part shown by FIG. 本発明を適用したパーソナルコンピュータの構成例を示すブロック図である。It is a block diagram which shows the structural example of the personal computer to which this invention is applied.

符号の説明Explanation of symbols

1 画像表示システム, 12 符号化装置, 14 再生装置, 16 符号化装置, 22 符号化部, 31 復号化部, 32 ディジタルアナログ変換部, 41 アナログディジタル変換部, 42 ノイズ付加部, 61 ブロック分割部, 62 特徴量検出部, 63 再ブロック化部, 64 ブロック符号化部, 71 ブロックサイズ判定部, 72 ブロック復号化部, 81 アクティビティ計算部, 82 ブロックサイズ決定部, 83 ブロックサイズ判定部, 84 ブロック再分割部, 91 均等分割部, 92 アクティビティ計算部, 93 再分割部, 100 パーソナルコンピュータ, 101 CPU, 111 記録媒体   DESCRIPTION OF SYMBOLS 1 Image display system, 12 encoding apparatus, 14 reproducing | regenerating apparatus, 16 encoding apparatus, 22 encoding part, 31 decoding part, 32 digital analog conversion part, 41 analog digital conversion part, 42 noise addition part, 61 block division part 62 feature quantity detection unit, 63 reblocking unit, 64 block encoding unit, 71 block size determining unit, 72 block decoding unit, 81 activity calculating unit, 82 block size determining unit, 83 block size determining unit, 84 blocks Subdivision unit, 91 equal division unit, 92 activity calculation unit, 93 subdivision unit, 100 personal computer, 101 CPU, 111 recording medium

Claims (11)

入力された画像データを符号化する符号化装置において、
前記画像データを所定の均一なサイズの基本ブロックに分割するブロック分割手段と、
割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、前記分割ブロックにおける画像データの特徴を示す特徴量として、前記分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出手段と、
前記基本ブロックの各分割ブロックに対して検出された前記アクティビティに基づき、前記基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、前記基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化手段と、
前記基本ブロックが再ブロック化された前記再分割ブロック毎に前記画像データ符号化する符号化手段と
を含符号化装置。
In an encoding device for encoding input image data,
Block dividing means for dividing the image data into basic blocks of a predetermined uniform size;
Subdivide each basic block is split into smaller uniform size of the divided blocks, as a feature amount indicating a feature of image data in the divided blocks, the activity showing the variation in the pixel values of pixels constituting the divided blocks A feature amount detecting means for detecting;
Based on the activity detected for each divided block of the basic block, for each basic block, the size of the divided block having the largest variation in pixel values among the plurality of divided blocks is reduced. Re-blocking means for re-blocking the basic block into non-uniform re-divided blocks by changing the size of the other divided blocks ;
The basic block including the encoding apparatus and an encoding means for encoding said image data for each of the subdivided blocks reblocked.
前記画像データには、ノイズが付加されている
求項1に記載の符号化装置。
Noise is added to the image data.
Encoding apparatus according to Motomeko 1.
入力された前記画像データにノイズを付加して前記ブロック分割手段に出力するノイズ付加手段を
さらに含請求項1に記載の符号化装置。
The encoding apparatus according to still including claim 1 noise adding means for outputting the block dividing means adds noise to the inputted image data.
前記画像データは、少なくとも1度符号化された後、復号化されている
求項1に記載の符号化装置。
The image data is decoded after being encoded at least once.
Encoding apparatus according to Motomeko 1.
前記符号化手段は、ADRC(Adaptive Dynamic Range Coding)を適用して、前記基本ブロックが再ブロック化された前記再分割ブロック毎に前記画像データ符号化する
求項1に記載の符号化装置。
Said encoding means applies the ADRC (Adaptive Dynamic Range Coding), the basic blocks to encode the image data for each of the subdivided blocks reblocked
Encoding apparatus according to Motomeko 1.
前記符号化手段は、前記基本ブロックが再ブロック化された前記再分割ブロック毎に前記画像データ符号化した結果として得られる符号、および再ブロック化された前記不均一な再分割ブロックのサイズ少なくとも含む符号化データを出力する
求項1に記載の符号化装置。
The encoding means includes a code obtained as a result of encoding the image data for each re-divided block in which the basic block has been re-blocked , and a size of the non-uniform re-divided block that has been re-blocked. Output encoded data including at least
Encoding apparatus according to Motomeko 1.
前記符号化手段から出力される前記符号化データを復号化する復号化手段を
さらに含請求項に記載の符号化装置。
The encoding apparatus according to still including claim 6 decoding means for decoding the encoded data output from said encoding means.
入力された画像データを符号化する符号化装置の符号化方法において、
前記画像データを所定の均一なサイズの基本ブロックに分割するブロック分割ステップと、
割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、前記分割ブロックにおける画像データの特徴を示す特徴量として、前記分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出ステップと、
前記基本ブロックの各分割ブロックに対して検出された前記アクティビティに基づき、前記基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、前記基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化ステップと、
前記基本ブロックが再ブロック化された前記再分割ブロック毎に前記画像データ符号化する符号化ステップと
を含符号化方法。
In an encoding method of an encoding device for encoding input image data,
A block dividing step of dividing the image data into basic blocks of a predetermined uniform size;
Subdivide each basic block is split into smaller uniform size of the divided blocks, as a feature amount indicating a feature of image data in the divided blocks, the activity showing the variation in the pixel values of pixels constituting the divided blocks A feature amount detection step to detect;
Based on the activity detected for each divided block of the basic block, for each basic block, the size of the divided block having the largest variation in pixel values among the plurality of divided blocks is reduced. A reblocking step of reblocking the basic block into a non-uniform subdivision block by changing the size of the other subdivision blocks ;
The basic block is re-blocked coding step and the including coding method for encoding the image data for each of the re-divided block.
入力された画像データを符号化する符号化装置の制御用のプログラムであって、
前記画像データを所定の均一なサイズの基本ブロックに分割するブロック分割ステップと、
割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、前記分割ブロックにおける画像データの特徴を示す特徴量として、前記分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出ステップと、
前記基本ブロックの各分割ブロックに対して検出された前記アクティビティに基づき、前記基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、前記基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化ステップと、
前記基本ブロックが再ブロック化された前記再分割ブロック毎に前記画像データ符号化する符号化ステップと
を含む処理を符号化装置のコンピュータに実行させプログラムが記録されている記録媒体。
A program for controlling an encoding device that encodes input image data,
A block dividing step of dividing the image data into basic blocks of a predetermined uniform size;
Subdivide each basic block is split into smaller uniform size of the divided blocks, as a feature amount indicating a feature of image data in the divided blocks, the activity showing the variation in the pixel values of pixels constituting the divided blocks A feature amount detection step to detect;
Based on the activity detected for each divided block of the basic block, for each basic block, the size of the divided block having the largest variation in pixel values among the plurality of divided blocks is reduced. A reblocking step of reblocking the basic block into a non-uniform subdivision block by changing the size of the other subdivision blocks ;
The basic block is re-blocked the re-division encoding step and recording medium processing Ru cause the computer to execute the encoding device program is recorded comprising for encoding the image data for each block.
入力された画像データを符号化する符号化装置の制御用のプログラムであって、
前記画像データを所定の均一なサイズの基本ブロックに分割するブロック分割ステップと、
割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、前記分割ブロックにおける画像データの特徴を示す特徴量として、前記分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出ステップと、
前記基本ブロックの各分割ブロックに対して検出された前記アクティビティに基づき、前記基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、前記基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化ステップと、
前記基本ブロックが再ブロック化された前記再分割ブロック毎に前記画像データ符号化する符号化ステップと
を含む処理を符号化装置のコンピュータに実行させプログラム。
A program for controlling an encoding device that encodes input image data,
A block dividing step of dividing the image data into basic blocks of a predetermined uniform size;
Subdivide each basic block is split into smaller uniform size of the divided blocks, as a feature amount indicating a feature of image data in the divided blocks, the activity showing the variation in the pixel values of pixels constituting the divided blocks A feature amount detection step to detect;
Based on the activity detected for each divided block of the basic block, for each basic block, the size of the divided block having the largest variation in pixel values among the plurality of divided blocks is reduced. A reblocking step of reblocking the basic block into a non-uniform subdivision block by changing the size of the other subdivision blocks ;
The basic block is a program Ru to execute the processing including an encoding step of encoding the image data for each of the subdivided blocks reblocked into the computer of the encoding device.
画像データを符号化する符号化部と、前記符号化部の出力を復号化する復号化部とを備え、前記画像データに対して符号化と復号化を繰り返すと前記画像データが劣化される画像処理システムにおいて、
前記符号化部は、
前記画像データを所定の均一なサイズの基本ブロックに分割するブロック分割手段と、
割された各基本ブロックをさらに小さな均一なサイズの分割ブロックに細分化し、前記分割ブロックにおける画像データの特徴を示す特徴量として、前記分割ブロックを構成する画素の画素値のばらつきを示すアクティビティを検出する特徴量検出手段と、
前記基本ブロックの各分割ブロックに対して検出された前記アクティビティに基づき、前記基本ブロック毎に、複数の分割ブロックのうちの画素値のばらつきが最も大きい分割ブロックのサイズを縮小し、これに伴ってその他の分割ブロックのサイズを変更することにより、前記基本ブロックを不均一な再分割ブロックに再ブロック化する再ブロック化手段と、
前記基本ブロックが再ブロック化された前記再分割ブロック毎に前記画像データ符号化する符号化手段と
を含み、
前記復号化部は、
前記符号化部によって前記画像データが所定の前記再分割ブロックに分割されて前記再分割ブロック単位で符号化された結果である符号化データを分析する分析手段と、
前記分析手段による分析結果に基づき、前記符号化データを前記再分割ブロック単位で復号化する復号化手段と
を含む
像処理システム。
An image that includes an encoding unit that encodes image data and a decoding unit that decodes the output of the encoding unit, and the image data is deteriorated when encoding and decoding are repeated on the image data In the processing system,
The encoding unit includes:
Block dividing means for dividing the image data into basic blocks of a predetermined uniform size;
Subdivide each basic block is split into smaller uniform size of the divided blocks, as a feature amount indicating a feature of image data in the divided blocks, the activity showing the variation in the pixel values of pixels constituting the divided blocks A feature amount detecting means for detecting;
Based on the activity detected for each divided block of the basic block, for each basic block, the size of the divided block having the largest pixel value variation among the plurality of divided blocks is reduced, and accordingly Re-blocking means for re-blocking the basic block into non-uniform re-divided blocks by changing the size of the other divided blocks ;
Look including an encoding means for said basic block to encode the image data for each re-blocked the re-divided block,
The decoding unit
Analyzing means for analyzing encoded data that is a result of the image data being divided into predetermined subdivision blocks and encoded in units of the subdivision blocks by the encoding unit;
Decoding means for decoding the encoded data in units of the re-divided blocks based on the analysis result by the analysis means
Images processing system.
JP2005030319A 2005-02-07 2005-02-07 Encoding apparatus and method, recording medium, program, and image processing system Expired - Fee Related JP4556694B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005030319A JP4556694B2 (en) 2005-02-07 2005-02-07 Encoding apparatus and method, recording medium, program, and image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005030319A JP4556694B2 (en) 2005-02-07 2005-02-07 Encoding apparatus and method, recording medium, program, and image processing system

Publications (3)

Publication Number Publication Date
JP2006217479A JP2006217479A (en) 2006-08-17
JP2006217479A5 JP2006217479A5 (en) 2007-09-27
JP4556694B2 true JP4556694B2 (en) 2010-10-06

Family

ID=36980284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005030319A Expired - Fee Related JP4556694B2 (en) 2005-02-07 2005-02-07 Encoding apparatus and method, recording medium, program, and image processing system

Country Status (1)

Country Link
JP (1) JP4556694B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022182135A1 (en) * 2021-02-25 2022-09-01 삼성전자 주식회사 Electronic device and operation method therefor

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2120462B1 (en) * 2007-03-05 2018-12-19 NEC Corporation Weighted prediction information calculation method, device, program, dynamic image encoding method, device, and program
US20200260079A1 (en) * 2015-11-24 2020-08-13 Samsung Electronics Co., Ltd. Method for encoding/decoding image and device therefor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0435269A (en) * 1990-05-28 1992-02-06 Nec Corp Two-dimensional signal coding decoding method and its coder and decoder
JPH0775096A (en) * 1993-08-31 1995-03-17 Sony Corp Picture encoding method and device
JPH07107474A (en) * 1993-10-04 1995-04-21 Sony Corp Method for encoding picture
JPH11164305A (en) * 1997-04-24 1999-06-18 Mitsubishi Electric Corp Moving image coding method, moving image coder and moving image decoder
JP2004289685A (en) * 2003-03-24 2004-10-14 Sony Corp Data coding apparatus and data coding method, data output apparatus, and data output method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0435269A (en) * 1990-05-28 1992-02-06 Nec Corp Two-dimensional signal coding decoding method and its coder and decoder
JPH0775096A (en) * 1993-08-31 1995-03-17 Sony Corp Picture encoding method and device
JPH07107474A (en) * 1993-10-04 1995-04-21 Sony Corp Method for encoding picture
JPH11164305A (en) * 1997-04-24 1999-06-18 Mitsubishi Electric Corp Moving image coding method, moving image coder and moving image decoder
JP2004289685A (en) * 2003-03-24 2004-10-14 Sony Corp Data coding apparatus and data coding method, data output apparatus, and data output method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022182135A1 (en) * 2021-02-25 2022-09-01 삼성전자 주식회사 Electronic device and operation method therefor

Also Published As

Publication number Publication date
JP2006217479A (en) 2006-08-17

Similar Documents

Publication Publication Date Title
US7957471B2 (en) Encoding apparatus and method, decoding apparatus and method, image processing system and method, and recording medium
JP4371245B2 (en) Image processing device
JP4556694B2 (en) Encoding apparatus and method, recording medium, program, and image processing system
JP2006217403A (en) Coding apparatus and method, decoding apparatus and method, recording medium, program, image processing system, and image processing method
JP2006238070A (en) Data conversion apparatus and method, data inverse conversion apparatus and method, information processing system and method, recording medium, and program
JP4716086B2 (en) Encoding apparatus and method, recording medium, program, and image processing system
JP4552677B2 (en) Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program
JP4573112B2 (en) Encoding apparatus and method, recording medium, program, and image processing system
JP4573110B2 (en) Encoding apparatus and method, recording medium, program, and image processing system
US7952769B2 (en) Systems and methods for image processing coding/decoding
JP2006229460A (en) Encoder and encoding method, recording medium, program, image processing system and image processing method
JP4577043B2 (en) Image processing apparatus and method, recording medium, and program
JP4561401B2 (en) Data conversion apparatus and method, data reverse conversion apparatus and method, information processing system, recording medium, and program
JP4697519B2 (en) Encoding apparatus and method, decoding apparatus and method, image processing system, recording medium, and program
JP4730585B2 (en) Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program
JP4058671B2 (en) Storage control device, storage control method, program, and recording medium
JP4556125B2 (en) Encoding apparatus and method, decoding apparatus and method, image processing system, recording medium, and program
JP4591767B2 (en) Encoding apparatus and method, decoding apparatus and method, image processing system, recording medium, and program
JP4581733B2 (en) Encoding apparatus and method, decoding apparatus and method, recording medium, program, and image processing system
JP4696577B2 (en) Encoding apparatus and method, decoding apparatus and method, recording medium, program, image processing system and method
JP4385969B2 (en) Data conversion apparatus and method, data reverse conversion apparatus and method, information processing system, recording medium, and program
JP4715222B2 (en) Encoding apparatus and method, decoding apparatus and method, image processing system, recording medium, and program
JP2006238373A (en) Coder and coding method, decoder and decoding method, image processing system and image processing method, recording medium, and program
JP4461382B2 (en) Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program
JP2006238375A (en) Apparatus and method for coding image data, apparatus and method for decoding image data, image processing system and method, recording medium, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070810

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070810

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091225

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100629

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100712

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130730

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees