JP4552677B2 - Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program - Google Patents

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

Info

Publication number
JP4552677B2
JP4552677B2 JP2005028910A JP2005028910A JP4552677B2 JP 4552677 B2 JP4552677 B2 JP 4552677B2 JP 2005028910 A JP2005028910 A JP 2005028910A JP 2005028910 A JP2005028910 A JP 2005028910A JP 4552677 B2 JP4552677 B2 JP 4552677B2
Authority
JP
Japan
Prior art keywords
pixel
specific
pixel value
block
encoding
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
JP2005028910A
Other languages
Japanese (ja)
Other versions
JP2006217339A (en
JP2006217339A5 (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 JP2005028910A priority Critical patent/JP4552677B2/en
Publication of JP2006217339A publication Critical patent/JP2006217339A/en
Publication of JP2006217339A5 publication Critical patent/JP2006217339A5/ja
Application granted granted Critical
Publication of JP4552677B2 publication Critical patent/JP4552677B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、符号化装置および方法、復号装置および方法、情報処理システム、記録媒体、並びにプログラムに関し、特に、アナログ信号を利用したコンテンツデータの不正な複製を抑制することができるようにする符号化装置および方法、復号装置および方法、情報処理システム、記録媒体、並びにプログラムに関する。 The present invention relates to an encoding device and method, a decoding device and method, an information processing system, a recording medium, and a program, and in particular, encoding that can suppress unauthorized duplication of content data using an analog signal. The present invention relates to an apparatus and method, a decoding apparatus and method, an information processing system, a recording medium, and a program.

従来、画像データや音声データ等の記録や伝送等においては、通常、情報の符号化や復号等の処理が行われる。   Conventionally, in recording and transmission of image data, audio data, and the like, processing such as information encoding and decoding is usually performed.

図1は、従来の画像処理システムの構成例を示している。この画像処理システム10は、符号化されたデジタル画像信号である符号化デジタル画像信号Vcdを処理し、アナログ画像信号Vanを出力する再生装置11、この再生装置11から出力されるアナログ画像信号Vanによる画像を表示する表示装置12、並びに、再生装置11から出力されるアナログ画像信号Vanを符号化し、その符号化デジタル画像信号Vcdを記録媒体に記録する符号化装置13を有している。   FIG. 1 shows a configuration example of a conventional image processing system. The image processing system 10 processes an encoded digital image signal Vcd, which is an encoded digital image signal, and outputs an analog image signal Van, and an analog image signal Van output from the playback device 11. A display device 12 for displaying an image and an encoding device 13 for encoding an analog image signal Van output from the playback device 11 and recording the encoded digital image signal Vcd on a recording medium are provided.

再生装置11は、復号部21およびD/A(Digital / Analog)変換部22(以下、D/A22と称する)を有している。復号部21は、図示しない光ディスク等の記録媒体から読み出された符号化デジタル画像信号Vcdを復号する。D/A22は、その復号されて得られたデジタル画像信号Vdgをアナログ画像信号Vanに変換する。   The playback device 11 includes a decoding unit 21 and a D / A (Digital / Analog) conversion unit 22 (hereinafter referred to as D / A 22). The decoding unit 21 decodes an encoded digital image signal Vcd read from a recording medium such as an optical disk (not shown). The D / A 22 converts the decoded digital image signal Vdg into an analog image signal Van.

再生装置11は、このアナログ画像信号Vanを表示装置12および符号化装置13に供給する。   The playback device 11 supplies the analog image signal Van to the display device 12 and the encoding device 13.

表示装置12は、ディスプレイ23を有している。ディスプレイ23は、例えばCRT(Cathode-Ray Tube)ディスプレイや、LCD(Liquid Crystal Display)等により構成される。表示装置12は、再生装置11より供給されるアナログ画像信号Vanをこのディスプレイ23に表示する。   The display device 12 has a display 23. The display 23 is configured by, for example, a CRT (Cathode-Ray Tube) display, an LCD (Liquid Crystal Display), or the like. The display device 12 displays the analog image signal Van supplied from the playback device 11 on the display 23.

符号化装置13は、A/D(Analog / Digital)変換部24(以下、A/D24と称する)、符号化部25、および記録部26を有している。A/D24は、再生装置11より供給されるアナログ画像信号Vanをデジタル信号に変換しデジタル画像信号Vdgを生成する。符号化部25は、そのデジタル画像信号Vdgを符号化し、符号化デジタル画像信号Vcdを生成する。記録部26は、例えばハードディスク、半導体メモリ、若しくは、DVD(Digital Versatile Disc)ドライブ等を有しており、符号化部25において生成された符号化デジタル画像信号Vcdをそれらの記録媒体に記録する。   The encoding device 13 includes an A / D (Analog / Digital) conversion unit 24 (hereinafter referred to as A / D 24), an encoding unit 25, and a recording unit 26. The A / D 24 converts the analog image signal Van supplied from the playback device 11 into a digital signal, and generates a digital image signal Vdg. The encoding unit 25 encodes the digital image signal Vdg to generate an encoded digital image signal Vcd. The recording unit 26 includes, for example, a hard disk, a semiconductor memory, or a DVD (Digital Versatile Disc) drive, and records the encoded digital image signal Vcd generated by the encoding unit 25 on those recording media.

つまり、画像処理システム10は、符号化デジタル画像信号Vcdを受け付け、その符号化デジタル画像信号Vcdからアナログ画像信号Vanを再生し、画像を表示するか、若しくは、再生されたアナログ画像信号Vanを再度符号化し、符号化デジタル画像信号Vcdを記録媒体に記録するシステムである。   That is, the image processing system 10 receives the encoded digital image signal Vcd, reproduces the analog image signal Van from the encoded digital image signal Vcd, displays an image, or regenerates the reproduced analog image signal Van. This is a system for encoding and recording an encoded digital image signal Vcd on a recording medium.

このように、画像処理システム10は、アナログ画像信号Vanを生成するため、そのアナログ画像信号Vanを利用した不正な複製(不正コピー)に利用される恐れがあった。   As described above, since the image processing system 10 generates the analog image signal Van, there is a possibility that the image processing system 10 may be used for unauthorized duplication (illegal copy) using the analog image signal Van.

つまり、アナログ画像信号Vanにおいては、デジタル著作権保護機能は作用しないため、符号化装置13は、アナログ画像信号Vanをデジタル化して符号化することにより、元の符号化デジタル画像信号Vcdを再現して記録することができる。   That is, since the digital copyright protection function does not operate on the analog image signal Van, the encoding device 13 reproduces the original encoded digital image signal Vcd by digitizing and encoding the analog image signal Van. Can be recorded.

従来、このようなアナログ画像信号Vanを利用した不正コピーを防止するために、著作権保護がなされている場合には、アナログ画像信号Vanをスクランブル処理したり、あるいはアナログ画像信号Vanの出力を禁止したりすることが提案されている(例えば、特許文献1参照)。   Conventionally, in order to prevent unauthorized copying using such an analog image signal Van, when copyright protection is provided, the analog image signal Van is scrambled or the analog image signal Van is prohibited from being output. Has been proposed (see, for example, Patent Document 1).

また、再生装置11または符号化装置13のいずれか一方もしくは両方に雑音情報発生部を設け、デジタルビデオデータに1回の処理では画像再生時に識別できない程度の雑音情報を埋め込むことにより、コピー自体は可能であるが、複数回繰り返すと画像が著しく劣化し、これによって実質的にコピーの回数を制限するデジタルビデオ装置が提案されている(例えば、特許文献2参照)。   In addition, by providing a noise information generation unit in one or both of the playback device 11 and the encoding device 13 and embedding noise information in the digital video data that cannot be identified at the time of image playback by one processing, the copy itself is Although it is possible, a digital video apparatus has been proposed in which an image deteriorates remarkably when it is repeated a plurality of times, thereby substantially limiting the number of copies (see, for example, Patent Document 2).

しかしながら、例えば、上述した特許文献1のように、再生装置11が、アナログ画像信号Vanをスクランブル処理して出力したり、あるいはアナログ画像信号Vanの出力を禁止したりすることで、不正コピーを防止する方法の場合、表示装置12がディスプレイ23に正常な画像が表示させることができないという問題がある。   However, for example, as in Patent Document 1 described above, the reproduction apparatus 11 prevents unauthorized copying by scrambled and outputting the analog image signal Van or prohibiting the output of the analog image signal Van. In the case of this method, there is a problem that the display device 12 cannot display a normal image on the display 23.

例えば、再生装置11が、アナログ画像信号Vanをスクランブル処理して出力する場合、そのスクランブル機能に対応し、正常な画像を表示させる機能を表示装置12に設ける必要がある。   For example, when the playback device 11 scrambles and outputs the analog image signal Van, it is necessary to provide the display device 12 with a function for displaying a normal image corresponding to the scramble function.

また、上述した特許文献2のように、再生側の復号部または記録側の符号化部等でデジタル画像信号に雑音情報を埋め込むものでは、雑音情報発生部とこれを埋め込むための回路が必要となり、回路規模が増大するという問題がある。   In addition, as in Patent Document 2 described above, in the case where noise information is embedded in a digital image signal by a decoding unit on the reproduction side or an encoding unit on the recording side, a noise information generation unit and a circuit for embedding the noise information are required. There is a problem that the circuit scale increases.

そこで、画像が表示されなくなることや回路規模の増大を招くこと等の不都合を発生することなく、アナログ画像信号を利用した不正コピーを防止する手法が、本出願人により提案されている(例えば、特許文献3参照)。   Therefore, a method for preventing unauthorized copying using an analog image signal without causing inconvenience such as an image not being displayed or an increase in circuit scale has been proposed by the present applicant (for example, (See Patent Document 3).

特開2001−245270号公報JP 2001-245270 A 特開平10−289522号公報Japanese Patent Laid-Open No. 10-289522 特開2004−289685号公報Japanese Patent Application Laid-Open No. 2004-289685

上述した特許文献3に記載の手法では、アナログ画像信号をA/D変換することにより得られるデジタル画像信号の位相ズレ等のアナログノイズに着目し、そのデジタル画像信号に対してアナログノイズに着目した符号化を行うことによってコピー前の画像の質を落とさずに、良好な質を維持したままでのコピーを不可能とし、これによりアナログ画像信号を利用した不正コピーを防止するが、デジタルコンテンツの流通が一般的になっている近年においては、上述のように不正コピーを防止するための別の手法の提案が要請されている。   In the method described in Patent Document 3 described above, attention is paid to analog noise such as phase shift of the digital image signal obtained by A / D conversion of the analog image signal, and attention is paid to analog noise for the digital image signal. Encoding does not degrade the quality of the image before copying, making it impossible to copy while maintaining good quality, thereby preventing unauthorized copying using analog image signals, In recent years when distribution has become common, as described above, there has been a demand for a proposal of another method for preventing unauthorized copying.

本発明はこのような状況に鑑みてなされたものであり、アナログ信号を利用したコンテンツデータの不正な複製を抑制することができるようにするものである。   The present invention has been made in view of such a situation, and makes it possible to suppress unauthorized duplication of content data using an analog signal.

本発明の符号化装置は、アナログ歪を含む入力画像データを符号化する符号化装置であって、前記入力画像データの各フレーム画像を複数のブロックに分割してブロック化するブロック化手段と、前記ブロック化手段によりブロック化されて得られた各ブロックの周縁部の複数の画素を特定画素とし、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化するベクトル量子化手段と、各ブロックにおいて、前記ベクトル量子化手段によりベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測する予測手段と、前記ブロック内の前記特定画素以外の各画素について、前記予測手段により予測された画素値である予測画素値と前記入力画像データ中の画素値との差分を算出する差分算出手段と、前記差分算出手段により得られた前記差分を前記ブロック毎に符号化する差分符号化手段とを備える。 An encoding apparatus according to the present invention is an encoding apparatus that encodes input image data including analog distortion, and includes a blocking unit that divides each frame image of the input image data into a plurality of blocks, A plurality of pixels at the peripheral edge of each block obtained by blocking by the blocking unit is a specific pixel, a group of specific pixels adjacent to each other among all pixel groups not limited to the specific pixel, and the group Vector quantization means for vector-quantizing the pixel value of the specific pixel every time, and in each block, the specific value in the block based on the pixel value of the specific pixel vector-quantized by the vector quantization means Prediction means for predicting the pixel value of each pixel other than the pixel, and prediction by the prediction means for each pixel other than the specific pixel in the block A difference calculating unit that calculates a difference between a predicted pixel value that is a pixel value obtained and a pixel value in the input image data, and differential encoding that encodes the difference obtained by the difference calculating unit for each block Means.

前記ベクトル量子化手段は、各ブロックの4隅の画素を特定画素とすることができる。 It said vector quantization means may be a specific pixel of the four corners of the pixels in each block.

前記予測手段は、前記ブロック内の前記特定画素以外の各画素の画素値を、各特定画素の画素値と、各特定画素までの距離とを用いて予測するとができる。
前記予測手段は、前記ブロック内の前記特定画素以外の各画素の画素値を、前記画素に最も近い前記特定画素の画素値に設定することができる。
It said predicting means, the pixel values of the pixels other than the specific pixel in the block, the pixel values of the specific pixel, it is the this predicted using the distance to each particular pixel.
The prediction means can set the pixel value of each pixel other than the specific pixel in the block to the pixel value of the specific pixel closest to the pixel.

前記差分算出手段は、さらに特定画素の差分を「0」に設定し、差分符号化手段は、特定画素を含むブロック内の全ての画素の差分を符号化するようにすることができる。   The difference calculation unit may further set the difference of the specific pixel to “0”, and the difference encoding unit may encode the difference of all the pixels in the block including the specific pixel.

前記差分符号化手段は、差分算出手段により得られた差分を直交変換する直交変換手段と、直交変換手段により差分が直交変換されて得られた係数データを量子化する量子化手段と、量子化手段により係数データが量子化されて得られた量子化係数データを可変長符号化する可変長符号化手段とを備えるようにすることができる。   The difference encoding means includes an orthogonal transform means for orthogonally transforming the difference obtained by the difference calculating means, a quantization means for quantizing the coefficient data obtained by orthogonally transforming the difference by the orthogonal transform means, and quantization And variable length coding means for variable length coding the quantized coefficient data obtained by quantizing the coefficient data by the means.

前記直交変換手段は差分を離散サイン変換するようにすることができる。   The orthogonal transform means may perform discrete sine transform on the difference.

前記ベクトル量子化手段において選択された、特定画素のグループのベクトル量子化結果に対応するコードに関する情報である選択コード情報、および、差分符号化手段により差分が符号化されて得られた符号化データを符号化装置の外部に出力する出力手段をさらに備えるようにすることができる。   Selection code information which is information related to a code corresponding to a vector quantization result of a group of specific pixels selected by the vector quantization means, and encoded data obtained by encoding a difference by the difference encoding means Can be further provided with output means for outputting the signal to the outside of the encoding device.

アナログ信号の入力画像データに対して、アナログ成分に対するノイズ成分であるアナログノイズを付加するノイズ付加手段と、ノイズ付加手段によりアナログノイズが付加されたアナログ信号の入力画像データをA/D変換し、デジタルデータの入力画像データを得るA/D変換手段とをさらに備え、ブロック化手段は、A/D変換手段によりA/D変換されて得られたデジタルデータの入力画像データの各フレーム画像を複数のブロックに分割してブロック化することができる。 A / D conversion of analog signal input image data to which analog noise is added by noise adding means for adding analog noise, which is a noise component to the analog component, to analog image input image data, A / D conversion means for obtaining input image data of digital data, and the blocking means includes a plurality of frame images of the input image data of digital data obtained by A / D conversion by the A / D conversion means. it can be blocked by dividing the block.

本発明の符号化方法は、アナログ歪を含む入力画像データを符号化する符号化装置の符号化方法であって、前記符号化装置のブロック化手段が、前記入力画像データの各フレーム画像を複数のブロックに分割してブロック化し、前記符号化装置のベクトル量子化手段が、ブロック化されて得られた各ブロックの周縁部の複数の画素を特定画素とし、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化し、前記符号化装置の予測手段が、各ブロックにおいて、ベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測し、前記符号化装置の差分算出手段が、前記ブロック内の前記特定画素以外の各画素について、予測された画素値である予測画素値と前記入力画像データ中の画素値との差分を算出し、前記符号化装置の差分符号化手段が、得られた前記差分を前記ブロック毎に符号化する。 An encoding method according to the present invention is an encoding method of an encoding device that encodes input image data including analog distortion, and the blocker of the encoding device generates a plurality of frame images of the input image data. All the pixel groups that are not limited to the specific pixels, and the pixel quantization unit of the encoding device sets the plurality of pixels at the peripheral edge of each block obtained as a specific pixel. Specific pixel groups adjacent to each other in a group, the pixel value of the specific pixel is vector-quantized for each group, and the predicting means of the encoding device performs the vector quantization of the specific pixel in each block. Based on the pixel value, the pixel value of each pixel other than the specific pixel in the block is predicted, and the difference calculation unit of the encoding device is a unit other than the specific pixel in the block. For each pixel, a difference between a predicted pixel value that is a predicted pixel value and a pixel value in the input image data is calculated, and the difference encoding unit of the encoding device calculates the obtained difference for each block. Is encoded.

本発明の第1の記録媒体は、アナログ歪を含む入力画像データを符号化するコンピュータを、前記入力画像データの各フレーム画像を複数のブロックに分割してブロック化するブロック化手段と、前記ブロック化手段によりブロック化されて得られた各ブロックの周縁部の複数の画素を特定画素とし、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化するベクトル量子化手段と、各ブロックにおいて、前記ベクトル量子化手段によりベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測する予測手段と、前記ブロック内の前記特定画素以外の各画素について、前記予測手段により予測された画素値である予測画素値と前記入力画像データ中の画素値との差分を算出する差分算出手段と、前記差分算出手段により得られた前記差分を前記ブロック毎に符号化する差分符号化手段として機能させるためのプログラムを記録している。 According to a first recording medium of the present invention, there is provided a blocking unit that blocks a computer that encodes input image data including analog distortion by dividing each frame image of the input image data into a plurality of blocks, and the block A plurality of pixels at the peripheral edge of each block obtained by making into a block by the converting means are specified pixels, and among all pixel groups not limited to the specified pixels, adjacent specific pixel groups are grouped, and for each group Vector quantization means for vector-quantizing the pixel value of the specific pixel, and, in each block, based on the pixel value of the specific pixel vector-quantized by the vector quantization means, other than the specific pixel in the block Prediction means for predicting the pixel value of each of the pixels, and prediction by the prediction means for each pixel other than the specific pixel in the block A difference calculating unit that calculates a difference between a predicted pixel value that is a pixel value obtained and a pixel value in the input image data, and differential encoding that encodes the difference obtained by the difference calculating unit for each block A program for functioning as a means is recorded.

本発明の第1のプログラムは、アナログ歪を含む入力画像データを符号化するコンピュータを、前記入力画像データの各フレーム画像を複数のブロックに分割してブロック化するブロック化手段と、前記ブロック化手段によりブロック化されて得られた各ブロックの周縁部の複数の画素を特定画素とし、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化するベクトル量子化手段と、各ブロックにおいて、前記ベクトル量子化手段によりベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測する予測手段と、前記ブロック内の前記特定画素以外の各画素について、前記予測手段により予測された画素値である予測画素値と前記入力画像データ中の画素値との差分を算出する差分算出手段と、前記差分算出手段により得られた前記差分を前記ブロック毎に符号化する差分符号化手段として機能させる。 According to a first program of the present invention, there is provided a blocking unit that blocks a computer that encodes input image data including analog distortion by dividing each frame image of the input image data into a plurality of blocks, and the blocking A plurality of pixels at the peripheral edge of each block obtained by the block formation as a specific pixel, a specific pixel group adjacent to each other among all pixel groups not limited to the specific pixel as a group, and for each group Vector quantization means for vector-quantizing the pixel value of the specific pixel, and in each block, based on the pixel value of the specific pixel that has been vector quantized by the vector quantization means, other than the specific pixel in the block Prediction means for predicting the pixel value of each pixel, and each pixel other than the specific pixel in the block is predicted by the prediction means. A difference calculating unit that calculates a difference between a predicted pixel value that is a pixel value that has been generated and a pixel value in the input image data; and differential encoding that encodes the difference obtained by the difference calculating unit for each block It functions as a means.

本発明の復号装置は、アナログ歪を含む画像データが符号化装置によって符号化されて得られた符号化データを復号する復号装置であって、前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離する分離手段と、前記分離手段により前記符号化データから分離された前記選択コード情報を逆ベクトル量子化する逆ベクトル量子化手段と、前記逆ベクトル量子化手段により逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むブロック内の、前記特定画素以外の各画素の画素値を予測する予測手段と、前記分離手段により前記選択コード情報が分離された前記符号化データを復号する差分復号手段と、前記特定画素以外の各画素について、前記予測手段により得られた予測画素値と、前記差分復号手段により復号されて得られた差分とを加算する画素値加算手段とを備える。 The decoding device of the present invention is a decoding device that decodes encoded data obtained by encoding image data including analog distortion by an encoding device, and a peripheral portion of each block of each frame image of the image data A plurality of pixels as specific pixels, and among all pixel groups not limited to the specific pixels, adjacent specific pixel groups are grouped, and for each group, pixel values of the specific pixels are vector quantized, A pixel value of each pixel other than the specific pixel in the block is predicted based on a pixel value of the specific pixel vector-quantized in the block, and a predicted pixel value for each pixel other than the specific pixel in the block A difference with a pixel value in the image data is calculated, and the result of vector quantization of the specific pixel is obtained from the encoded data obtained by encoding the difference for each block. Separating means for separating selected code information, which is information relating to the code selected as: an inverse vector quantizing means for inverse vector quantizing the selected code information separated from the encoded data by the separating means; Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block including the specific pixel, using the pixel value of the specific pixel obtained by inverse vector quantization by the vector quantization means; Differential decoding means for decoding the encoded data from which the selection code information has been separated by the separation means; prediction pixel values obtained by the prediction means for each pixel other than the specific pixel; and the difference decoding means Pixel value adding means for adding the difference obtained by decoding.

前記特定画素は、各ブロックの4隅の画素であるようにすることができる。   The specific pixels may be pixels at the four corners of each block.

前記画素値加算手段は、特定画素の差分を「0」に設定してから加算を行うようにすることができる。   The pixel value adding means may perform addition after setting a difference between specific pixels to “0”.

前記画素値加算手段は、加算結果として得られた各画素の入力画素値をブロック毎にラスター順に並び替えるようにすることができる。   The pixel value adding means can rearrange the input pixel values of each pixel obtained as an addition result in raster order for each block.

前記差分復号手段は、号化データを可変長復号する可変長復号手段と、可変長復号手段により符号化データが可変長復号されて得られた量子化係数データを逆量子化する逆量子化手段と、逆量子化手段により量子化係数データが逆量子化されて得られた係数データを逆直交変換する逆直交変換手段とを備えThe difference decoding means includes variable length decoding means for variable-length decoding the sign-coded data, inverse quantization of inverse quantizing the quantized coefficient data encoded data obtained by the variable length decoding by the variable length decoding unit means, Ru and an inverse orthogonal transform means for inverse orthogonal transform coefficient data obtained by the inverse quantization quantized coefficient data by the inverse quantization means.

前記直交変換手段は係数データを逆離散サイン変換するようにすることができる。   The orthogonal transform means may perform inverse discrete sine transform on the coefficient data.

前記画素値加算手段において得られた前記画素値により構成されるデジタル画像データをD/A変換し、アナログ信号に変換するD/A変換手段と、前記D/A変換手段により前記デジタル画像データがD/A変換されて得られた前記アナログ信号に対して、アナログ成分に対するノイズ成分であるアナログノイズを付加するノイズ付加手段と前記ノイズ付加手段により前記アナログノイズが付加された前記アナログ信号を出力する出力手段とをさらに備えることができる。 Digital image data constituted by the pixel values obtained by the pixel value adding means is D / A converted and converted into analog signals, and the digital image data is converted by the D / A conversion means. A noise adding means for adding analog noise, which is a noise component with respect to the analog component, to the analog signal obtained by D / A conversion, and the analog signal to which the analog noise is added by the noise adding means is output. Output means .

本発明の復号方法は、アナログ歪を含む画像データが符号化装置によって符号化されて得られた符号化データを復号する復号装置の復号方法であって、前記復号装置の分離手段が、前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離し、前記復号装置の逆ベクトル量子化手段が、前記符号化データから分離された前記選択コード情報を逆ベクトル量子化し前記復号装置の予測手段が、逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むブロック内の、前記特定画素以外の各画素の画素値を予測し、前記復号装置の差分復号手段が、前記選択コード情報が分離された前記符号化データを復号し、前記復号装置の画素値加算手段が、前記特定画素以外の各画素について、得られた予測画素値と、復号されて得られた差分とを加算するThe decoding method of the present invention is a decoding method of a decoding apparatus for decoding encoded data obtained by encoding image data including analog distortion by an encoding apparatus, wherein the separation means of the decoding apparatus includes the image A plurality of pixels at the peripheral edge of each block of each frame image of data is set as a specific pixel, and among all pixel groups not limited to the specific pixel, adjacent specific pixel groups are grouped, and the specific pixel group is specified for each group. The pixel value of the pixel is vector-quantized, and the pixel value of each pixel other than the specific pixel in the block is predicted based on the pixel value of the specific pixel vector-quantized in each block, and the pixel value in the block For each pixel other than the specific pixel, the difference between the predicted pixel value and the pixel value in the image data is calculated, and whether the difference is the encoded data encoded for each block , Separating selected code information that is information relating to a code selected as a result of vector quantization of the specific pixel, and the inverse vector quantization means of the decoding device converts the selected code information separated from the encoded data inverse vector quantization, prediction means of the decoding apparatus, using a pixel value of the specific pixel obtained by being inverse vector quantization, in the block including the specified pixel, a pixel of each pixel other than the specific pixel Predicting the value, the differential decoding means of the decoding device decodes the encoded data from which the selection code information is separated, and the pixel value adding means of the decoding device obtains each pixel other than the specific pixel. The obtained prediction pixel value and the difference obtained by decoding are added .

本発明の第2の記録媒体は、アナログ歪を含む画像データが符号化装置によって符号化されて得られた符号化データを復号するコンピュータを、前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離する分離手段と、前記分離手段により前記符号化データから分離された前記選択コード情報を逆ベクトル量子化する逆ベクトル量子化手段と、前記逆ベクトル量子化手段により逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むブロック内の、前記特定画素以外の各画素の画素値を予測する予測手段と、前記分離手段により前記選択コード情報が分離された前記符号化データを復号する差分復号手段と、前記特定画素以外の各画素について、前記予測手段により得られた予測画素値と、前記差分復号手段により復号されて得られた差分とを加算する画素値加算手段として機能させるためのプログラムを記録している。 According to a second recording medium of the present invention, there is provided a computer for decoding encoded data obtained by encoding image data including analog distortion by an encoding device, and a peripheral portion of each block of each frame image of the image data. A plurality of pixels as specific pixels, and among all pixel groups not limited to the specific pixels, adjacent specific pixel groups are grouped, and for each group, pixel values of the specific pixels are vector quantized, A pixel value of each pixel other than the specific pixel in the block is predicted based on a pixel value of the specific pixel vector-quantized in the block, and a predicted pixel value for each pixel other than the specific pixel in the block A difference from a pixel value in the image data is calculated, and the vector quantization of the specific pixel is performed from the encoded data in which the difference is encoded for each block. Separation means for separating selected code information that is information relating to the selected code as a result, inverse vector quantization means for inverse vector quantization of the selected code information separated from the encoded data by the separation means, Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block including the specific pixel, using the pixel value of the specific pixel obtained by inverse vector quantization by the inverse vector quantization means; Differential decoding means for decoding the encoded data from which the selection code information has been separated by the separation means; a predicted pixel value obtained by the prediction means for each pixel other than the specific pixel; and the differential decoding means The program for functioning as a pixel value addition means which adds the difference obtained by decoding is recorded.

本発明の第2のプログラムは、アナログ歪を含む画像データが符号化装置によって符号化されて得られた符号化データを復号するコンピュータを、前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離する分離手段と、前記分離手段により前記符号化データから分離された前記選択コード情報を逆ベクトル量子化する逆ベクトル量子化手段と、前記逆ベクトル量子化手段により逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むブロック内の、前記特定画素以外の各画素の画素値を予測する予測手段と、前記分離手段により前記選択コード情報が分離された前記符号化データを復号する差分復号手段と、前記特定画素以外の各画素について、前記予測手段により得られた予測画素値と、前記差分復号手段により復号されて得られた差分とを加算する画素値加算手段として機能させる。 According to a second program of the present invention, a computer that decodes encoded data obtained by encoding image data including analog distortion by an encoding device is provided on a peripheral portion of each block of each frame image of the image data. A plurality of pixels are specified pixels, a specified pixel group adjacent to each other among all pixel groups not limited to the specified pixel is grouped, and the pixel value of the specified pixel is vector-quantized for each group, The pixel value of each pixel other than the specific pixel in the block is predicted based on the pixel value of the specific pixel that is vector quantized in step, and the predicted pixel value and the pixel value for each pixel other than the specific pixel in the block A difference from a pixel value in the image data is calculated, and from the encoded data obtained by encoding the difference for each block, a vector quantum of the specific pixel is calculated. Separating means for separating selected code information that is information relating to the code selected as a result of the above, and inverse vector quantizing means for inverse vector quantizing the selected code information separated from the encoded data by the separating means; Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block including the specific pixel, using the pixel value of the specific pixel obtained by inverse vector quantization by the inverse vector quantization means Differential decoding means for decoding the encoded data from which the selection code information has been separated by the separation means, predicted pixel values obtained by the prediction means for each pixel other than the specific pixel, and the differential decoding It is made to function as a pixel value addition means which adds the difference obtained by decoding by the means.

本発明の第1の情報処理システムは、符号化部、復号部とを有し、アナログ歪を含む画像データに対して符号化処理および復号処理を繰り返すと前記画像データが劣化するような情報処理システムにおいて、前記符号化部は、前記画像データの各フレーム画像を複数のブロックに分割してブロック化するブロック化手段と、前記ブロック化手段によりブロック化されて得られた各ブロックの周縁部の複数の画素を特定画素とし、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化するベクトル量子化手段と、各ブロックにおいて、前記ベクトル量子化手段によりベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測する予測手段と、前記ブロック内の前記特定画素以外の各画素について、前記予測手段により予測された画素値である予測画素値と前記画像データ中の画素値との差分を算出する差分算出手段と、前記差分算出手段により得られた前記差分を前記ブロック毎に符号化する差分符号化手段とを備える。 The first information processing system of the present invention includes an encoding unit and a decoding unit, and information processing that degrades the image data when the encoding process and the decoding process are repeated for image data including analog distortion. In the system, the encoding unit includes a block unit that divides each frame image of the image data into a plurality of blocks, and a peripheral portion of each block obtained by the block unit. A vector quantizing unit that sets a plurality of pixels as specific pixels, groups specific pixel groups adjacent to each other among all pixel groups not limited to the specific pixels, and vector-quantizes pixel values of the specific pixels for each group; In each block, based on the pixel value of the specific pixel vector-quantized by the vector quantization means, the specific pixel in the block A prediction unit that predicts a pixel value of each pixel outside, a predicted pixel value that is a pixel value predicted by the prediction unit for each pixel other than the specific pixel in the block, and a pixel value in the image data Difference calculation means for calculating the difference between the difference calculation means and difference encoding means for encoding the difference obtained by the difference calculation means for each block.

本発明の第2の情報処理システムは、符号化部、復号部とを有し、アナログ歪を含む画像データに対して符号化処理および復号処理を繰り返すと前記画像データが劣化するような情報処理システムにおいて、前記復号部は、前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離する分離手段と、前記分離手段により前記符号化データから分離された前記選択コード情報を逆ベクトル量子化する逆ベクトル量子化手段と、前記逆ベクトル量子化手段により逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むブロック内の、前記特定画素以外の各画素の画素値を予測する予測手段と、前記分離手段により前記選択コード情報が分離された前記符号化データを復号する差分復号手段と、前記特定画素以外の各画素について、前記予測手段により得られた予測画素値と、前記差分復号手段により復号されて得られた差分とを加算する画素値加算手段とを備える。 A second information processing system according to the present invention includes an encoding unit and a decoding unit, and information processing in which the image data deteriorates when the encoding process and the decoding process are repeated for image data including analog distortion. In the system, the decoding unit includes a plurality of pixels at a peripheral portion of each block of each frame image of the image data as a specific pixel, and a specific pixel group adjacent to each other among all the pixel groups not limited to the specific pixel. A pixel value of each pixel other than the specific pixel in the block based on the pixel value of the specific pixel that is group-quantized, and the pixel value of the specific pixel is vector-quantized for each group A value is predicted, a difference between the predicted pixel value and a pixel value in the image data is calculated for each pixel other than the specific pixel in the block, and the difference is Separation means for separating selected code information, which is information relating to a code selected as a result of vector quantization of the specific pixel, from the encoded data encoded for each block, and from the encoded data by the separation means Inverse vector quantization means for performing inverse vector quantization on the separated selection code information, and using the pixel value of the specific pixel obtained by inverse vector quantization by the inverse vector quantization means, A prediction unit that predicts a pixel value of each pixel other than the specific pixel in a block including the difference decoding unit that decodes the encoded data from which the selection code information is separated by the separation unit; For each pixel, a pixel value that adds the predicted pixel value obtained by the predicting means and the difference obtained by decoding by the differential decoding means And a calculation means.

本発明の符号化装置および方法、第1の記録媒体、並びに第1のプログラムにおいては、入力画像データの各フレーム画像が複数のブロックに分割してブロック化され、ブロック化されて得られた各ブロックの周縁部の複数の画素が特定画素とされ、特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、グループ毎に特定画素の画素値がベクトル量子化され、各ブロックにおいて、ベクトル量子化された特定画素の画素値に基づいて、ブロック内の特定画素以外の各画素の画素値が予測され、ブロック内の特定画素以外の各画素について、予測された画素値である予測画素値と入力画像データ中の画素値との差分が算出され、得られた差分がブロック毎に符号化される。 In the encoding apparatus and method, the first recording medium, and the first program according to the present invention, each frame image of the input image data is divided into a plurality of blocks, and each block image is obtained by being blocked. A plurality of pixels at the peripheral edge of the block are specified pixels, a specific pixel group adjacent to each other among all pixel groups not limited to a specific pixel is grouped, and the pixel value of the specific pixel is vector quantized for each group, In each block, the pixel value of each pixel other than the specific pixel in the block is predicted based on the pixel value of the specific pixel subjected to vector quantization, and the predicted pixel value for each pixel other than the specific pixel in the block The difference between the predicted pixel value and the pixel value in the input image data is calculated, and the obtained difference is encoded for each block.

本発明の復号装置および方法、第2の記録媒体、並びに第2のプログラムにおいては、画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、グループ毎に特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された特定画素の画素値に基づいてブロック内の特定画素以外の各画素の画素値が予測され、ブロック内の特定画素以外の各画素について予測画素値と画像データ中の画素値との差分が算出され、差分がブロック毎に符号化された符号化データから、特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報が分離され、符号化データから分離された選択コード情報が逆ベクトル量子化され、逆ベクトル量子化されて得られた特定画素の画素値が用いられて、特定画素を含むブロック内の、特定画素以外の各画素の画素値が予測され、選択コード情報が分離された符号化データが復号され、特定画素以外の各画素について、得られた予測画素値と、復号されて得られた差分とが加算される。 In the decoding apparatus and method, the second recording medium, and the second program of the present invention, a plurality of pixels at the peripheral edge of each block of each frame image of the image data are set as specific pixels, and are not limited to specific pixels. Specific pixel groups adjacent to each other in the pixel group are grouped, and the pixel value of the specific pixel is vector-quantized for each group, and the specific value in the block is determined based on the pixel value of the specific pixel vector-quantized in each block. Encoding in which the pixel value of each pixel other than the pixel is predicted, the difference between the predicted pixel value and the pixel value in the image data is calculated for each pixel other than the specific pixel in the block, and the difference is encoded for each block Selection code information that is information related to a code selected as a result of vector quantization of a specific pixel is separated from the data, and the selection code is separated from the encoded data. Information is subjected to inverse vector quantization, and the pixel value of a specific pixel obtained by inverse vector quantization is used to predict the pixel value of each pixel other than the specific pixel in the block including the specific pixel. The encoded data from which the information is separated is decoded, and for each pixel other than the specific pixel, the obtained predicted pixel value and the difference obtained by decoding are added.

本発明の第1の情報処理システムにおいては、符号化部により、画像データの各フレーム画像が複数のブロックに分割してブロック化され、ブロック化されて得られた各ブロックの周縁部の複数の画素が特定画素とされ、特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、グループ毎に特定画素の画素値がベクトル量子化され、各ブロックにおいて、ベクトル量子化された特定画素の画素値に基づいて、ブロック内の特定画素以外の各画素の画素値が予測され、ブロック内の特定画素以外の各画素について、予測された画素値である予測画素値と画像データ中の画素値との差分が算出され、得られた差分がブロック毎に符号化される。 In the first information processing system of the present invention, the encoding unit divides each frame image of the image data into a plurality of blocks and blocks the plurality of blocks, and a plurality of peripheral portions of each block obtained by the blocking are obtained. A pixel is a specific pixel, and among all pixel groups that are not limited to a specific pixel, a specific pixel group adjacent to each other is grouped, and the pixel value of the specific pixel is vector-quantized for each group. Based on the pixel value of the specified pixel, the pixel value of each pixel other than the specific pixel in the block is predicted, and for each pixel other than the specific pixel in the block, a predicted pixel value that is a predicted pixel value and an image The difference with the pixel value in the data is calculated, and the obtained difference is encoded for each block.

本発明の第2の情報処理システムにおいては、復号部により、画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、グループ毎に特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された特定画素の画素値に基づいてブロック内の特定画素以外の各画素の画素値が予測され、ブロック内の特定画素以外の各画素について予測画素値と画像データ中の画素値との差分が算出され、差分がブロック毎に符号化された符号化データから、特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報が分離され、符号化データから分離された選択コード情報が逆ベクトル量子化され、逆ベクトル量子化されて得られた特定画素の画素値が用いられて、特定画素を含むブロック内の、特定画素以外の各画素の画素値が予測され、選択コード情報が分離された符号化データが復号され、特定画素以外の各画素について、得られた予測画素値と、復号されて得られた差分とが加算される。 In the second information processing system of the present invention, a plurality of pixels at the peripheral edge of each block of each frame image of the image data are set as specific pixels by the decoding unit , and each other in all pixel groups not limited to the specific pixels. Adjacent specific pixel groups are grouped, and the pixel value of the specific pixel is vector-quantized for each group, and each pixel other than the specific pixel in the block is based on the pixel value of the specific pixel vector-quantized in each block. The pixel value is predicted, the difference between the predicted pixel value and the pixel value in the image data is calculated for each pixel other than the specific pixel in the block, and the specific pixel is calculated from the encoded data obtained by encoding the difference for each block. The selected code information, which is information about the code selected as a result of vector quantization, is separated, and the selected code information separated from the encoded data is inverse vector quantized. The pixel value of the specific pixel obtained by inverse vector quantization is used to predict the pixel value of each pixel other than the specific pixel in the block including the specific pixel, and the selection code information is separated. The decoded data is decoded, and for each pixel other than the specific pixel, the obtained predicted pixel value and the difference obtained by decoding are added.

本発明によれば、アナログ信号を利用したコンテンツデータの不正な複製を抑制することができる。特に、画像が表示されなくなる、回路規模の増大を招く等の不都合を発生させずに、2回目以降の符号化処理および復号処理では画像データを著しく劣化させ、アナログ信号を利用した不正コピーを抑制することができる。   According to the present invention, unauthorized duplication of content data using an analog signal can be suppressed. In particular, without causing inconveniences such as no image being displayed or an increase in circuit scale, the second and subsequent encoding and decoding processes significantly degrade image data and suppress unauthorized copying using analog signals. can do.

以下、本発明の実施の形態について図を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図2は、本発明を適用した画像処理システムの構成例を示す図である。   FIG. 2 is a diagram illustrating a configuration example of an image processing system to which the present invention is applied.

図2に示される画像処理システム30は、再生装置31、表示装置32、および符号化装置33を有しており、符号化されたデジタル画像信号を処理してアナログ画像信号を生成し、その画像を表示したり、そのアナログ画像信号を再度符号化して符号化デジタル画像信号を記録媒体に記録したりするシステムである。   An image processing system 30 shown in FIG. 2 includes a playback device 31, a display device 32, and an encoding device 33, processes an encoded digital image signal to generate an analog image signal, and generates the image. Or the analog image signal is encoded again and the encoded digital image signal is recorded on a recording medium.

再生装置31は、復号部41およびD/A(Digital / Analog)変換部42(以下、D/A42と称する)を有している。復号部41は、図示しない光ディスク等の記録媒体から再生された符号化デジタル画像信号Vcd0を復号し、デジタル画像信号Vdg0を生成する。この復号部41の詳細については後述する。D/A42は、そのデジタル画像信号Vdg0をアナログ信号に変換し、アナログ画像信号Van1を生成する。再生装置31は、そのアナログ画像信号Van1を表示装置32および符号化装置33に供給する。   The playback device 31 includes a decoding unit 41 and a D / A (Digital / Analog) conversion unit 42 (hereinafter referred to as D / A 42). The decoding unit 41 decodes the encoded digital image signal Vcd0 reproduced from a recording medium such as an optical disk (not shown) to generate a digital image signal Vdg0. Details of the decoding unit 41 will be described later. The D / A 42 converts the digital image signal Vdg0 into an analog signal, and generates an analog image signal Van1. The playback device 31 supplies the analog image signal Van1 to the display device 32 and the encoding device 33.

なお、このアナログ画像信号Van1は、アナログ歪みを伴うものである。このアナログ歪みには、例えば、D/A42でアナログ信号に変換する際に高周波成分が除去されることで生じる歪み、D/A42でアナログ信号に変換する際に信号の位相がずれることで生じる歪み等が含まれる。このアナログ歪みによる画像の劣化を評価する方法として、例えば、S/N(Signal-to-Noise)評価や視覚評価(視覚的劣化の評価)等がある。このアナログ歪みは、実際の装置において通常起こりうる自然発生的なものであっても良いし、後述するように意図的に生じさせたものであってもよい。   This analog image signal Van1 is accompanied by analog distortion. The analog distortion includes, for example, distortion caused by removing a high frequency component when converted to an analog signal by the D / A 42, and distortion caused by a phase shift of the signal when converted to an analog signal by the D / A 42. Etc. are included. As a method for evaluating the image degradation due to the analog distortion, for example, there are S / N (Signal-to-Noise) evaluation, visual evaluation (evaluation of visual deterioration), and the like. This analog distortion may be naturally occurring that usually occurs in an actual apparatus, or may be intentionally generated as described later.

表示装置32は、例えばCRT(Cathode Ray Tube)ディスプレイやLCD(Liquid Crystal Display)等からなるディスプレイ43を有しており、再生装置31が出力するアナログ画像信号Van1を取得すると、その画像をディスプレイ43に表示する。   The display device 32 includes a display 43 such as a CRT (Cathode Ray Tube) display, LCD (Liquid Crystal Display), or the like. When the analog image signal Van1 output from the playback device 31 is acquired, the image is displayed on the display 43. To display.

符号化装置33は、A/D(Analog / Digital)変換部44(以下、A/D44と称する)、符号化部45、記録部46、復号部41、D/A42、およびディスプレイ43を有している。符号化装置33は、A/D44において再生装置31より供給されたアナログ画像信号Van1をデジタル画像信号Vdg1に変換した後、符号化部45においてそれを符号化し、記録部46においてその符号化デジタル画像信号Vcd1を記録媒体に記録する。また、符号化装置33は、復号部41において符号化デジタル画像信号Vcd1を再度復号し、復号したデジタル画像信号Vdg2をD/A42においてD/A変換してアナログ画像信号Van2を生成すると、その画像をディスプレイ43に表示する。   The encoding device 33 includes an A / D (Analog / Digital) conversion unit 44 (hereinafter referred to as A / D 44), an encoding unit 45, a recording unit 46, a decoding unit 41, a D / A 42, and a display 43. ing. The encoding device 33 converts the analog image signal Van1 supplied from the playback device 31 in the A / D 44 into a digital image signal Vdg1, then encodes it in the encoding unit 45, and encodes the encoded digital image in the recording unit 46. The signal Vcd1 is recorded on the recording medium. Further, when the encoding device 33 re-decodes the encoded digital image signal Vcd1 in the decoding unit 41 and D / A converts the decoded digital image signal Vdg2 in the D / A 42 to generate the analog image signal Van2, the image Is displayed on the display 43.

A/D44は、再生装置31が出力したアナログ画像信号Van1をデジタル信号に変換し、デジタル画像信号Vdg1を生成する。符号化部45は、そのデジタル画像信号Vdg1を符号化し、符号化デジタル画像信号Vcd1を生成する。この符号化部45の詳細については後述する。記録部46は、例えばハードディスク、半導体メモリ、若しくは、DVD(Digital Versatile Disc)ドライブ等を有しており、符号化部45において生成された符号化デジタル画像信号Vcd1をそれらの記録媒体に記録する。   The A / D 44 converts the analog image signal Van1 output from the playback device 31 into a digital signal, and generates a digital image signal Vdg1. The encoding unit 45 encodes the digital image signal Vdg1 to generate an encoded digital image signal Vcd1. Details of the encoding unit 45 will be described later. The recording unit 46 includes, for example, a hard disk, a semiconductor memory, or a DVD (Digital Versatile Disc) drive, and records the encoded digital image signal Vcd1 generated by the encoding unit 45 on those recording media.

また、この符号化装置33の復号部41は、符号化部45において生成された符号化デジタル画像信号Vcd1を復号し、デジタル画像信号Vdg2を生成する。符号化装置33のD/A42は、符号化装置33の復号部41が復号したデジタル画像信号Vdg2をアナログ画像信号Van2に変換する。符号化装置33のディスプレイ43は、そのアナログ画像信号Van2の画像を表示する。   The decoding unit 41 of the encoding device 33 decodes the encoded digital image signal Vcd1 generated by the encoding unit 45, and generates a digital image signal Vdg2. The D / A 42 of the encoding device 33 converts the digital image signal Vdg2 decoded by the decoding unit 41 of the encoding device 33 into an analog image signal Van2. The display 43 of the encoding device 33 displays the image of the analog image signal Van2.

なお、詳細については後述するが、符号化装置33の符号化部45は、アナログ画像信号Van1に含まれるアナログ歪みを利用することにより、画像信号のコンテンツとしての品質(画像の画質)を大幅に劣化させて符号化する。また、再生装置31や符号化装置33の復号部41もこの符号化部45に対応する復号方法で入力された符号化デジタル画像信号を復号する。   Although details will be described later, the encoding unit 45 of the encoding device 33 uses the analog distortion included in the analog image signal Van1 to significantly improve the quality (image quality) of the image signal content. Degrade and encode. In addition, the decoding unit 41 of the reproduction device 31 and the encoding device 33 also decodes the encoded digital image signal input by the decoding method corresponding to the encoding unit 45.

つまり、図2において、アナログ画像信号Van、デジタル画像信号Vdg、および符号化デジタル画像信号Vcdのそれぞれに対して、各信号の位置により識別用の番号を付してあるが、この番号は、劣化等によってその信号が他の同種の信号と異なる内容の信号であることを示している。例えば、アナログ画像信号Vanの場合、符号化装置33のD/A42が出力するアナログ画像信号Van2は、アナログ歪みを利用して画質を劣化させながら符号化する符号化部45およびその符号化装置45に対応する復号部46を介した後の信号を用いて生成されており、再生装置31のD/A42が出力するアナログ画像信号Van1より劣化した画像情報の信号である。同様に、デジタル画像信号Vdg2の画像もデジタル画像信号Vdg1の画像より劣化しており、そのデジタル画像信号Vdg1の画像もデジタル画像信号Vdg0の画像より劣化している。符号化デジタル画像信号Vcdの場合も同様であり、符号化デジタル画像信号Vcd0よりも符号化デジタル画像信号Vcd1の方が、画像が劣化している。   That is, in FIG. 2, identification numbers are assigned to the analog image signal Van, the digital image signal Vdg, and the encoded digital image signal Vcd depending on the position of each signal. This indicates that the signal is different from other similar signals. For example, in the case of the analog image signal Van, the analog image signal Van2 output from the D / A 42 of the encoding device 33 encodes the analog image signal Van2 while degrading the image quality using analog distortion, and the encoding device 45. Is a signal of image information that is generated by using a signal after passing through the decoding unit 46 corresponding to the above and deteriorated from the analog image signal Van1 output from the D / A 42 of the reproducing device 31. Similarly, the image of the digital image signal Vdg2 is also deteriorated from the image of the digital image signal Vdg1, and the image of the digital image signal Vdg1 is also deteriorated from the image of the digital image signal Vdg0. The same applies to the encoded digital image signal Vcd, and the image of the encoded digital image signal Vcd1 is more deteriorated than the encoded digital image signal Vcd0.

このように画像処理システム30は、再生装置31がアナログ画像信号Van1を出力し、表示装置32がその画像を表示するが、そのアナログ画像信号Van1を利用して符号化装置33が画像データを複製する場合、その画像を劣化させるので、アナログ画像信号Vanを利用した複製を抑制することができる。   As described above, in the image processing system 30, the playback device 31 outputs the analog image signal Van1, and the display device 32 displays the image. The encoding device 33 uses the analog image signal Van1 to copy the image data. In this case, since the image is deteriorated, duplication using the analog image signal Van can be suppressed.

次に、各部の詳細について説明する。最初に、符号化装置33の符号化部45について説明する。図3は、図2の符号化部45の詳細な構成例を説明するブロック図である。符号化部45は、ブロック化部61、ベクトル量子化(VQ)部62(以下、VQ部62と称する)、予測部63、残差算出部64、残差符号化部65、および出力部66を有している。   Next, the detail of each part is demonstrated. First, the encoding unit 45 of the encoding device 33 will be described. FIG. 3 is a block diagram illustrating a detailed configuration example of the encoding unit 45 of FIG. The encoding unit 45 includes a blocking unit 61, a vector quantization (VQ) unit 62 (hereinafter referred to as a VQ unit 62), a prediction unit 63, a residual calculation unit 64, a residual encoding unit 65, and an output unit 66. have.

ブロック化部61は、入力されたデジタル画像信号Vdg1に含まれるフレーム画像データを所定のサイズのブロックに分割する。ブロック化部61は、フレーム画像データ(有効画面の画像信号)を、例えば、図4に示されるように、8画素×8画素の大きさのブロック(BL)に分割する。なお、図4において、白丸はブロックを構成する画素データを示しており、水平方向および垂直方向の直線は、フレーム画像データの一部が水平方向に3ブロック、垂直方向に2ブロック(BL71乃至BL76の合計6ブロック)に分割されている様子を示している。この図4は、フレーム画像データをブロック化する様子を示す模式図であり、フレーム画像データの実際の内容を示すものではない。図3のブロック化部61は、このようにブロック化した画像データをブロック毎にVQ部62に供給する。   The blocking unit 61 divides the frame image data included in the input digital image signal Vdg1 into blocks of a predetermined size. The blocking unit 61 divides the frame image data (the image signal of the effective screen) into blocks (BL) having a size of 8 pixels × 8 pixels, for example, as shown in FIG. In FIG. 4, white circles indicate pixel data constituting the blocks, and the horizontal and vertical straight lines indicate that part of the frame image data is 3 blocks in the horizontal direction and 2 blocks in the vertical direction (BL71 to BL76). (Total 6 blocks). FIG. 4 is a schematic diagram showing how the frame image data is blocked, and does not show the actual contents of the frame image data. 3 supplies the image data thus blocked to the VQ unit 62 for each block.

VQ部62は、ブロック化部61において得られる各ブロックの周縁部の複数の画素を特定画素として特定し、各フレーム画像内に存在する複数の特定画素を、その位置によって所定の範囲毎にグループ化し、そのグループ毎に特定画素の画素値をベクトル量子化する。図5にVQ部62の詳細を示す。図5において、VQ部62は、特定画素データ抽出部81、ベクトル生成部82、画素パターン別コードブック83、およびVQコード決定部84を有している。   The VQ unit 62 specifies a plurality of pixels at the peripheral portion of each block obtained in the blocking unit 61 as specific pixels, and groups a plurality of specific pixels existing in each frame image for each predetermined range according to the position. And vector quantization of the pixel value of the specific pixel for each group. FIG. 5 shows details of the VQ unit 62. 5, the VQ unit 62 includes a specific pixel data extraction unit 81, a vector generation unit 82, a pixel pattern-specific code book 83, and a VQ code determination unit 84.

特定画素データ抽出部81は、ブロック化部61より供給されるブロック毎の画素データから予め定められている特定の画素の画素データを抽出し、それをベクトル生成部82に供給する。例えば、特定画素データ抽出部81は、図6に示されるように、各ブロックの4隅の画素を特定画素とし、その画素データをベクトル生成部82に供給する。図6の場合、特定画素データ抽出部81は、BL71に対して、画素91A乃至画素91Dを特定画素として抽出し、BL72に対して、画素92A乃至画素92Dを特定画素として抽出し、BL73に対して、画素93A乃至画素93Dを特定画素として抽出し、BL74に対して、画素94A乃至画素94Dを特定画素として抽出し、BL75に対して、画素95A乃至画素95Dを特定画素として抽出し、BL76に対して、画素96A乃至画素96Dを特定画素として抽出している。特定画素データ抽出部81は、他のブロックについても同様に特定画素を抽出する。   The specific pixel data extraction unit 81 extracts pixel data of specific pixels determined in advance from the pixel data for each block supplied from the blocking unit 61, and supplies it to the vector generation unit 82. For example, as illustrated in FIG. 6, the specific pixel data extraction unit 81 sets the four corner pixels of each block as specific pixels and supplies the pixel data to the vector generation unit 82. In the case of FIG. 6, the specific pixel data extraction unit 81 extracts the pixels 91A to 91D as specific pixels for BL71, extracts the pixels 92A to 92D as specific pixels for BL72, Then, the pixels 93A to 93D are extracted as specific pixels, the pixels 94A to 94D are extracted as specific pixels to BL74, the pixels 95A to 95D are extracted as specific pixels to BL75, and BL76 On the other hand, the pixels 96A to 96D are extracted as specific pixels. The specific pixel data extraction unit 81 similarly extracts specific pixels for other blocks.

なお、この特定画素は、ブロックのどの位置の画素であってもよいが、後述するように効率よくアナログ信号の位相ずれを利用して画質を劣化させるためには、各ブロックの周縁部の複数の画素(例えば、各ブロックの4隅の画素)を特定画素とするのが望ましい。   The specific pixel may be a pixel at any position in the block. However, in order to efficiently degrade the image quality using the phase shift of the analog signal as described later, a plurality of pixels at the peripheral portion of each block are used. These pixels (for example, pixels at the four corners of each block) are preferably specified pixels.

ベクトル生成部82は、特定画素データ抽出部81により抽出された特定画素の画素データを保持し、ブロック同士が最も近接する画素の画素データ毎にベクトルデータを生成する。つまり、ベクトル生成部82は、フレーム画像内に存在する複数の特定画素を、その位置によって所定の範囲毎にグループ化し、各グループの特定画素の画素値からベクトルデータを生成する。例えば、特定画素データ抽出部81により、特定画素として各ブロックの4隅の画素が特定されている場合、ベクトル生成部82は、隣接する特定画素、すなわち、隣接する隅の画素の集合を1つのグループとし、ベクトルデータを生成する。   The vector generation unit 82 holds the pixel data of the specific pixel extracted by the specific pixel data extraction unit 81, and generates vector data for each pixel data of the pixel whose blocks are closest to each other. That is, the vector generation unit 82 groups a plurality of specific pixels existing in the frame image for each predetermined range according to the position, and generates vector data from the pixel values of the specific pixels in each group. For example, when the specific pixel data extraction unit 81 specifies the four corner pixels of each block as the specific pixel, the vector generation unit 82 sets one set of adjacent specific pixels, that is, adjacent corner pixels as one Group data is generated as a group.

ベクトル生成部82は、その生成したベクトルデータをVQコード決定部84に供給するとともに、そのベクトルデータの種類を示す画素パターン情報を画素パターン別コードブック83に供給する。   The vector generation unit 82 supplies the generated vector data to the VQ code determination unit 84 and supplies pixel pattern information indicating the type of the vector data to the pixel pattern-specific code book 83.

例えば、図6の場合、特定画素データ抽出部81において抽出された特定画素のグループのパターンとしては、画素91D、画素92C、画素94B、および画素95Aのように4画素からなるパターンと、画素91Bおよび画素92Aのように2画素からなるパターンと、画素91Aのように1画素からなるパターンの3パターンが存在する。つまり、フレーム画像データの4隅の特定画素は、ブロックの隅が隣接しないので、1つの画素により構成されるグループとなり、フレーム画像データの上下左右端に位置する特定画素の内、フレーム画像データの4隅の特定画素を除く特定画素は、2つのブロックの隅の画素が隣接するので、2つの画素により構成されるグループとなり、フレーム画像データの上下左右端以外に位置する特定画素は、4つのブロックの隅が隣接するので、4つの画素により構成されるグループとなる。   For example, in the case of FIG. 6, the pattern of the group of specific pixels extracted by the specific pixel data extraction unit 81 includes a pattern composed of four pixels such as the pixel 91D, the pixel 92C, the pixel 94B, and the pixel 95A, and the pixel 91B. In addition, there are three patterns including a pattern composed of two pixels like the pixel 92A and a pattern composed of one pixel like the pixel 91A. That is, the specific pixels at the four corners of the frame image data are grouped by one pixel because the corners of the block are not adjacent to each other. Of the specific pixels located at the top, bottom, left, and right ends of the frame image data, The specific pixels excluding the specific pixels at the four corners are groups formed by two pixels because the pixels at the corners of the two blocks are adjacent to each other, and the specific pixels located at positions other than the upper, lower, left, and right ends of the frame image data are four. Since the corners of the blocks are adjacent to each other, the group is composed of four pixels.

なお、図6において、白丸または黒丸はブロックを構成する画素データを示しており、水平方向および垂直方向の直線は、各ブロックの範囲を示している。この図6は、特定画素の画素データを抽出する様子を示す模式図であり、フレーム画像データの実際の内容を示すものではない。   In FIG. 6, white circles or black circles indicate pixel data constituting the blocks, and horizontal and vertical straight lines indicate ranges of the respective blocks. FIG. 6 is a schematic diagram showing how pixel data of a specific pixel is extracted, and does not show the actual contents of frame image data.

図5に戻り、ベクトル生成部82は、VQコード決定部84にベクトルデータを供給するとともに、VQコード決定部84がそのベクトルデータに対応する正しいVQコードを決定することができるように、そのベクトルデータの構成を示す画素パターン情報を、画素パターン別コードブック83に供給する。   Returning to FIG. 5, the vector generation unit 82 supplies the vector data to the VQ code determination unit 84, and the vector so that the VQ code determination unit 84 can determine the correct VQ code corresponding to the vector data. Pixel pattern information indicating a data configuration is supplied to the pixel pattern-specific code book 83.

画素パターン別コードブック83には、多くの一般的な画像を用いて、例えばLBGアルゴリズム等により学習されたコードブックが予め保持されている。このコードブックは画素のパターン(構成)別に生成され保持されている。画素パターン別コードブック83は、ベクトル生成部82より供給された画素パターン情報に基づいて、ベクトル生成部82により生成されたベクトルデータに対応する構成のコードブックをVQコード決定部84に供給する。つまり、例えば、ベクトル生成部82が、画素91D、画素92C、画素94B、および画素95Aを1つのグループとしてベクトルデータを生成すると、画素パターン別コードブック83は、画素パターン情報に基づいて、4画素用のコードブックをVQコード決定部84に供給する。   In the code book 83 for each pixel pattern, a code book learned using, for example, the LBG algorithm or the like using many common images is stored in advance. This code book is generated and held for each pixel pattern (configuration). Based on the pixel pattern information supplied from the vector generation unit 82, the pixel pattern-specific code book 83 supplies a code book having a configuration corresponding to the vector data generated by the vector generation unit 82 to the VQ code determination unit 84. That is, for example, when the vector generation unit 82 generates vector data with the pixel 91D, the pixel 92C, the pixel 94B, and the pixel 95A as one group, the pixel pattern-specific codebook 83 includes four pixels based on the pixel pattern information. Is supplied to the VQ code determination unit 84.

VQコード決定部84は、画素パターン別コードブック83より供給されたコードブックの中から、ベクトル生成部82より供給されたベクトルデータからのユークリッド距離が最小となるコードを選択することにより、そのVQコードVcdvqを決定する。VQコード決定部84は、そのVQコードを選択コード情報Vcdvqとして出力部66(図3)に供給するとともに、そのVQコードに対応する代表値を予測部63(図3)に供給する。   The VQ code determination unit 84 selects a code that minimizes the Euclidean distance from the vector data supplied from the vector generation unit 82 from among the code books supplied from the pixel pattern-specific code book 83, thereby obtaining the VQ code. Determine the code Vcdvq. The VQ code determination unit 84 supplies the VQ code as selection code information Vcdvq to the output unit 66 (FIG. 3) and supplies a representative value corresponding to the VQ code to the prediction unit 63 (FIG. 3).

図3に戻り、予測部63は、VQ部62より供給されるその代表値から、他の画素の画素値をブロック毎に予測する。予測部63は、図7に示されるように、ブロックの4隅の画素(すなわち、VQ部62より供給される代表値)からブロック内の各画素の値を予測する。つまり、予測部63は、画素101の予測を行う場合、その画素101が含まれるブロックの4隅の画素(図7において黒丸で示される画素)の画素値(ベクトル量子化により得られた代表値)を用いて予測する。   Returning to FIG. 3, the prediction unit 63 predicts pixel values of other pixels for each block from the representative values supplied from the VQ unit 62. As shown in FIG. 7, the prediction unit 63 predicts the value of each pixel in the block from the pixels at the four corners of the block (that is, the representative values supplied from the VQ unit 62). That is, when the prediction unit 63 performs prediction of the pixel 101, the pixel values (representative values obtained by vector quantization) of the pixels at the four corners of the block including the pixel 101 (pixels indicated by black circles in FIG. 7). ) To predict.

例えば、図7において、画素値101を含むブロックの、左上隅の画素の画素値をAとし、右上隅の画素値をBとし、左下隅の画素値をCとし、右下隅の画素値をDとする。なお、この画素値A乃至画素値Dは、いずれも、VQ部62において符号化された画素値(ベクトル量子化により得られた代表値)である。予測部63は、これらの4隅の画素から画素101までの距離a乃至距離dをそれぞれ求め、以下の式(1)を演算し、画素101の予測画素値Zを算出する。   For example, in FIG. 7, the pixel value at the upper left corner of the block including the pixel value 101 is A, the pixel value at the upper right corner is B, the pixel value at the lower left corner is C, and the pixel value at the lower right corner is D. And The pixel values A to D are all pixel values encoded by the VQ unit 62 (representative values obtained by vector quantization). The prediction unit 63 calculates distances a to d from the pixels at the four corners to the pixel 101, calculates the following expression (1), and calculates a predicted pixel value Z of the pixel 101.

Figure 0004552677
Figure 0004552677

距離a乃至距離dの各値は、予測対象となる画素(図7の例の場合、画素101)の、そのブロックにおける位置によって予め決定されるので、予測部63は、VQ部62より供給された代表値(図7の例の場合、画素値A乃至画素値D)を式(1)に代入して演算するだけで容易に予測画素値Zを算出することができる。   Since each value of the distance a to the distance d is determined in advance by the position of the pixel to be predicted (pixel 101 in the example of FIG. 7) in the block, the prediction unit 63 is supplied from the VQ unit 62. The predicted pixel value Z can be easily calculated simply by substituting the calculated representative value (pixel value A to pixel value D in the case of the example in FIG. 7) into Equation (1).

なお、さらに演算を簡略化するために、予測部63は、以下の式(2)を演算し、予測対象画素のブロックの4隅の画素の内、予測対象画素から最も近い画素の画素値Pを選択し、その値を予測画素値Zとするようにしてもよい。   In order to further simplify the calculation, the prediction unit 63 calculates the following expression (2), and the pixel value P of the pixel closest to the prediction target pixel among the four corner pixels of the prediction target pixel block: May be selected and the value may be set as the predicted pixel value Z.

Figure 0004552677
Figure 0004552677

つまり、予測部63は、予測画素値Zは、距離a乃至距離dの最も短い距離に対応する画素の画素値Pに設定する。この画素値Pは、画素値A乃至画素値Dの何れかより選択される。   That is, the prediction unit 63 sets the predicted pixel value Z to the pixel value P of the pixel corresponding to the shortest distance from the distance a to the distance d. The pixel value P is selected from any one of the pixel values A to D.

従って、この場合、予測対象となる画素の位置によって、画素値A乃至画素値Dの何れを予測画素値とするかは予め特定することができる。つまり、予測部63は、事実上、式(2)の演算を前以て行い、VQ部62から供給された代表値(図7の例の場合、画素値A乃至画素値D)を直接予測画素値Zに設定することができるので、さらに容易に各画素の予測画素値Zを求めることができる。   Therefore, in this case, it is possible to specify in advance which of the pixel values A to D is the predicted pixel value depending on the position of the pixel to be predicted. That is, the prediction unit 63 effectively performs the calculation of Expression (2) in advance, and directly predicts the representative values (pixel value A to pixel value D in the example of FIG. 7) supplied from the VQ unit 62. Since the pixel value Z can be set, the predicted pixel value Z of each pixel can be obtained more easily.

なお、図7において、白丸または黒丸はブロックを構成する画素データを示している。この図7は、画素を予測する様子を示す模式図であり、画像データの実際の内容を示すものではない。   In FIG. 7, white circles or black circles indicate pixel data constituting the block. FIG. 7 is a schematic diagram showing how pixels are predicted, and does not show the actual contents of image data.

図3に戻り、予測部63は、各画素について、以上のように予測画素値を求める。ただし、各ブロックの4隅の画素の画素値は、VQ部62より供給された代表値(符号化された画素値)そのものを予測画素値とする。予測部63は、予測画素値を残差算出部64に供給する。   Returning to FIG. 3, the prediction unit 63 obtains a predicted pixel value for each pixel as described above. However, for the pixel values of the pixels at the four corners of each block, the representative value (encoded pixel value) itself supplied from the VQ unit 62 is the predicted pixel value. The prediction unit 63 supplies the predicted pixel value to the residual calculation unit 64.

残差算出部64は、予測部63より供給された予測画素値と符号化部45に入力されたデジタル画像信号Vdg1との差分(残差)を算出する。このときVQ部62において処理された特定画素について残差算出部64が残差(画素値の予測画素値との差分)を算出した場合(すなわち、特定画素の残差が「0」以外の値である場合)、残差符号化部65による符号化においてその画素値に符号化歪みの影響が生じてしまい、例えばデジタルデータのまま再度符号化した場合にVQ部62の出力が変化してしまう恐れがある。従って、このようなデジタルのマルチエンコード・デコードによる劣化を避けるために、残差算出部64は、特定画素については残差(差分値)を「0」に設定する。   The residual calculation unit 64 calculates a difference (residual) between the predicted pixel value supplied from the prediction unit 63 and the digital image signal Vdg1 input to the encoding unit 45. At this time, when the residual calculation unit 64 calculates a residual (difference between the pixel value and the predicted pixel value) for the specific pixel processed in the VQ unit 62 (that is, a value other than “0” for the residual of the specific pixel). In the case of encoding by the residual encoding unit 65, the pixel value is affected by encoding distortion. For example, when the digital data is encoded again, the output of the VQ unit 62 changes. There is a fear. Therefore, in order to avoid such deterioration due to digital multi-encoding / decoding, the residual calculation unit 64 sets the residual (difference value) to “0” for the specific pixel.

図8は、残差算出部64の詳細な構成例を示すブロック図である。図8において、残差算出部64は、画素判定部111、差分値演算部112、差分値設定部113、および残差出力部114を有している。   FIG. 8 is a block diagram illustrating a detailed configuration example of the residual calculation unit 64. In FIG. 8, the residual calculation unit 64 includes a pixel determination unit 111, a difference value calculation unit 112, a difference value setting unit 113, and a residual output unit 114.

画素判定部111は、予測部63より予測画素値を取得し、符号化部45に入力されたデジタル画像信号Vdg1を取得すると、各画素について、特定画素(ブロックの4隅の画素)であるか否かを判定し、特定画素であると判定した画素については、その判定結果を差分値設定部113に供給し、特定画素以外の画素であると判定した画素については、その画素の、デジタル画像信号Vdg1における画素値と予測画素値を差分値演算部112に供給する。   When the pixel determination unit 111 acquires the predicted pixel value from the prediction unit 63 and acquires the digital image signal Vdg1 input to the encoding unit 45, whether each pixel is a specific pixel (pixels at the four corners of the block). For the pixel determined to be a specific pixel, the determination result is supplied to the difference value setting unit 113, and for the pixel determined to be a pixel other than the specific pixel, the digital image of the pixel The pixel value and the predicted pixel value in the signal Vdg1 are supplied to the difference value calculation unit 112.

差分値演算部112は、画素判定部111より供給された画素値と予測画素値の差分値を算出し、得られた差分値を残差出力部114に供給する。つまり、差分値演算部112は、各ブロックの4隅の画素(特定画素)以外の画素について差分値を算出し、それを残差出力部114に供給する。差分値設定部113は、各ブロックの4隅の画素(特定画素)の差分値を「0」に設定し、その差分値を残差出力部114に供給する。   The difference value calculation unit 112 calculates a difference value between the pixel value supplied from the pixel determination unit 111 and the predicted pixel value, and supplies the obtained difference value to the residual output unit 114. That is, the difference value calculation unit 112 calculates a difference value for pixels other than the four corner pixels (specific pixels) of each block and supplies the difference value to the residual output unit 114. The difference value setting unit 113 sets the difference value of the four corner pixels (specific pixels) of each block to “0” and supplies the difference value to the residual output unit 114.

残差出力部114は、差分値演算部112および差分値設定部113より供給された差分値をフレーム毎に残差として出力し、残差符号化部65(図3)に供給する。   The residual output unit 114 outputs the difference value supplied from the difference value calculation unit 112 and the difference value setting unit 113 as a residual for each frame, and supplies the residual value to the residual encoding unit 65 (FIG. 3).

図3に戻り、残差符号化部65は、残差算出部114より供給された残差(デジタル画像信号Vdg1における画素値と予測画素値との差分値)を符号化する。このとき、残差符号化部65は、供給された残差において各ブロックの4隅の値が「0」であることから例えば直交変換であるDST(Discrete Sine Transform:離散サイン変換)を用いる。残差符号化部65は、残差に対してDST変換を行い、量子化した後、ハフマン符号化し、符号化データVcddiffを生成する。   Returning to FIG. 3, the residual encoding unit 65 encodes the residual (the difference value between the pixel value and the predicted pixel value in the digital image signal Vdg1) supplied from the residual calculation unit 114. At this time, the residual encoding unit 65 uses, for example, DST (Discrete Sine Transform), which is orthogonal transformation, because the values of the four corners of each block are “0” in the supplied residual. The residual encoding unit 65 performs DST conversion on the residual, quantizes it, encodes it to Huffman, and generates encoded data Vcddiff.

図9は、残差符号化部65の詳細な構成例を示すブロック図である。図9において、残差符号化部65は、DST変換部121、量子化部122、およびハフマン符号化123を有している。   FIG. 9 is a block diagram illustrating a detailed configuration example of the residual encoding unit 65. In FIG. 9, the residual encoding unit 65 includes a DST conversion unit 121, a quantization unit 122, and a Huffman encoding 123.

DST変換部121は、残差算出部114より供給された残差をブロック毎に符号化する。DST変換とは、直交するサイン(sin)波の重ね合わせで波形を表現するもので、直交変換の一種である。例えば、DST変換部121は、図10Aに示されるようなある画素の列または行において、DST変換を行うことにより、画素値の関数を図10Bに示されるようなサイン波の重ね合わせた波形として表現する。   The DST conversion unit 121 encodes the residual supplied from the residual calculation unit 114 for each block. The DST transform expresses a waveform by superimposing orthogonal sine waves, and is a kind of orthogonal transform. For example, the DST conversion unit 121 performs the DST conversion on a certain pixel column or row as shown in FIG. 10A, thereby converting the function of the pixel value into a waveform in which sine waves as shown in FIG. 10B are superimposed. Express.

つまり、図10Aに示される画素位置をiとし、図10Bに示される基底番号をjとし、図10Aに示される直交変換対象画素の数をNとすると、DST変換部121は、画素値の関数を以下の式(3)に示されるサイン波の重ね合わせとして表す。   That is, if the pixel position shown in FIG. 10A is i, the base number shown in FIG. 10B is j, and the number of orthogonal transformation target pixels shown in FIG. Is expressed as a superposition of sine waves represented by the following formula (3).

Figure 0004552677
Figure 0004552677

図10は、1次元の場合のDST変換の例を示しているが、DST変換部121は、残差の各ブロックに対して2次元のDST変換を行う。   FIG. 10 illustrates an example of DST conversion in the case of one dimension, but the DST conversion unit 121 performs two-dimensional DST conversion on each block of the residual.

2次元においてDST変換を行う場合、DST変換部121は、図11に示されるように、1次元のDST変換を水平方向と垂直方向のそれぞれに施す。つまり、水平画素位置(図11)をiとし、水平方向の基底番号をjとし、垂直画素位置(図11)をkとし、垂直方向の基底番号をl(エル)とし、水平方向の画素数をNhとし、垂直方向の画素数をNvとすると、DST変換部121は、画素値の関数を以下の式(4)に示されるサイン波の重ね合わせとして表す。 When performing DST conversion in two dimensions, the DST conversion unit 121 performs one-dimensional DST conversion in each of the horizontal direction and the vertical direction, as shown in FIG. That is, the horizontal pixel position (FIG. 11) is i, the horizontal base number is j, the vertical pixel position (FIG. 11) is k, the vertical base number is l (el), and the number of pixels in the horizontal direction was a N h, and the number of pixels in the vertical direction and N v, DST conversion unit 121 are expressed as a superposition of sine waves shown the function of the pixel values in equation (4) below.

Figure 0004552677
Figure 0004552677

4隅の残差の値が「0」であるため、DSTで変換されたデータにおいては低周波に値が集中する。従って、DST変換部121は、例えば、DCT(Discrete Cosine Transform:離散コサイン変換)で直交変換するよりも効率の良い直交変換を行うことができる。   Since the residual values at the four corners are “0”, the values are concentrated at low frequencies in the data converted by DST. Accordingly, the DST conversion unit 121 can perform orthogonal transformation more efficiently than orthogonal transformation by DCT (Discrete Cosine Transform), for example.

図9に戻り、DST変換部121は、変換されたデータを量子化部122に供給する。量子化部122は、変換されたデータを、DCTなどの一般的な直交変換を用いた符号化と同様に、量子化テーブルを用いて量子化する。量子化部122は、量子化により得られた量子化係数データをハフマン符号化部123に供給する。ハフマン符号化部123は、量子化部122より供給された各ブロックの量子化係数データをハフマン符号化で符号化し、そのハフマン符号化されたデータを符号化データVcddiffとして出力部66(図3)に供給する。   Returning to FIG. 9, the DST conversion unit 121 supplies the converted data to the quantization unit 122. The quantization unit 122 quantizes the transformed data using a quantization table, similarly to encoding using general orthogonal transform such as DCT. The quantization unit 122 supplies the quantized coefficient data obtained by the quantization to the Huffman coding unit 123. The Huffman encoder 123 encodes the quantized coefficient data of each block supplied from the quantizer 122 by Huffman encoding, and outputs the Huffman encoded data as encoded data Vcddiff as an output unit 66 (FIG. 3). To supply.

なお、以上においてハフマン符号化方法を用いて符号化を行うように説明したが、これに限らず、どのような符号化を用いてもよい。ハフマン符号化方法は、可変長符号化方法であり、可逆圧縮が可能であるので効率よく量子化係数データを符号化することができる。以下においても、ハフマン符号化方法を用いた符号化処理、およびそのハフマン符号化に対応する復号方法であるハフマン復号方法による復号処理について説明するが、いずれの場合も、同様に、ハフマン符号化方法(ハフマン復号方法)以外の方法で符号化(復号)するようにしてもよい。   In the above description, encoding is performed using the Huffman encoding method. However, the present invention is not limited to this, and any encoding may be used. The Huffman encoding method is a variable-length encoding method and can perform lossless compression, and thus can efficiently encode quantized coefficient data. In the following, the encoding process using the Huffman encoding method and the decoding process by the Huffman decoding method, which is a decoding method corresponding to the Huffman encoding, will be described. You may make it encode (decode) by methods other than (Huffman decoding method).

出力部66は、VQ部62より供給された選択コード情報Vcdvqと残差符号化部65より供給された符号化データVcddiffの2つを符号化デジタル画像信号Vcd1として記録部46および復号部41(いずれも図2)に供給する。   The output unit 66 uses the selected code information Vcdvq supplied from the VQ unit 62 and the encoded data Vcddiff supplied from the residual encoding unit 65 as an encoded digital image signal Vcd1 as a recording unit 46 and a decoding unit 41 ( Both are supplied to FIG.

次に、再生装置31および符号化装置33の復号部41の詳細について説明する。図12は、復号部41の詳細な構成例を示すブロック図である。図12において、復号部41は、データ分解部151、逆ベクトル量子化(VQ)部152(以下、逆VQ部152と称する)、予測部153、残差復号部154、画素値加算部155、およびブロック分解部156を有している。   Next, details of the decoding unit 41 of the reproduction device 31 and the encoding device 33 will be described. FIG. 12 is a block diagram illustrating a detailed configuration example of the decoding unit 41. In FIG. 12, the decoding unit 41 includes a data decomposition unit 151, an inverse vector quantization (VQ) unit 152 (hereinafter referred to as an inverse VQ unit 152), a prediction unit 153, a residual decoding unit 154, a pixel value addition unit 155, And a block disassembly unit 156.

データ分解部151は、入力された符号化デジタル信号Vcd(再生装置31の複合部41の場合Vcd0、符号化装置33の復号部41の場合Vcd1)を取得すると、それを符号化データVcddiffと選択コード情報Vcdvqに分離し、選択コード情報Vcdvqを逆ベクトル量子化(VQ)部152(以下、逆VQ部152と称する)に供給するとともに、符号化データVcddiffを残差復号部154に供給する。   When the data decomposing unit 151 obtains the input encoded digital signal Vcd (Vcd0 in the case of the composite unit 41 of the reproducing device 31 and Vcd1 in the case of the decoding unit 41 of the encoding device 33), the data decomposing unit 151 selects it as encoded data Vcddiff. The code information Vcdvq is separated, and the selected code information Vcdvq is supplied to the inverse vector quantization (VQ) unit 152 (hereinafter referred to as the inverse VQ unit 152), and the encoded data Vcddiff is supplied to the residual decoding unit 154.

逆VQ部152は、図示は省略するが、VQ部62が有する画素パターン別コードブック83と同様のコードブックを有しており、選択コード情報Vcdvqをデータ分解部151より取得すると、その選択コード情報Vcdvqのコードに対応する代表値をそのコードブックから選択し、それを予測部153に出力する。つまり、逆VQ部152は、供給された選択コード情報Vcdvqに基づいて特定画素の画素値とする代表値を算出し、それを予測部153に供給する。   Although not shown, the inverse VQ unit 152 has a code book similar to the pixel pattern-specific code book 83 of the VQ unit 62. When the selection code information Vcdvq is acquired from the data decomposition unit 151, the selection code A representative value corresponding to the code of the information Vcdvq is selected from the code book, and is output to the prediction unit 153. That is, the inverse VQ unit 152 calculates a representative value as a pixel value of the specific pixel based on the supplied selection code information Vcdvq, and supplies it to the prediction unit 153.

予測部153は、符号化部45の予測部63(図3)と同様に構成され、予測部63と同様の処理を行う。つまり予測部153は、逆VQ部152より供給された特定画素の画素値(選択コード情報Vcdvqのコードに対応する代表値)に基づいて、特定画素以外の画素の画素値を予測する(予測画素値を算出する)。なお、特定画素については、予測部153は、逆VQ部152より供給された代表値を予測画素値とする。予測部153は、以上のように算出した予測画素値を画素値加算部155に供給する。   The prediction unit 153 is configured in the same manner as the prediction unit 63 (FIG. 3) of the encoding unit 45, and performs the same processing as the prediction unit 63. That is, the prediction unit 153 predicts pixel values of pixels other than the specific pixel based on the pixel value of the specific pixel supplied from the inverse VQ unit 152 (representative value corresponding to the code of the selection code information Vcdvq) (prediction pixel). Value). For the specific pixel, the prediction unit 153 uses the representative value supplied from the inverse VQ unit 152 as the predicted pixel value. The prediction unit 153 supplies the predicted pixel value calculated as described above to the pixel value addition unit 155.

残差復号部154は、データ分解部151より供給された符号化データVcddiffを、符号化部45の残差符号化部65(図3)による符号化方法に対応する方法で復号する。例えば、残差符号化部65の符号化が例えばDSTの場合、残差復号部154は、エントロピー符号化信号(例えばハフマン符号化信号である)を復号する可変長復号を行い、各ブロックの量子化された係数データに対して逆量子化を行って、各ブロックの係数データを算出し、その各ブロックの係数データに対して、ブロック毎に逆DSTを行って画素データ(残差)を得る。   The residual decoding unit 154 decodes the encoded data Vcddiff supplied from the data decomposing unit 151 by a method corresponding to the encoding method by the residual encoding unit 65 (FIG. 3) of the encoding unit 45. For example, when the encoding of the residual encoding unit 65 is, for example, DST, the residual decoding unit 154 performs variable length decoding for decoding an entropy encoded signal (for example, a Huffman encoded signal), and performs quantum quantization for each block. The quantized coefficient data is inversely quantized to calculate coefficient data of each block, and the coefficient data of each block is subjected to inverse DST for each block to obtain pixel data (residual). .

図13は、残差復号部154の詳細な構成例を示すブロック図である。   FIG. 13 is a block diagram illustrating a detailed configuration example of the residual decoding unit 154.

図13において残差復号部154は、ハフマン復号部161、逆量子化部162、およびIDST(Inverse Discrete Sine Transform:逆離散サイン変換)変換部163を有している。   In FIG. 13, the residual decoding unit 154 includes a Huffman decoding unit 161, an inverse quantization unit 162, and an IDST (Inverse Discrete Sine Transform) conversion unit 163.

ハフマン復号部161は、データ分解部151(図12)より供給された符号化データVcddiffを取得すると、その符号化データVcddiffを、残差符号化部65のハフマン符号化部123(図9)によるハフマン符号化方法に対応する復号方法で復号し、量子化係数データを得ると、それを逆量子化部162に供給する。   When the Huffman decoding unit 161 acquires the encoded data Vcddiff supplied from the data decomposing unit 151 (FIG. 12), the Huffman encoding unit 123 (FIG. 9) of the residual encoding unit 65 converts the encoded data Vcddiff into the Huffman encoding unit 123. When decoding is performed by a decoding method corresponding to the Huffman encoding method and quantized coefficient data is obtained, the quantized coefficient data is supplied to the inverse quantization unit 162.

逆量子化部162は、残差符号化部65の量子化部122(図9)が有する量子化テーブルと同様の量子化テーブル(いずれも図示せず)を有し、ハフマン復号部161より供給された量子化係数データを、その量子化テーブルを用いて逆量子化し、DST変換された画素値のデータである、各ブロックの係数データを得る。逆量子化部162は、その係数データをIDST変換部163に供給する。   The inverse quantization unit 162 has a quantization table (none of which is shown) similar to the quantization table of the quantization unit 122 (FIG. 9) of the residual encoding unit 65, and is supplied from the Huffman decoding unit 161. The quantized coefficient data is inversely quantized using the quantization table, and coefficient data of each block, which is DST-converted pixel value data, is obtained. The inverse quantization unit 162 supplies the coefficient data to the IDST conversion unit 163.

IDST変換部163は、逆量子化部162より供給された係数データを取得すると、その係数データに対してブロック毎に、残差符号化部65のDST変換部121(図9)によるDST変換処理に対応する方法で逆DST変換処理を行い、各ブロックの画素データを得る。IDST変換部163は、その画素データ(残差)を画素値加算部155(図12)に供給する。   When the IDST conversion unit 163 acquires the coefficient data supplied from the inverse quantization unit 162, the DST conversion process by the DST conversion unit 121 (FIG. 9) of the residual encoding unit 65 is performed on the coefficient data for each block. Inverse DST conversion processing is performed by a method corresponding to the above to obtain pixel data of each block. The IDST conversion unit 163 supplies the pixel data (residual) to the pixel value addition unit 155 (FIG. 12).

図12に戻り、このように残差復号部154は、符号化データVcddiffより残差を算出し、その得られた残差を画素値加算部155に供給する。   Returning to FIG. 12, the residual decoding unit 154 calculates the residual from the encoded data Vcddiff in this way, and supplies the obtained residual to the pixel value adding unit 155.

画素値加算部155は、残差復号部154より供給された残差の各画素データに対して、同じ画素の、予測部153より供給された予測画素値を加算する。なお、このとき、画素値加算部155は、逆VQ部152において復号された画素データ(特定画素)に関しては残差の加算処理を行わない。   The pixel value adding unit 155 adds the prediction pixel value supplied from the prediction unit 153 of the same pixel to each pixel data of the residual supplied from the residual decoding unit 154. At this time, the pixel value addition unit 155 does not perform a residual addition process on the pixel data (specific pixel) decoded by the inverse VQ unit 152.

図14は、この画素値加算部155の詳細な構成例を示すブロック図である。図14において、画素値加算部155は、画素判定部171、残差設定部172、加算値演算部173、および順序整列部174を有している。   FIG. 14 is a block diagram showing a detailed configuration example of the pixel value adding unit 155. As shown in FIG. In FIG. 14, the pixel value addition unit 155 includes a pixel determination unit 171, a residual setting unit 172, an addition value calculation unit 173, and an order alignment unit 174.

画素判定部171は、予測部153より供給された予測画素値および残差復号部154より供給された残差に基づいて、処理対象の画素がブロックの4隅の画素(特定画素)であるか否かを判定する。画素判定部171は、処理対象の画素がブロックの4隅の画素(特定画素)であると判定した場合その判定結果を残差設定部172に供給し、処理対象の画素がブロックの4隅の画素(特定画素)でないと判定した場合残差を加算値演算部173に供給する。   Based on the prediction pixel value supplied from the prediction unit 153 and the residual supplied from the residual decoding unit 154, the pixel determination unit 171 determines whether the pixel to be processed is a pixel (specific pixel) at the four corners of the block. Determine whether or not. When the pixel determination unit 171 determines that the pixel to be processed is a pixel (specific pixel) at the four corners of the block, the pixel determination unit 171 supplies the determination result to the residual setting unit 172, and the pixel to be processed is at the four corners of the block. If it is determined that the pixel is not a pixel (specific pixel), the residual is supplied to the added value calculation unit 173.

残差設定部172は、画素判定部171より処理対象の画素がブロックの4隅の画素(特定画素)であるとの判定結果を取得すると、デジタルのマルチエンコード・デコードによる劣化を避けるために、その画素の残差を所定の値(例えば「0」)に設定し、その残差を加算値演算部173に供給する。   When the residual setting unit 172 obtains a determination result that the pixel to be processed is a pixel at the four corners of the block (specific pixel) from the pixel determination unit 171, in order to avoid deterioration due to digital multi-encoding / decoding, The residual of the pixel is set to a predetermined value (for example, “0”), and the residual is supplied to the addition value calculation unit 173.

加算値演算部173は、予測画素値に、画素判定部171または残差設定部172より供給された残差を加算し、その加算結果を順序整列部174に供給する。   The addition value calculation unit 173 adds the residual supplied from the pixel determination unit 171 or the residual setting unit 172 to the predicted pixel value, and supplies the addition result to the order alignment unit 174.

順序整列部174は、加算値演算部173より供給される各画素値の順番をラスター走査の順番に並べ替える。そして、その順番を並び替えた各画素値(画像データ)をブロック分解部156(図12)に供給する。   The order arranging unit 174 rearranges the order of the pixel values supplied from the addition value calculating unit 173 in the order of raster scanning. Then, each pixel value (image data) in which the order is rearranged is supplied to the block decomposing unit 156 (FIG. 12).

このように画素値加算部155は、ブロックの4隅の画素(特定画素)については、残差の値を「0」とし、予測画素値に残差を加算しない。このようにすることにより画素値加算部155は、符号化歪みを抑え、デジタルのマルチエンコード・デコードによる劣化を抑制することができる。   As described above, the pixel value addition unit 155 sets the residual value to “0” for the pixels (specific pixels) at the four corners of the block, and does not add the residual to the predicted pixel value. By doing so, the pixel value adding unit 155 can suppress encoding distortion and suppress deterioration due to digital multi-encoding / decoding.

図12に戻り、ブロック分解部156は、各ブロックの画素データをブロック化前の位置に戻し、デジタル画像信号Vdg(再生装置31の場合Vdg0、符号化装置33の場合Vdg2)として出力する。   Returning to FIG. 12, the block decomposing unit 156 returns the pixel data of each block to the position before blocking, and outputs it as a digital image signal Vdg (Vdg0 in the case of the playback device 31 and Vdg2 in the case of the encoding device 33).

次に、以上のような画像処理システム30の各装置により実行される処理について説明する。   Next, processing executed by each device of the image processing system 30 as described above will be described.

最初に符号化装置33の符号化部45により実行される符号化処理について図15のフローチャートを参照して説明する。   First, encoding processing executed by the encoding unit 45 of the encoding device 33 will be described with reference to the flowchart of FIG.

符号化処理が開始されると、符号化処理部45のブロック化部61は、最初にステップS1において、デジタル画像信号Vdg1を取得し、その取得したデジタル画像信号Vdg1に含まれる各フレーム画像データを所定の大きさのブロックに分割し、それをVQ部62に供給するとともに、処理をステップS2に進める。   When the encoding process is started, the blocking unit 61 of the encoding processing unit 45 first acquires the digital image signal Vdg1 in step S1, and each frame image data included in the acquired digital image signal Vdg1. The block is divided into blocks of a predetermined size, supplied to the VQ unit 62, and the process proceeds to step S2.

次にステップS2において、VQ部62は、供給されたブロック単位の画像データを用いて、各ブロックの4隅の画素(特定画素)を抽出し、ベクトル量子化処理を実行することにより、各ブロックの4隅の画素(特定画素)で構成される各グループに対してベクトル量子化を施す。このベクトル量子化処理の詳細については後述する。VQ部62は、ベクトル量子化を行うと、得られたVQコードを選択コード情報Vcdvqとして出力部66(図3)に供給するとともに、そのVQコードに対応する代表値を予測部63(図3)に供給し、処理をステップS3に進める。   Next, in step S2, the VQ unit 62 extracts the pixels (specific pixels) at the four corners of each block using the supplied block-unit image data, and executes a vector quantization process to obtain each block. Vector quantization is applied to each group composed of the four corner pixels (specific pixels). Details of the vector quantization processing will be described later. When the vector quantization is performed, the VQ unit 62 supplies the obtained VQ code to the output unit 66 (FIG. 3) as selection code information Vcdvq, and also represents a representative value corresponding to the VQ code to the prediction unit 63 (FIG. 3). ) And the process proceeds to step S3.

ステップS3において、予測部63は、ブロック内の、4隅の画素(特定画素)以外の各画素の画素値を予測し、その予測結果を残差算出部64に供給する。また、予測部63は、処理対象の画素がベクトルの4隅の画素(特定画素)である場合、VQ部62より供給された代表値を予測結果として残差算出部64に供給する。予測部63は、予測処理が終了すると、処理をステップS4に進める。   In step S <b> 3, the prediction unit 63 predicts pixel values of pixels other than the four corner pixels (specific pixels) in the block, and supplies the prediction result to the residual calculation unit 64. The prediction unit 63 supplies the representative value supplied from the VQ unit 62 to the residual calculation unit 64 as a prediction result when the pixel to be processed is a pixel at the four corners of the vector (specific pixel). When the prediction process ends, the prediction unit 63 advances the process to step S4.

ステップS4において、残差算出部64は残差算出処理を行い、予測部63より予測結果として供給される予測画素値と、デジタル画像信号Vdg1の画像データから残差を算出し、その残差を残差符号化部65に供給する。残差算出処理の詳細については後述する。残差算出処理を終了すると残差算出部64は、処理をステップS5に進める。   In step S4, the residual calculation unit 64 performs a residual calculation process, calculates a residual from the prediction pixel value supplied as a prediction result from the prediction unit 63 and the image data of the digital image signal Vdg1, and calculates the residual. This is supplied to the residual encoding unit 65. Details of the residual calculation process will be described later. When the residual calculation process ends, the residual calculation unit 64 advances the process to step S5.

ステップS5において、残差符号化部65は、残差符号化処理を実行し、残差算出部64より供給された残差を符号化し、符号化データVcddiffを生成する。残差符号化処理の詳細については後述する。残差符号化部65は、符号化データVcddiffを生成すると、それを出力部66に供給し、処理をステップS6に進める。   In step S5, the residual encoding unit 65 performs a residual encoding process, encodes the residual supplied from the residual calculation unit 64, and generates encoded data Vcddiff. Details of the residual encoding process will be described later. When the residual encoding unit 65 generates the encoded data Vcddiff, the residual encoding unit 65 supplies the encoded data Vcddiff to the output unit 66, and the process proceeds to step S6.

ステップS6において、出力部66は、残差符号化部65より供給された符号化データVcddiffと、VQ部62より供給された選択コード情報Vcdvqを、符号化デジタル画像信号Vcd1として出力し、それを記録部46および復号部41に供給する。符号化デジタル画像信号Vcd1を出力すると、出力部66は、ステップS7において、符号化処理を終了するか否かを判定し、例えば全フレームについての処理が終了しておらず、符号化処理を終了しないと判定した場合、出力部66は、処理をステップS1に戻し、それ以降の処理を繰り返す。   In step S6, the output unit 66 outputs the encoded data Vcddiff supplied from the residual encoding unit 65 and the selection code information Vcdvq supplied from the VQ unit 62 as an encoded digital image signal Vcd1, and outputs it. The data is supplied to the recording unit 46 and the decoding unit 41. When the encoded digital image signal Vcd1 is output, the output unit 66 determines in step S7 whether or not to end the encoding process. For example, the processing for all the frames has not been completed, and the encoding process is ended. When it determines with not, the output part 66 returns a process to step S1, and repeats the process after it.

また、ステップS7において、全フレーム対する処理が終了したり、ユーザ指示等に基づいたりして符号化処理を終了すると判定した場合、出力部66は、符号化処理を終了する。   If it is determined in step S7 that the process for all frames is completed or the encoding process is ended based on a user instruction or the like, the output unit 66 ends the encoding process.

次に、図15のステップS2において実行されるベクトル量子化処理の詳細について図16のフローチャートを参照して説明する。   Next, details of the vector quantization processing executed in step S2 of FIG. 15 will be described with reference to the flowchart of FIG.

ベクトル量子化処理が開始されると、特定画素データ抽出部81は、ステップS21において、供給されたブロックの4隅の画素の画素値を抽出し、それをベクトル生成部82に供給する。ベクトル生成部82は、ステップS22において、抽出した特定画素をその位置によって所定の範囲毎にグループ化し、各グループについてベクトルを生成し、処理をステップS23に進める。   When the vector quantization process is started, the specific pixel data extraction unit 81 extracts the pixel values of the four corner pixels of the supplied block and supplies them to the vector generation unit 82 in step S21. In step S22, the vector generation unit 82 groups the extracted specific pixels for each predetermined range according to the position, generates a vector for each group, and advances the process to step S23.

ステップS23において、画素パターン別コードブック83は、ベクトル生成部82によってベクトルが生成されたグループである処理対象グループの画素パターンに基づいて、使用するコードブックの種類を選択し、処理をステップS24に進める。ステップS24において、VQコード決定部84は、コードブックに基づいてベクトルに対応するVQコードを決定する。また、このとき、VQコード決定部84は、VQコードに対応する代表値を決定する。   In step S23, the code book 83 for each pixel pattern selects the type of code book to be used based on the pixel pattern of the processing target group that is the group in which the vector is generated by the vector generation unit 82, and the process proceeds to step S24. Proceed. In step S24, the VQ code determination unit 84 determines a VQ code corresponding to the vector based on the code book. At this time, the VQ code determination unit 84 determines a representative value corresponding to the VQ code.

VQコード決定部84は、ベクトル量子化処理を終了するか否かを判定し、未処理のグループが存在し終了しないと判定した場合、処理をステップS23に戻し、それ以降の処理を繰り返す。また、ステップS25において、全フレームの全グループについて処理を終了し、ベクトル量子化処理を終了すると判定した場合、VQコード決定部84は、ベクトル量子化処理を終了し、図15のステップS2に処理を戻し、それ以降の処理を実行させる。   The VQ code determination unit 84 determines whether or not to end the vector quantization process. If it is determined that there is an unprocessed group and does not end, the process returns to step S23 and the subsequent processes are repeated. If it is determined in step S25 that the process is completed for all groups in all frames and the vector quantization process is ended, the VQ code determination unit 84 ends the vector quantization process and performs the process in step S2 of FIG. Is returned, and the subsequent processing is executed.

次に、図15のステップS4において実行される残差算出処理の詳細について図17のフローチャートを参照して説明する。   Next, details of the residual calculation process executed in step S4 of FIG. 15 will be described with reference to the flowchart of FIG.

デジタル画像信号Vdg1の画像データおよび予測画素値を取得すると、画素判定部111は、ステップS41において、残差を算出する処理対象の画素(対象画素)の位置を確認する。ステップS42において、画素判定部111は、対象画素がブロックの4隅の画素(特定画素)であるか否かを判定する。   When the image data and the predicted pixel value of the digital image signal Vdg1 are acquired, the pixel determination unit 111 confirms the position of the processing target pixel (target pixel) for calculating the residual in step S41. In step S42, the pixel determination unit 111 determines whether the target pixel is a pixel (specific pixel) at four corners of the block.

ブロックの4隅の画素でないと判定した場合、画素判定部111は、処理をステップS43に進める。ステップS43において、差分値演算部112は、画像データにおける画素値と予測画素値の差分値を演算し、処理をステップS45に進める。   If it is determined that the pixel is not a pixel at the four corners of the block, the pixel determination unit 111 advances the process to step S43. In step S43, the difference value calculation unit 112 calculates the difference value between the pixel value and the predicted pixel value in the image data, and the process proceeds to step S45.

また、ステップS42において、ブロックの4隅の画素であると判定した場合、画素判定部111は、処理をステップS44に進める。ステップS44において、差分値設定部113は、差分値を「0」に設定し(所定の値に設定し)、処理をステップS45に進める。   If it is determined in step S42 that the pixel is at the four corners of the block, the pixel determination unit 111 advances the process to step S44. In step S44, the difference value setting unit 113 sets the difference value to “0” (set to a predetermined value), and the process proceeds to step S45.

ステップS45において残差出力部114は、ステップS43の処理またはステップS44の処理により得られた差分値を残差として出力し、残差符号化部65に供給する。ステップS46において、残差出力部114は、残差算出処理を終了するか否かを判定し、全フレームの全画素について残差を算出しておらず、残差算出処理を終了しないと判定した場合、処理をステップS41に戻し、それ以降の処理を繰り返す。また、ステップS46において、残差算出処理を終了すると判定した場合、残差算出処理を終了し、処理を図15のステップS4に戻し、それ以降の処理を実行させる。   In step S45, the residual output unit 114 outputs the difference value obtained by the process of step S43 or the process of step S44 as a residual, and supplies the residual value to the residual encoding unit 65. In step S <b> 46, the residual output unit 114 determines whether or not to end the residual calculation process, and determines that the residual is not calculated for all pixels in all frames and does not end the residual calculation process. If so, the process returns to step S41, and the subsequent processes are repeated. If it is determined in step S46 that the residual calculation process is to be terminated, the residual calculation process is terminated, the process returns to step S4 in FIG. 15, and the subsequent processes are executed.

次に、図15のステップS5において実行される残差符号化処理の詳細について図18のフローチャートを参照して説明する。   Next, details of the residual encoding process executed in step S5 of FIG. 15 will be described with reference to the flowchart of FIG.

残差符号化処理が開始されると、DST変換部121は、ステップS61において、残差算出部64より供給された残差に対してDST変換処理を行い、ステップS62に処理を進める。ステップS62において、量子化部122は、DST変換された係数データに対して量子化処理を行い、処理をステップS63に進める。ステップS63において、ハフマン符号化部123は、量子化により得られた量子化係数データに対してハフマン符号化処理を行い、符号化データVcddiffを生成し、それを出力部66に供給する。   When the residual encoding process is started, the DST conversion unit 121 performs DST conversion processing on the residual supplied from the residual calculation unit 64 in step S61, and advances the process to step S62. In step S62, the quantization unit 122 performs a quantization process on the DST-transformed coefficient data, and the process proceeds to step S63. In step S <b> 63, the Huffman encoding unit 123 performs Huffman encoding processing on the quantized coefficient data obtained by the quantization, generates encoded data Vcddiff, and supplies it to the output unit 66.

ステップS64において、ハフマン符号化部123は、残差符号化処理を終了するか否かを判定し、符号化していない残差データが存在し、残差符号化処理を終了しないと判定した場合、ハフマン符号化部123は、処理をステップS61に戻し、それ以降の処理を繰り返す。また、ステップS64において、全ての残差データの符号化が終了し、残差符号化処理を終了すると判定した場合、ハフマン符号化部123は、残差符号化処理を終了し、図15のステップS5に処理を戻し、それ以降の処理を実行させる。   In step S64, the Huffman encoding unit 123 determines whether or not to end the residual encoding process, and when it is determined that there is residual data that has not been encoded and the residual encoding process is not to be ended. The Huffman encoding unit 123 returns the process to step S61 and repeats the subsequent processes. If it is determined in step S64 that all the residual data have been encoded and the residual encoding process is to be ended, the Huffman encoding unit 123 ends the residual encoding process, and steps in FIG. The processing is returned to S5, and the subsequent processing is executed.

以上のように符号化部45は、アナログ信号に生じるホワイトノイズや位相ずれ等のアナログ歪みを積極的に利用し、意図的に大きなアナログ歪みが画像信号に発生するように符号化処理を行うので、符号化処理や復号処理を繰り返す度に画像が大幅に劣化するようにすることができる。   As described above, the encoding unit 45 actively uses analog distortion such as white noise and phase shift generated in the analog signal, and performs encoding processing so that large analog distortion intentionally occurs in the image signal. Each time the encoding process and the decoding process are repeated, the image can be greatly degraded.

例えば、図2の画像処理システム30において、アナログ画像信号Van1が、D/A42によるD/A変換時に信号の位相がずれることで生じる歪みを伴うとすると、A/D44によるA/D変換時のサンプリング位相の揺らぎのために、符号化部45でブロック化されて得られる各ブロックのブロック位置が、1回目の符号化、復号におけるブロック位置に対してずれたものとなる(ブロック位置が毎回異なる)。   For example, in the image processing system 30 of FIG. 2, assuming that the analog image signal Van 1 is distorted due to the signal phase being shifted during D / A conversion by the D / A 42, the analog image signal Van 1 is subjected to A / D conversion by the A / D 44. Due to the sampling phase fluctuation, the block position of each block obtained by blocking by the encoding unit 45 is shifted from the block position in the first encoding and decoding (the block position is different every time). ).

そのため、符号化部45において、1回目にVQ部62で符号化する画素が毎回異なることとなる(特定画素が毎回変化する)。さらに、それらの特定画素は1回以上ハフマン符号化されたものであるため、VQ部62の符号化で用いたコードブック(画素パターン別コードブック83)の性質とは異なるものである。よって1回目に符号化する場合(符号化したことがない画素を符号化する場合)よりも量子化誤差の影響が大きくなる。   For this reason, in the encoding unit 45, the pixels encoded by the VQ unit 62 for the first time are different each time (specific pixels change every time). Furthermore, since these specific pixels are Huffman-encoded one or more times, they are different from the nature of the code book (pixel pattern-specific code book 83) used in the encoding of the VQ unit 62. Therefore, the influence of the quantization error is greater than when encoding for the first time (when encoding a pixel that has not been encoded).

また、符号化部45は、予測部63において、VQ部62により符号化された特定画素の画素値(ベクトル量子化により得られた代表値)を用いて予測を行う。さらに、符号化部45は、残差算出部64において、その予測画素値とデジタル画像信号における画素値との残差を算出するが、位相がずれたことによりデジタル画像信号には1回目の符号化で特定画素になった画素と、そうでない画素とが混在しており、残差において高周波成分が発生する。そのため、残差符号化部65においてその残差を符号化すると、大きな歪みとなる。   In addition, the encoding unit 45 performs prediction using the pixel value (representative value obtained by vector quantization) of the specific pixel encoded by the VQ unit 62 in the prediction unit 63. Further, the encoding unit 45 calculates a residual between the predicted pixel value and the pixel value in the digital image signal in the residual calculation unit 64, but the first code is added to the digital image signal due to a phase shift. Pixels that have become specific pixels due to conversion and pixels that are not are mixed, and a high frequency component is generated in the residual. Therefore, when the residual encoding unit 65 encodes the residual, a large distortion is caused.

以上のように、アナログ歪みを含むデジタル画像信号Vdg1が符号化部45において符号化された画像信号Vcd1を復号して得られるデジタル画像信号Vdg2(符号化装置33の復号部41が出力するデジタル画像信号Vdg2)は、再生装置31の復号部41から得られるデジタル画像信号Vdg0に比べて、大きく劣化したものとなる。   As described above, the digital image signal Vdg2 obtained by decoding the image signal Vcd1 obtained by decoding the digital image signal Vdg1 including analog distortion in the encoding unit 45 (the digital image output by the decoding unit 41 of the encoding device 33). The signal Vdg2) is greatly deteriorated compared to the digital image signal Vdg0 obtained from the decoding unit 41 of the reproducing device 31.

つまり、例えば再生装置31が記録部46より読み出された符号化デジタル画像信号Vcd1を再生する場合、(再生装置31より出力されるアナログ画像信号Van1が2回目以降の符号化処理、および復号処理を経たものである場合)、上述したように符号化部45により符号化され、さらに復号部41により復号されて得られる画像データ(D/A42によりD/A変換されたアナログ画像信号Van2の画像データ)は、3回目以降の符号化処理および復号処理を経たものとなり、その画質はより一層劣化したものとなる。   That is, for example, when the reproduction device 31 reproduces the encoded digital image signal Vcd1 read from the recording unit 46 (the analog image signal Van1 output from the reproduction device 31 is encoded and decoded for the second time or later). The image data encoded by the encoding unit 45 as described above and further decoded by the decoding unit 41 (the image of the analog image signal Van2 D / A converted by the D / A 42) Data) has undergone the third and subsequent encoding processing and decoding processing, and the image quality is further deteriorated.

以上のように、記録部46により記録媒体に記録された符号化デジタル画像信号Vcd1を再生して得られる画像の画質は、再生装置31より出力されるアナログ画像信号Van1による画像に比べて大幅に劣化したものとなる。よって、この符号化装置33は、再生装置31より出力されるアナログ画像信号を、その画像の良好な画質を維持したまま複製することができない。   As described above, the image quality obtained by reproducing the encoded digital image signal Vcd1 recorded on the recording medium by the recording unit 46 is significantly higher than the image by the analog image signal Van1 output from the reproduction device 31. It becomes deteriorated. Therefore, the encoding device 33 cannot replicate the analog image signal output from the reproduction device 31 while maintaining the good image quality of the image.

なお、例えば、従来の方法で符号化処理および復号処理を繰り返し、それとともにA/D変換処理とD/A変換処理を繰り返すことにより、アナログ画像信号にはノイズ成分が生じるので、その画質は徐々に劣化するが、これは単にノイズ成分が蓄積されていくのみであり、本発明を適用した画像処理システム30による符号化処理および復号処理とは異なる。   Note that, for example, a noise component is generated in an analog image signal by repeating the encoding process and the decoding process with a conventional method, and simultaneously repeating the A / D conversion process and the D / A conversion process, so that the image quality gradually increases. However, this is merely the accumulation of noise components, which is different from the encoding processing and decoding processing by the image processing system 30 to which the present invention is applied.

つまり単にノイズ成分が蓄積される場合の画質の劣化は、S/N比が十分低ければ、通常、画像が破綻することはない(絵の内容を理解できなくなることはない)。また、そのノイズ成分の除去(画質を向上させること)も容易である。これに対して本発明の符号化処理においては、上述したように、アナログ歪みを利用して、大きな歪みを生成し、画像を破綻させる(画質を大幅に劣化させる)ので、従来の方法の「単にノイズ量が増えS/N比が高くなる」とは異なる効果を得ることができる。   In other words, image quality degradation when the noise component is simply accumulated usually does not cause the image to break down if the S / N ratio is sufficiently low (the picture content cannot be understood). Further, it is easy to remove the noise component (improve image quality). On the other hand, in the encoding process of the present invention, as described above, analog distortion is used to generate a large distortion and corrupt the image (the image quality is greatly degraded). It is possible to obtain an effect different from “simply increasing the amount of noise and increasing the S / N ratio”.

また、このように符号化処理において画質を大幅に劣化させるので、例えば、表示装置32がディスプレイ43に画像を表示させるときのように、複製前の画像信号の画像は破綻せずに正常に表示される。   In addition, since the image quality is greatly deteriorated in the encoding process in this way, the image of the image signal before duplication is displayed normally without failure as in the case where the display device 32 displays an image on the display 43, for example. Is done.

つまり、符号化部45は、スクランブル処理や雑音情報を埋め込む等の特別な処理を必要とせずに、アナログ信号の良好な品質の複製のみを防止することができる。これにより、符号化装置33は、画像が表示されなくなる、回路規模の増大を招く等の不都合を発生させずに、アナログ信号を利用した不正コピーを抑制することができる。   That is, the encoding unit 45 can prevent only a good quality copy of the analog signal without requiring a special process such as a scramble process or embedding noise information. As a result, the encoding device 33 can suppress illegal copying using an analog signal without causing inconveniences such as an image not being displayed and an increase in circuit scale.

なお、仮に、アナログ歪みがない場合(例えば、復号部41が出力するデジタル画像信号Vdg0を直接符号化する場合)、信号に位相ずれが生じないため、1回目の符号化処理においてVQ部62により符号化された画素(特定画素)は、2回目の符号化処理においても符号化される(1回目の符号化処理において特定画素とされた画素は、2回目の符号化処理においても特定画素とされる)。また、この画素の符号化された画素値(コード)は復号処理においても利用されるため、何回目のベクトル量子化であっても、1回目と全く同じ結果が得られる。従って、それ以降の処理の結果も1回目とほぼ同じになり、符号化部45は、何回目の符号化処理であっても、略同一な符号化データを得ることができる。換言すると、復号部41は、何回目の復号処理であっても、略同一な符号化データを復号することになり、通常の品質での再生が可能となる。   If there is no analog distortion (for example, when the digital image signal Vdg0 output from the decoding unit 41 is directly encoded), there is no phase shift in the signal, so that the VQ unit 62 performs the first encoding process. The encoded pixel (specific pixel) is also encoded in the second encoding process (a pixel that is a specific pixel in the first encoding process is also a specific pixel in the second encoding process). ) Since the encoded pixel value (code) of this pixel is also used in the decoding process, the same result as the first time can be obtained regardless of the number of times of vector quantization. Accordingly, the result of the subsequent processing is also substantially the same as the first time, and the encoding unit 45 can obtain substantially the same encoded data regardless of the number of times of the encoding processing. In other words, the decoding unit 41 decodes substantially the same encoded data regardless of the number of decoding processes, and can be reproduced with normal quality.

次に、図19のフローチャートを参照して、復号部41(図2)による復号処理の流れの例を説明する。   Next, an example of the flow of decoding processing by the decoding unit 41 (FIG. 2) will be described with reference to the flowchart of FIG.

復号処理が開始されると、最初に、データ分解部151(図12)は、ステップS81において、符号化デジタル画像信号Vcdを取得し、その信号に含まれる符号化データと選択コード情報を抽出し、それぞれに分離する。   When the decoding process is started, first, in step S81, the data decomposing unit 151 (FIG. 12) acquires the encoded digital image signal Vcd, and extracts the encoded data and selection code information included in the signal. , Separate into each.

ステップS82において、逆VQ部152は、その分離された選択コード情報を用いて逆ベクトル量子化処理を行い、ブロックの4隅の画素値(特定画素の画素値)を算出する(つまり、選択コード情報Vcdvqのコードに対応する代表値を決定する)。ステップS83において、予測部153は、そのブロックの4隅の画素値(代表値)を用いて、そのブロック内の各画素の値を予測する。   In step S82, the inverse VQ unit 152 performs inverse vector quantization processing using the separated selection code information, and calculates pixel values (pixel values of specific pixels) at the four corners of the block (that is, selection code). The representative value corresponding to the code of the information Vcdvq is determined). In step S83, the prediction unit 153 predicts the value of each pixel in the block using pixel values (representative values) at the four corners of the block.

ステップS84において、残差復号部154は、データ分解部151により分離された符号化データに対して残差復号処理を行い、それを復号する。残差復号処理の詳細については後述する。残差復号処理が終了すると残差復号部154は、処理をステップS85に進める。   In step S84, the residual decoding unit 154 performs a residual decoding process on the encoded data separated by the data decomposing unit 151 and decodes it. Details of the residual decoding process will be described later. When the residual decoding process ends, the residual decoding unit 154 advances the process to step S85.

ステップS85において、画素値加算部155は、ステップS83の処理により得られた予測画素値と、ステップS84の残差復号処理により得られた残差の加算演算処理を行う。加算演算処理の詳細については後述する。加算演算処理が終了すると画素値加算部155は、処理をステップS86に進める。   In step S85, the pixel value adding unit 155 performs an addition calculation process of the predicted pixel value obtained by the process of step S83 and the residual obtained by the residual decoding process of step S84. Details of the addition calculation processing will be described later. When the addition operation process ends, the pixel value adding unit 155 advances the process to step S86.

ステップS86において、ブロック分解部156は、ステップS85の加算演算処理により得られた加算結果をデジタル画像信号Vdgとして出力する。ステップS87においてブロック分解部156は、復号処理を終了するか否かを判定し、例えば、まだ復号していない画像データが存在し、復号処理を終了しないと判定した場合、ブロック分解部156は、処理をステップS81に戻し、それ以降の処理を繰り返す。また、例えば、ステップS87において、全ての画像データを復号し、復号処理を終了すると判定した場合、ブロック分解部156は、復号処理を終了する。   In step S86, the block decomposing unit 156 outputs the addition result obtained by the addition calculation process in step S85 as the digital image signal Vdg. In step S87, the block decomposing unit 156 determines whether or not to end the decoding process. For example, when it is determined that there is image data that has not been decoded yet and the decoding process is not ended, the block decomposing unit 156 The process returns to step S81, and the subsequent processes are repeated. For example, when it is determined in step S87 that all image data is decoded and the decoding process is finished, the block decomposing unit 156 ends the decoding process.

次に、図20のフローチャートを参照して、図19のステップS84において実行される残差復号処理の詳細について説明する。   Next, details of the residual decoding process executed in step S84 of FIG. 19 will be described with reference to the flowchart of FIG.

残差復号処理が開始されると、最初に、ステップS101において、残差復号部154のハフマン復号部161は、符号化データVcddiffに対してハフマン復号処理を行い、量子化係数データを得る。ステップS102において、逆量子化部162は、ステップS101の処理により得られた量子化係数データに対して逆量子化処理を行い、DSTの係数データを得る。ステップS103において、IDST変換部163は、ステップS102の処理により得られた係数データに対してIDST変換処理を行い、復号された残差を得る。ステップS104においてIDST変換部163は、残差復号処理を終了するか否かを判定し、まだ全ての符号化データVcddiffに対して残差復号処理を行っておらず、残差復号処理を終了しないと判定した場合、処理をステップS101に戻し、それ以降の処理を繰り返す。   When the residual decoding process is started, first, in step S101, the Huffman decoding unit 161 of the residual decoding unit 154 performs Huffman decoding processing on the encoded data Vcddiff to obtain quantized coefficient data. In step S102, the inverse quantization unit 162 performs inverse quantization processing on the quantized coefficient data obtained by the processing in step S101 to obtain DST coefficient data. In step S103, the IDST conversion unit 163 performs an IDST conversion process on the coefficient data obtained by the process of step S102, and obtains a decoded residual. In step S104, the IDST conversion unit 163 determines whether or not to end the residual decoding process, has not yet performed the residual decoding process on all the encoded data Vcddiff, and does not end the residual decoding process. If it is determined, the process returns to step S101, and the subsequent processes are repeated.

また、ステップS104において、全ての符号化データVcddiffに対する処理が完了し、残差復号処理を終了すると判定した場合、IDST変換部163は、残差復号処理を終了し、処理を図19のステップS84に戻し、それ以降の処理を実行させる。   If it is determined in step S104 that the processing for all the encoded data Vcddiff is completed and the residual decoding process is to be ended, the IDST conversion unit 163 ends the residual decoding process, and the process proceeds to step S84 in FIG. Return to, and execute the subsequent processing.

次に、図19のステップS85において実行される加算演算処理の詳細について図21のフローチャートを参照して説明する。   Next, details of the addition calculation processing executed in step S85 in FIG. 19 will be described with reference to the flowchart in FIG.

画素値加算部155の画素判定部177は、ステップS121において、予測画素値および残差を取得し、加算処理を行う対象画素の位置を確認する。そして、画素判定部177は、ステップS122において、処理の対象画素がブロックの4隅の画素(特定画素)であるか否かを判定し、ブロックの4隅の画素(特定画素)であると判定した場合、処理をステップS123に進める。   In step S121, the pixel determination unit 177 of the pixel value addition unit 155 acquires the predicted pixel value and the residual, and confirms the position of the target pixel on which the addition process is performed. In step S122, the pixel determination unit 177 determines whether or not the processing target pixel is a pixel at the four corners (specific pixel) of the block, and determines that the pixel is a pixel at the four corners (specific pixel) of the block. If so, the process proceeds to step S123.

ステップS123において、残差設定部172は、残差を「0」に設定し、処理をステップS124に進める。また、ステップS122において、処理の対象画素がブロックの4隅の画素(特定画素)でないと判定した場合、画素判定部171は、処理をステップS124に進める。   In step S123, the residual setting unit 172 sets the residual to “0”, and the process proceeds to step S124. If it is determined in step S122 that the processing target pixel is not a pixel at the four corners of the block (specific pixel), the pixel determination unit 171 advances the process to step S124.

ステップS124において、加算値演算部173は、取得した予測画素値と残差を加算する。順序整列部174は、その加算結果を保持し、ステップS125において加算演算処理を終了するか否かを判定し、未処理の予測画素値または残差が存在し、加算演算処理を終了しないと判定した場合、処理をステップS121に戻し、それ以降の処理を繰り返させる。また、ステップS125において、加算演算処理を終了すると判定した場合、順序整列部174は、ステップS126に処理を進め、加算結果を並び替え、加算演算処理を終了し、処理を図19のステップS85に戻し、それ以降の処理を実行させる。   In step S124, the addition value calculator 173 adds the acquired predicted pixel value and the residual. The order aligning unit 174 holds the addition result, determines whether or not to end the addition calculation process in step S125, and determines that there is an unprocessed predicted pixel value or residual and does not end the addition calculation process. If so, the process returns to step S121 to repeat the subsequent processes. If it is determined in step S125 that the addition operation processing is to be terminated, the order arranging unit 174 proceeds to step S126, rearranges the addition results, ends the addition operation processing, and proceeds to step S85 in FIG. Return and execute the subsequent processing.

以上のように、復号部41は、符号化部45の符号化処理に対応する復号方法で符号化データを復号する。このようにすることにより、復号部41は、符号化部45により、アナログ信号に生じるホワイトノイズや位相ずれ等のアナログ歪みを積極的に利用して意図的に付加された大きなアナログ歪みが画像信号に残るように復号処理を行うので、符号化処理や復号処理を繰り返す度に画像が大幅に劣化するようにすることができる。   As described above, the decoding unit 41 decodes the encoded data by the decoding method corresponding to the encoding process of the encoding unit 45. In this way, the decoding unit 41 causes the encoding unit 45 to generate a large analog distortion intentionally added by actively using analog distortion such as white noise and phase shift generated in the analog signal. Since the decoding process is performed so as to remain, the image can be greatly degraded every time the encoding process or the decoding process is repeated.

つまり、復号部41は、スクランブル処理や雑音情報を埋め込む等の特別な処理を必要とせずに、アナログ信号の良好な品質の複製のみを防止することができる。これにより、再生装置31は、画像が表示されなくなる、または回路規模の増大を招く等の不都合を発生させずに、アナログ信号を利用した不正コピーを抑制し、安全にアナログ信号を出力することができる。   That is, the decoding unit 41 can prevent only a good quality copy of the analog signal without requiring a special process such as a scramble process or embedding noise information. As a result, the playback device 31 can suppress illegal copying using an analog signal and safely output the analog signal without causing inconvenience such as no image being displayed or an increase in circuit scale. it can.

つまり、画像処理システム30においては、符号化装置33が、再生装置31より出力されるアナログ画像信号を、その画像の画質を劣化させないように複製することができないようになされている。従って、画像処理システム30は、回路規模の増大やコストの上昇等の不都合を発生させずに、アナログ信号を利用した不正コピーを抑制し、安全にアナログ信号を出力することができる。また、例えば、編集作業における複製等のように、デジタル信号を用いて複製を行う場合、画像処理システム30は、画質を劣化させずに複製を行うことができる。なお、その場合、画像処理システム30からD/A42およびA/D44が省略される。また、その場合の著作権管理は、例えばDRM(Digital Rights Management)等の他の技術を併用することにより行うことができるので、画像処理システム30は、デジタル信号の不正な複製も抑制することができる。   That is, in the image processing system 30, the encoding device 33 cannot copy the analog image signal output from the reproducing device 31 so as not to deteriorate the image quality of the image. Accordingly, the image processing system 30 can suppress illegal copying using an analog signal and safely output the analog signal without causing inconveniences such as an increase in circuit scale and cost. Further, for example, when copying using a digital signal, such as copying in editing work, the image processing system 30 can perform copying without degrading image quality. In this case, D / A 42 and A / D 44 are omitted from the image processing system 30. Also, in this case, copyright management can be performed by using other technologies such as DRM (Digital Rights Management) together, so that the image processing system 30 can also prevent unauthorized duplication of digital signals. it can.

なお、以上においては、残差の符号化方法として、DST変換処理を行うように説明したが、これに限らず、例えば、残差の波形を関数で近似し、その係数を伝送する関数近似符号化を用いるようにしてもよい。   In the above description, the DST conversion process has been described as the residual encoding method. However, the present invention is not limited to this. For example, the function approximation code that approximates the residual waveform with a function and transmits the coefficient is used. It is also possible to use a conversion.

図22は、その場合の残差符号化部65(図3)の詳細な構成例を示すブロック図であり、図9に対応する図である。   FIG. 22 is a block diagram showing a detailed configuration example of the residual encoding unit 65 (FIG. 3) in that case, and corresponds to FIG.

図22において残差符号化部65は、DST変換部121(図9)の代わりに、関数近似変換部191を有している。また、図22の残差符号化部65は、図9の場合と同様に、量子化部122およびハフマン符号化部123も有している。   In FIG. 22, the residual encoding unit 65 has a function approximation conversion unit 191 instead of the DST conversion unit 121 (FIG. 9). Further, the residual encoding unit 65 of FIG. 22 also includes a quantization unit 122 and a Huffman encoding unit 123, as in the case of FIG.

関数近似変換部191は、ブロック毎の残差に対して、図23に示されるように各画素位置を座標で表し、各画素値により構成される波形を、例えば、3次元関数を近似させることにより表す。   As shown in FIG. 23, the function approximation conversion unit 191 approximates the waveform composed of each pixel value to, for example, a three-dimensional function with respect to the residual for each block, as shown in FIG. Is represented by

例えば、図23の場合、関数近似変換部191は、ブロックの左下の画素を基準点とし、水平方向をx軸、垂直方向をy軸とし、各画素の位置を座標化する(図23の場合、0≦x≦7,0≦y≦7)。次に、関数近似変換部191は、各画素の画素値で構成される波形を、近似関数を用いて関数化する。例えば、関数近似変換部191は、以下の式(5)に示されるような3次元関数を、最小2乗法を用いる等して、画素値の波形に近似させる。   For example, in the case of FIG. 23, the function approximation conversion unit 191 coordinates the position of each pixel with the pixel at the lower left of the block as the reference point, the horizontal direction as the x axis, and the vertical direction as the y axis (in the case of FIG. 23). 0 ≦ x ≦ 7, 0 ≦ y ≦ 7). Next, the function approximation conversion unit 191 converts the waveform composed of the pixel values of each pixel into a function using an approximation function. For example, the function approximation conversion unit 191 approximates a three-dimensional function represented by the following formula (5) to the waveform of the pixel value using, for example, a least square method.

Figure 0004552677
Figure 0004552677

なお、残差算出部64によりブロックの4隅の残差の値は「0」に設定されているので、式(5)において、以下の式(6)の条件が付加される。   Since the residual values at the four corners of the block are set to “0” by the residual calculation unit 64, the following equation (6) is added to equation (5).

Z(0,0)=Z(0,7)=Z(7,0)=Z(7,7)=0 ・・・(6)   Z (0,0) = Z (0,7) = Z (7,0) = Z (7,7) = 0 (6)

関数近似変換部191は、最小2乗法を行う等して、式(5)の関数を画素値の波形に近似させたときの係数a乃至iを算出し、その係数a乃至iを係数データとして量子化部122に供給する。   The function approximation conversion unit 191 calculates coefficients a to i when the function of Expression (5) is approximated to the waveform of the pixel value by performing a least square method, and the coefficients a to i are used as coefficient data. This is supplied to the quantization unit 122.

量子化部122は、その供給された係数データを図9の場合と同様に量子化する。また、ハフマン符号化部123も、図9の場合と同様に、量子化部122において得られた量子化係数データを符号化し、符号化データを生成する。   The quantization unit 122 quantizes the supplied coefficient data as in the case of FIG. Similarly to the case of FIG. 9, the Huffman encoding unit 123 also encodes the quantized coefficient data obtained in the quantizing unit 122 to generate encoded data.

なお、この場合、復号部41(図2)の残差復号部154(図12)は、この関数近似変換処理に対応する方法で復号処理を行う。   In this case, the residual decoding unit 154 (FIG. 12) of the decoding unit 41 (FIG. 2) performs the decoding process by a method corresponding to the function approximate conversion process.

図24は、その場合の残差復号部154の詳細な構成例を示すブロック図であり、図13に対応する図である。   FIG. 24 is a block diagram illustrating a detailed configuration example of the residual decoding unit 154 in that case, and corresponds to FIG.

図24において、残差復号部154は、図13の場合と同様に、ハフマン復号部161および逆量子化部162を有し、図13のIDST変換部163の代わりに逆関数近似変換部192を有している。   24, the residual decoding unit 154 includes a Huffman decoding unit 161 and an inverse quantization unit 162 as in FIG. 13, and an inverse function approximation conversion unit 192 is used instead of the IDST conversion unit 163 in FIG. Have.

逆関数近似変換部192は、逆量子化部162による逆量子化処理により得られた係数データを用いて(係数データを式(5)に代入して)近似関数を生成し、その近似関数から各画素との画素値を算出する。つまり、逆関数近似変換部192は、近似関数(式(5))の変数X,Yにそれぞれx座標、y座標を代入して各画素値(残差)を算出する。   The inverse function approximation conversion unit 192 generates an approximate function using the coefficient data obtained by the inverse quantization process by the inverse quantization unit 162 (substituting the coefficient data into the equation (5)), and from the approximate function The pixel value with each pixel is calculated. That is, the inverse function approximate conversion unit 192 calculates each pixel value (residual) by substituting the x coordinate and the y coordinate for the variables X and Y of the approximate function (formula (5)), respectively.

以上のような関数近似変換を利用した残差符号化処理の流れを図25のフローチャートを参照して説明する。このフローチャートは、図18のフローチャートに対応する。   The flow of the residual encoding process using the function approximation transformation as described above will be described with reference to the flowchart of FIG. This flowchart corresponds to the flowchart of FIG.

すなわち、残差符号化処理が開始されると、関数近似変換部191は、ステップS141において、供給された残差に対して関数近似変換処理を行い、ブロック毎に、各画素の残差により構成される波形を関数化し、近似関数の係数データを生成する。ステップS142において、量子化部122は、その係数データに対して、図18のステップS62の場合と同様に量子化処理を行い、量子化係数データを生成する。ステップS143においてハフマン符号化部123は、その量子化係数データに対して、図18のステップS63の場合と同様にハフマン符号化処理を行い、符号化データVcddiffを生成する。   That is, when the residual encoding process is started, the function approximation conversion unit 191 performs the function approximation conversion process on the supplied residual in step S141, and is configured by the residual of each pixel for each block. The generated waveform is converted into a function, and coefficient data of an approximate function is generated. In step S142, the quantization unit 122 performs a quantization process on the coefficient data in the same manner as in step S62 in FIG. 18, and generates quantized coefficient data. In step S143, the Huffman encoding unit 123 performs Huffman encoding processing on the quantized coefficient data in the same manner as in step S63 in FIG. 18, and generates encoded data Vcddiff.

ステップS144において、ハフマン符号化部123は、残差符号化処理を終了するか否かを判定し、未処理の残差が存在し、残差符号化処理を終了しないと判定した場合、処理をステップ141に戻し、それ以降の処理を繰り返す。また、ステップS144において、残差符号化処理を終了すると判定した場合、ハフマン符号化部123は、残差符号化処理を終了し、処理を図15のステップS5に戻し、それ以降の処理を実行させる。   In step S144, the Huffman encoding unit 123 determines whether or not to end the residual encoding process, and determines that there is an unprocessed residual and does not end the residual encoding process. Returning to step 141, the subsequent processing is repeated. If it is determined in step S144 that the residual encoding process is to be ended, the Huffman encoding unit 123 ends the residual encoding process, returns the process to step S5 in FIG. 15, and executes the subsequent processes. Let

このように関数近似変換処理を行うことにより、符号化部45は、DST変換処理を行う場合と同様に、アナログ信号を利用して複製を行う場合のみ情報の品質が劣化するようにすることができる。従って、符号化装置33は、この場合も、回路規模の増大を招く等の不都合を発生させずに、2回目以降の符号化処理および復号処理では画像データを著しく劣化させ、アナログ信号を利用した不正コピーを抑制することができる。   By performing the function approximation conversion process in this way, the encoding unit 45 may cause the quality of information to deteriorate only when duplication is performed using an analog signal, as in the case of performing the DST conversion process. it can. Accordingly, in this case, the encoding device 33 does not cause inconveniences such as an increase in circuit scale, and the image data is significantly deteriorated in the second and subsequent encoding processes and the analog signal is used. Unauthorized copying can be suppressed.

次に、図26のフローチャートを参照して、図25のフローチャートを参照して説明した符号化処理に対応する復号処理、すなわち、関数近似変換処理を利用した復号処理の流れについて説明する。この図26のフローチャートは、図20のフローチャートに対応する。   Next, with reference to the flowchart of FIG. 26, the decoding process corresponding to the encoding process described with reference to the flowchart of FIG. 25, that is, the flow of the decoding process using the function approximate conversion process will be described. The flowchart of FIG. 26 corresponds to the flowchart of FIG.

残差復号処理が開始されると、ステップS161において、ハフマン復号部161は、図20のステップS101と同様に、符号化データVcddiffに対してハフマン復号処理を行い、量子化係数データを生成する。ステップS162において、逆量子化部162は、図20のステップS102と同様に、量子化係数データに対して逆量子化処理を行い、係数データを生成する。逆関数近似変換部192は、ステップS163において、逆関数変換処理を行い、係数データから元の画素値(残差)を算出する。   When the residual decoding process is started, in step S161, the Huffman decoding unit 161 performs the Huffman decoding process on the encoded data Vcddiff in the same manner as in step S101 in FIG. 20, and generates quantized coefficient data. In step S162, the inverse quantization unit 162 performs inverse quantization processing on the quantized coefficient data, similarly to step S102 in FIG. 20, and generates coefficient data. In step S163, the inverse function approximate conversion unit 192 performs an inverse function conversion process, and calculates the original pixel value (residual) from the coefficient data.

ステップS164において、逆関数近似変換部192は、残差復号処理を終了するか否かを判定し、例えば未処理の符号化データが存在し、残差復号処理を終了しないと判定した場合、処理をステップS161に戻し、それ以降の処理を繰り返させる。また、ステップS164において、残差復号処理を終了すると判定した場合、逆関数近似変換部192は、残差復号処理を終了し、処理を図19のステップS84に処理を戻し、それ以降の処理を実行させる。   In step S164, the inverse function approximation conversion unit 192 determines whether or not to end the residual decoding process. For example, if it is determined that there is unprocessed encoded data and the residual decoding process is not ended, the process Is returned to step S161, and the subsequent processing is repeated. If it is determined in step S164 that the residual decoding process is to be terminated, the inverse function approximation conversion unit 192 ends the residual decoding process, returns the process to step S84 in FIG. 19, and performs the subsequent processes. Let it run.

このように符号化部45の関数近似変換処理に対応して逆関数近似変換処理を行うので、復号部41は、IDST変換処理を行う場合と同様に、アナログ信号を利用して複製を行う場合のみ情報の品質が劣化するようにすることができる。従って、再生装置31は、この場合も、回路規模の増大を招く等の不都合を発生させずに、2回目以降の符号化処理および復号処理では画像データを著しく劣化させ、アナログ信号を利用した不正コピーを抑制することができる。   As described above, the inverse function approximate conversion process is performed in response to the function approximate conversion process of the encoding unit 45, so that the decoding unit 41 performs the duplication using an analog signal, similarly to the case of performing the IDST conversion process. Only the quality of information can be degraded. Accordingly, in this case, the reproducing device 31 also does not cause inconveniences such as an increase in circuit scale, and the image data is significantly deteriorated in the second and subsequent encoding processing and decoding processing. Copying can be suppressed.

すなわち、符号化部45において関数近似変換処理を行い、復号部41において逆関数近似変換処理を行う場合も、画像処理システム30は、回路規模の増大やコストの上昇等の不都合を発生させずに、アナログ信号を利用した不正コピーを抑制し、安全にアナログ信号を出力することができる。また、例えば、編集作業における複製等のように、デジタル信号を用いて複製を行う場合、画像処理システム30は、画質を劣化させずに複製を行うことができる。また、例えばDRM等の他の技術を併用することにより、画像処理システム30は、デジタル信号の不正な複製も抑制することができる。   That is, even when the function approximation conversion process is performed in the encoding unit 45 and the inverse function approximation conversion process is performed in the decoding unit 41, the image processing system 30 does not cause inconveniences such as an increase in circuit scale and cost. Therefore, illegal copying using analog signals can be suppressed, and analog signals can be output safely. Further, for example, when copying using a digital signal, such as copying in editing work, the image processing system 30 can perform copying without degrading image quality. Further, for example, by using another technique such as DRM together, the image processing system 30 can also suppress unauthorized duplication of digital signals.

なお、画像処理システム30の各装置の構成は、図2に示される以外であってもよく、例えば、図27に示されるように、符号化装置33の復号部41、D/A42、およびディスプレイ43は省略するようにしてもよい。   The configuration of each device of the image processing system 30 may be other than that shown in FIG. 2, for example, as shown in FIG. 27, the decoding unit 41, the D / A 42, and the display of the encoding device 33 43 may be omitted.

図27は、本発明を適用した画像処理システムの他の構成例を示す図であり、図2に対応する図である。つまり、図27の画像処理システム210は、図2の画像処理システム30に対応しており、画像処理システム30の符号化装置33の代わりに符号化装置213を有している。   FIG. 27 is a diagram showing another configuration example of the image processing system to which the present invention is applied, and corresponds to FIG. That is, the image processing system 210 in FIG. 27 corresponds to the image processing system 30 in FIG. 2, and includes an encoding device 213 instead of the encoding device 33 in the image processing system 30.

符号化装置213は、図2の符号化装置33に対応する装置であり、符号化装置33の構成から、復号部41、D/A42、およびディスプレイ43を省略した構成となっている。   The encoding device 213 is a device corresponding to the encoding device 33 in FIG. 2, and has a configuration in which the decoding unit 41, the D / A 42, and the display 43 are omitted from the configuration of the encoding device 33.

つまり、画像処理システム210の符号化装置213は、図2の符号化装置33と同様に、再生装置31が出力したアナログ画像信号Van1を取得し、それをデジタル化して符号化した符号化デジタル画像信号Vcd1を生成し、それを記録媒体に記録するのみであり、符号化装置33のように、符号化デジタル画像信号を再度復号し、アナログ画像信号Van2を生成してディスプレイに画像を表示することはしない。   That is, the encoding device 213 of the image processing system 210 obtains the analog image signal Van1 output from the reproduction device 31 and digitizes and encodes the encoded digital image, similarly to the encoding device 33 of FIG. The signal Vcd1 is only generated and recorded on the recording medium, and the encoded digital image signal is decoded again, and the analog image signal Van2 is generated and the image is displayed on the display, like the encoding device 33. I do not.

図2の符号化装置33は、符号化した画像信号を再度復号する場合を説明するために便宜上適用した構成であり、実際には、符号化を行うことができればよく、そのような構成が必要なわけではない。   The encoding device 33 in FIG. 2 has a configuration applied for convenience in order to describe a case where the encoded image signal is decoded again. In practice, it is sufficient if encoding can be performed, and such a configuration is necessary. Not really.

また、図2(図27)において、1つの装置として説明した各装置の構成を複数の装置として構成するようにしてもよいし、逆に、複数の装置を1つの装置として構成するようにしてもよい。   In FIG. 2 (FIG. 27), the configuration of each device described as one device may be configured as a plurality of devices, or conversely, a plurality of devices may be configured as one device. Also good.

図28は、本発明を適用した画像処理システムのさらに他の構成例を示す図である。図28の画像処理システム220は、図2の画像処理システム30に対応する。図28において、画像処理システム220は、2つの復号装置221、2つの表示装置222、A/D変換装置223、符号化装置224、および記録装置225により構成されている。   FIG. 28 is a diagram showing still another configuration example of the image processing system to which the present invention is applied. An image processing system 220 in FIG. 28 corresponds to the image processing system 30 in FIG. In FIG. 28, the image processing system 220 includes two decoding devices 221, two display devices 222, an A / D conversion device 223, an encoding device 224, and a recording device 225.

復号装置221は復号部41を有し、表示装置222はD/A42およびディスプレイ43を有し、A/D変換装置223はA/D44を有し、符号化装置224は符号化部45を有し、記録装置225は記録部46を有している。   The decoding device 221 has a decoding unit 41, the display device 222 has a D / A 42 and a display 43, the A / D conversion device 223 has an A / D 44, and the encoding device 224 has an encoding unit 45. The recording device 225 has a recording unit 46.

つまり、画像処理システム220は、装置の構成が異なるだけで、処理部の構成は図2の画像処理システム30と同じである。従って、画像処理システム220は、各装置により画像処理システム30と同様の処理が行われるので、画像処理システム30と同様に、アナログ信号を利用したコンテンツデータの不正な複製を抑制することができる。   That is, the image processing system 220 is the same as the image processing system 30 in FIG. 2 except that the configuration of the apparatus is different. Therefore, in the image processing system 220, the same processing as that of the image processing system 30 is performed by each device. Therefore, similarly to the image processing system 30, unauthorized duplication of content data using an analog signal can be suppressed.

また、図2の画像処理システムに上述した構成以外の構成を追加するようにしてもよい。例えば、アナログ画像信号の複製ではより大幅に画質が劣化するように、アナログ画像信号Vanに積極的にノイズ成分(ホワイトノイズや位相ずれ等のアナログ歪み)を付加するようにしてもよい。ただし、このノイズ成分は、単にS/N比を向上させるために付加されるものではなく、上述した符号化処理や復号処理において画質をより劣化させるために(画像信号により大きな歪みを生じさせるために)積極的に利用するために付加されるものである。   Moreover, you may make it add the structure other than the structure mentioned above to the image processing system of FIG. For example, a noise component (analog distortion such as white noise or phase shift) may be positively added to the analog image signal Van so that the image quality is significantly deteriorated when the analog image signal is copied. However, this noise component is not simply added to improve the S / N ratio, but to further deteriorate the image quality in the encoding process or decoding process described above (to cause a large distortion in the image signal). It is added for active use.

図29は、本発明を適用した画像処理システムのさらに他の構成例を示す図であり、図2および図28に対応する図である。   FIG. 29 is a diagram showing still another configuration example of the image processing system to which the present invention is applied, and corresponds to FIG. 2 and FIG.

図29において、画像処理システム240は、2つの再生装置241、符号化装置242、2つの表示装置32、および記録装置225により構成されている。表示装置32は、図2を参照して説明したように、再生装置241が出力するアナログ画像信号Van1またはVan2の画像をディスプレイ43に表示する装置である。記録装置225は、図28を参照して説明したように、記録部46を有しており、符号化装置242が出力する符号化デジタル画像信号Vcd1を記録部46の記録媒体に記録する。   In FIG. 29, the image processing system 240 includes two playback devices 241, an encoding device 242, two display devices 32, and a recording device 225. As described with reference to FIG. 2, the display device 32 is a device that displays the image of the analog image signal Van <b> 1 or Van <b> 2 output from the reproduction device 241 on the display 43. As described with reference to FIG. 28, the recording device 225 includes the recording unit 46, and records the encoded digital image signal Vcd 1 output from the encoding device 242 on the recording medium of the recording unit 46.

再生装置241は、再生装置31と同様に復号部41およびD/A42を有しており、さらに、アナログノイズ付加部251を有している。アナログノイズ付加部251は、D/A42において変換されたアナログ画像信号にノイズ成分(アナログノイズ)を付加する。   The playback device 241 includes a decoding unit 41 and a D / A 42 as with the playback device 31, and further includes an analog noise addition unit 251. The analog noise adding unit 251 adds a noise component (analog noise) to the analog image signal converted by the D / A 42.

ここで、アナログノイズは、アナログ信号に付加されるノイズ成分のことであり、アナログ成分に対するノイズ成分のことである。換言すると、アナログノイズは、例えば、ホワイトノイズや位相ずれ等のようにアナログ歪み(アナログ成分の歪み)を発生させるノイズ成分のことである。   Here, the analog noise is a noise component added to the analog signal, and is a noise component with respect to the analog component. In other words, the analog noise is a noise component that generates analog distortion (analog component distortion) such as white noise and phase shift.

つまり、再生装置241は、積極的にアナログノイズを付加したアナログ画像信号Vanを出力する。例えば、再生装置241は、符号化デジタル画像信号Vcd0より、積極的にアナログノイズを付加したアナログ画像信号Van1を生成する。また、例えば、再生装置241は、符号化デジタル画像信号Vcd1より、積極的にアナログノイズを付加したアナログ画像信号Van2を生成する。   That is, the playback device 241 outputs the analog image signal Van to which analog noise is positively added. For example, the playback device 241 generates an analog image signal Van1 to which analog noise is positively added from the encoded digital image signal Vcd0. Further, for example, the playback device 241 generates an analog image signal Van2 to which analog noise is positively added from the encoded digital image signal Vcd1.

符号化装置242は、図2の符号化装置33と同様にA/D44および符号化部45を有しており、さらに、アナログノイズ付加部251も有している。つまり、符号化装置242は、アナログノイズ付加部251において積極的にアナログノイズが付加されたアナログ画像信号をA/D44においてA/D変換し、符号化部45において符号化する。   The encoding device 242 includes an A / D 44 and an encoding unit 45 as in the encoding device 33 of FIG. 2, and further includes an analog noise adding unit 251. That is, the encoding device 242 performs A / D conversion on the analog image signal to which analog noise is positively added in the analog noise adding unit 251 in the A / D 44 and encodes it in the encoding unit 45.

図29の画像処理システム240において、符号化装置242が実行する、アナログ画像信号に積極的にアナログノイズを付加して符号化するアナログ劣化符号化処理について、図30のフローチャートを参照して説明する。   In the image processing system 240 of FIG. 29, an analog deterioration encoding process performed by the encoding device 242 to add analog noise to an analog image signal for encoding will be described with reference to the flowchart of FIG. .

最初に、ステップS181において、アナログノイズ付加部251は、再生装置241より出力されたアナログ画像信号Vanにアナログノイズ(ホワイトノイズや位相ずれ等)を付加する。ステップS182において、符号化装置242は、アナログノイズ付加部251より出力された、積極的にアナログノイズが付加されたアナログ画像信号Vanに対してA/D変換処理を行い、デジタル画像信号Vdgを生成する。そして、ステップS183において、符号化部45は、符号化処理を行う。この符号化処理は、図15のフローチャートを参照して説明した符号化処理と同様の処理を行うので、その詳細についての説明を省略する。   First, in step S181, the analog noise adding unit 251 adds analog noise (white noise, phase shift, etc.) to the analog image signal Van output from the playback device 241. In step S182, the encoding device 242 performs A / D conversion processing on the analog image signal Van to which analog noise is positively output, which is output from the analog noise adding unit 251, and generates a digital image signal Vdg. To do. In step S183, the encoding unit 45 performs an encoding process. Since this encoding process is the same as the encoding process described with reference to the flowchart of FIG. 15, a detailed description thereof is omitted.

符号化処理が終了すると、符号化部45は、ステップS184に処理を進め、アナログ劣化符号化処理を終了するか否かを判定し、終了しないと判定した場合、ステップS181に処理を戻し、それ以降の処理を繰り返す。また、ステップS184においてアナログ劣化符号化処理を終了すると判定した場合、アナログ劣化符号化処理を終了する。   When the encoding process ends, the encoding unit 45 advances the process to step S184, determines whether to end the analog deterioration encoding process, and returns to step S181 if it determines not to end the process. The subsequent processing is repeated. If it is determined in step S184 that the analog deterioration encoding process is to be ended, the analog deterioration encoding process is ended.

次に、図29の画像処理システム240において、再生装置241が実行する、復号したアナログ画像信号に積極的にアナログノイズを付加するアナログ劣化復号処理について、図31のフローチャートを参照して説明する。   Next, an analog deterioration decoding process for positively adding analog noise to the decoded analog image signal, which is executed by the playback device 241 in the image processing system 240 of FIG. 29, will be described with reference to the flowchart of FIG.

最初に、ステップS201において、復号部41は、入力された符号化デジタル画像信号に対して復号処理を行う。この復号処理は、図19のフローチャートを参照して説明した復号処理と同様の処理を行うので、その詳細についての説明を省略する。   First, in step S201, the decoding unit 41 performs a decoding process on the input encoded digital image signal. Since this decoding process is the same as the decoding process described with reference to the flowchart of FIG. 19, a detailed description thereof is omitted.

復号処理が終了し、デジタル画像信号Vdgが得られると、D/A42は、ステップS202において、そのデジタル画像信号Vdgに対してD/A変換処理を行い、アナログ画像信号Vanを得る。ステップS203において、アナログノイズ付加部251は、D/A42においてD/A変換されたアナログ画像信号Vanにアナログノイズ(ホワイトノイズや位相ずれ等)を付加する。   When the decoding process is completed and the digital image signal Vdg is obtained, the D / A 42 performs a D / A conversion process on the digital image signal Vdg in step S202 to obtain an analog image signal Van. In step S203, the analog noise adding unit 251 adds analog noise (white noise, phase shift, etc.) to the analog image signal Van D / A converted in the D / A 42.

アナログノイズを付加すると、アナログノイズ付加部251は、ステップS204に処理を進め、アナログ劣化復号処理を終了するか否かを判定し、終了しないと判定した場合、ステップS201に処理を戻し、それ以降の処理を繰り返す。また、ステップS204においてアナログ劣化復号処理を終了すると判定した場合、アナログ劣化復号処理を終了する。   When the analog noise is added, the analog noise adding unit 251 advances the process to step S204, determines whether to end the analog degradation decoding process, and returns to step S201 if it determines not to end, and thereafter Repeat the process. If it is determined in step S204 that the analog degradation decoding process is to be terminated, the analog degradation decoding process is terminated.

このように、符号化装置242は積極的にアナログ画像信号にアナログノイズを付加する。従って、画像処理システム240においてアナログ信号を利用して複製を行う場合、符号化処理および復号処理が繰り返されることにより、アナログ画像信号にノイズが積極的に付加されていき、その画像の画質はより顕著に劣化するので、符号化装置242は、アナログ信号を利用したコンテンツデータの不正な複製をより抑制するように符号化処理を行うことができる。   Thus, the encoding device 242 positively adds analog noise to the analog image signal. Accordingly, when copying is performed using an analog signal in the image processing system 240, noise is positively added to the analog image signal by repeating the encoding process and the decoding process, and the image quality of the image is further improved. Since it deteriorates remarkably, the encoding device 242 can perform the encoding process so as to suppress unauthorized duplication of the content data using the analog signal.

同様に、再生装置241も積極的にアナログ画像信号にアナログノイズを付加する。従って、再生装置241は、アナログ信号を利用したコンテンツデータの不正な複製をより抑制するように復号処理を行うことができる。   Similarly, the playback device 241 also actively adds analog noise to the analog image signal. Therefore, the playback device 241 can perform a decoding process so as to suppress unauthorized duplication of content data using an analog signal.

すなわち、画像処理システム240は、画像が表示されなくなる、回路規模の増大を招く等の不都合を発生させずに、2回目以降の符号化処理および復号処理では画像データをより著しく劣化させ、アナログ信号を利用した不正コピーをより抑制することができる。   That is, the image processing system 240 does not cause inconveniences such as an image not being displayed or an increase in the circuit scale, and the image data is deteriorated significantly in the second and subsequent encoding processes. It is possible to further suppress unauthorized copying using.

上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウエアにより実行させることもできる。この場合、例えば、図2の画像処理システム30、図27の画像処理システム210、図28の画像処理システム220、および図29の画像処理システム240を構成する各装置は、それぞれ、図32に示されるようなパーソナルコンピュータとして構成されるようにしてもよい。   The series of processes described above can be executed by hardware or can be executed by software. In this case, for example, the devices constituting the image processing system 30 in FIG. 2, the image processing system 210 in FIG. 27, the image processing system 220 in FIG. 28, and the image processing system 240 in FIG. 29 are shown in FIG. It may be configured as such a personal computer.

図32において、パーソナルコンピュータ300のCPU(Central Processing Unit)301は、ROM(Read Only Memory)302に記憶されているプログラム、または記憶部313からRAM(Random Access Memory)303にロードされたプログラムに従って各種の処理を実行する。RAM303にはまた、CPU301が各種の処理を実行する上において必要なデータなども適宜記憶される。   In FIG. 32, a CPU (Central Processing Unit) 301 of the personal computer 300 performs various processes according to a program stored in a ROM (Read Only Memory) 302 or a program loaded from a storage unit 313 to a RAM (Random Access Memory) 303. Execute the process. The RAM 303 also appropriately stores data necessary for the CPU 301 to execute various processes.

CPU301、ROM302、およびRAM303は、バス304を介して相互に接続されている。このバス304にはまた、入出力インタフェース310も接続されている。   The CPU 301, ROM 302, and RAM 303 are connected to each other via a bus 304. An input / output interface 310 is also connected to the bus 304.

入出力インタフェース310には、キーボード、マウスなどよりなる入力部311、CRT(Cathode Ray Tube)、LCD(Liquid Crystal Display)などよりなるディスプレイ、並びにスピーカなどよりなる出力部312、ハードディスクなどより構成される記憶部313、モデムなどより構成される通信部314が接続されている。通信部314は、インターネットを含むネットワークを介しての通信処理を行う。   The input / output interface 310 includes an input unit 311 including a keyboard and a mouse, a display including a CRT (Cathode Ray Tube) and an LCD (Liquid Crystal Display), an output unit 312 including a speaker, and a hard disk. A communication unit 314 including a storage unit 313 and a modem is connected. The communication unit 314 performs communication processing via a network including the Internet.

入出力インタフェース310にはまた、必要に応じてドライブ315が接続され、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどのリムーバブルメディア321が適宜装着され、それらから読み出されたコンピュータプログラムが、必要に応じて記憶部313にインストールされる。   A drive 315 is connected to the input / output interface 310 as necessary, and a removable medium 321 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory is appropriately mounted, and a computer program read from them is It is installed in the storage unit 313 as necessary.

上述した一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、ネットワークや記録媒体からインストールされる。   When the above-described series of processing is executed by software, a program constituting the software is installed from a network or a recording medium.

この記録媒体は、例えば、図32に示されるように、装置本体とは別に、ユーザにプログラムを配信するために配布される、プログラムが記録されている磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disk-Read Only Memory),DVD(Digital Versatile Disk)を含む)、光磁気ディスク(MD(Mini-Disk)(登録商標)を含む)、もしくは半導体メモリなどよりなるリムーバブルメディア321により構成されるだけでなく、装置本体に予め組み込まれた状態でユーザに配信される、プログラムが記録されているROM302や、記憶部313に含まれるハードディスクなどで構成される。   For example, as shown in FIG. 32, the recording medium is distributed to distribute the program to the user separately from the apparatus main body, and includes a magnetic disk (including a flexible disk) on which the program is recorded, an optical disk ( Removable media 321 composed of CD-ROM (compact disk-read only memory), DVD (digital versatile disk), magneto-optical disk (including MD (mini-disk) (registered trademark)), or semiconductor memory In addition to being configured, it is configured by a ROM 302 on which a program is recorded, a hard disk included in the storage unit 313, and the like distributed to the user in a state of being incorporated in the apparatus main body in advance.

なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but is not necessarily performed in chronological order. It also includes processes that are executed individually.

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

従来の画像処理システムの構成例を示す図である。It is a figure which shows the structural example of the conventional image processing system. 本発明を適用した画像処理システムの構成例を示す図である。It is a figure which shows the structural example of the image processing system to which this invention is applied. 図2の符号化部の内部の構成例を示すブロック図である。It is a block diagram which shows the example of an internal structure of the encoding part of FIG. フレーム画像データをブロック化する様子の例を説明する模式図である。It is a schematic diagram explaining the example of a mode that frame image data is made into a block. 図3のVQ部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the VQ part of FIG. 特定画素の例を示す模式図である。It is a schematic diagram which shows the example of a specific pixel. 予測処理の様子の例を説明する模式図である。It is a schematic diagram explaining the example of the mode of a prediction process. 図3の残差算出部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the residual calculation part of FIG. 図3の残差符号化部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the residual encoding part of FIG. 1次元のDST変換処理の様子の例を説明する模式図である。It is a schematic diagram explaining the example of the mode of a one-dimensional DST conversion process. 2次元のDST変換処理の様子を説明するための図である。It is a figure for demonstrating the mode of a two-dimensional DST conversion process. 図2の復号部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the decoding part of FIG. 図12の残差復号部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the residual decoding part of FIG. 図12の画素値加算部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the pixel value addition part of FIG. 符号化処理の例を説明するフローチャートである。It is a flowchart explaining the example of an encoding process. ベクトル量子化処理の例を説明するフローチャートである。It is a flowchart explaining the example of a vector quantization process. 残差算出処理の例を説明するフローチャートである。It is a flowchart explaining the example of a residual calculation process. 残差符号化処理の例を説明するフローチャートである。It is a flowchart explaining the example of a residual encoding process. 復号処理の例を説明するフローチャートである。It is a flowchart explaining the example of a decoding process. 残差復号処理の例を説明するフローチャートである。It is a flowchart explaining the example of a residual decoding process. 加算演算処理の例を説明するフローチャートである。It is a flowchart explaining the example of an addition calculation process. 図3の残差符号化部の他の構成例を示すブロック図である。It is a block diagram which shows the other structural example of the residual encoding part of FIG. 関数近似変換処理の様子を説明するための模式図である。It is a schematic diagram for demonstrating the mode of a function approximate conversion process. 図12の残差復号部の他の構成例を示すブロック図である。It is a block diagram which shows the other structural example of the residual decoding part of FIG. 残差符号化処理の他の例を説明するフローチャートである。It is a flowchart explaining the other example of a residual encoding process. 残差復号処理の他の例を説明するフローチャートである。It is a flowchart explaining the other example of a residual decoding process. 本発明を適用した画像処理システムの他の構成例を示す図である。It is a figure which shows the other structural example of the image processing system to which this invention is applied. 本発明を適用した画像処理システムのさらに他の構成例を示す図である。It is a figure which shows the further another structural example of the image processing system to which this invention is applied. 本発明を適用した画像処理システムのさらに他の構成例を示す図である。It is a figure which shows the further another structural example of the image processing system to which this invention is applied. アナログ劣化符号化処理の例を説明するフローチャートである。It is a flowchart explaining the example of an analog degradation encoding process. アナログ劣化復号処理の例を説明するフローチャートである。It is a flowchart explaining the example of an analog degradation decoding process. 本発明を適用したパーソナルコンピュータの構成例を示す図である。It is a figure which shows the structural example of the personal computer to which this invention is applied.

符号の説明Explanation of symbols

30 画像処理システム, 31 再生装置, 33 符号化装置, 41 復号部, 42 D/A, 44 A/D, 45 符号化部, 61 ブロック化部, 62 VQ部, 63 予測部, 64 残差算出部, 65 残差符号化部, 66 出力部, 81 特定画素データ抽出部, 82 ベクトル生成部, 83 画素パターン別コードブック, 84 VQコード決定部, 111 画素判定部, 112 差分値演算部, 113 差分値設定部, 114 残差出力部, 121 DST変換部, 122 量子化部, 123 ハフマン符号化部, 151 データ分解部, 152 逆VQ部, 153 予測部, 154 残差復号部, 155 画素値加算部, 156 ブロック分解部, 161 ハフマン復号部, 162 逆量子化部, 163 IDST変換部, 171 画素判定部, 172 残差設定部, 173 加算値演算部, 174 順序整列部, 191 関数近似変換部, 192 逆関数近似変換部, 210 画像処理システム, 213 符号化装置, 220 画像処理システム, 221 復号装置, 224 符号化装置, 240 画像処理システム, 241 再生装置, 242 符号化装置, 251 アナログノイズ付加部, 300 パーソナルコンピュータ   30 image processing system, 31 playback device, 33 encoding device, 41 decoding unit, 42 D / A, 44 A / D, 45 encoding unit, 61 blocking unit, 62 VQ unit, 63 prediction unit, 64 residual calculation , 65 residual encoding unit, 66 output unit, 81 specific pixel data extraction unit, 82 vector generation unit, 83 pixel pattern-specific code book, 84 VQ code determination unit, 111 pixel determination unit, 112 difference value calculation unit, 113 Difference value setting unit, 114 residual output unit, 121 DST conversion unit, 122 quantization unit, 123 Huffman coding unit, 151 data decomposition unit, 152 inverse VQ unit, 153 prediction unit, 154 residual decoding unit, 155 pixel value Adder, 156 Block decomposing unit, 161 Huffman decoding unit, 162 Inverse quantization unit, 163 IDST conversion unit, 171 Pixel determination unit, 172 residual setting unit, 173 addition value calculation unit, 174 order alignment unit, 191 function approximation conversion unit, 192 inverse function approximation conversion unit, 210 image processing system, 213 encoding device, 220 image processing system, 221 Decoding device, 224 encoding device, 240 image processing system, 241 playback device, 242 encoding device, 251 analog noise adding unit, 300 personal computer

Claims (24)

アナログ歪を含む入力画像データを符号化する符号化装置であって、
前記入力画像データの各フレーム画像を複数のブロックに分割してブロック化するブロック化手段と、
前記ブロック化手段によりロック化されて得られた各ブロックの周縁部の複数の画素を特定画素と前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化するベクトル量子化手段と、
各ブロックにおいて、前記ベクトル量子化手段によりベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測する予測手段と、
前記ブロック内の前記特定画素以外の各画素について、前記予測手段により予測された画素値である予測画素値と前記入力画像データ中の画素値との差分を算出する差分算出手段と、
前記差分算出手段により得られた前記差分を前記ブロック毎に符号化する差分符号化手段と
を備え符号化装置。
An encoding device that encodes input image data including analog distortion ,
Blocking means for dividing each frame image of the input image data into a plurality of blocks ,
Wherein the blocking means and the specific pixel a plurality of pixels of the peripheral portion of each block obtained by the block of, and a group specific pixel group adjacent to each other among all the pixel group not limited to the specific pixel, Vector quantization means for vector-quantizing the pixel value of the specific pixel for each group ;
Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block on the basis of the pixel value of the specific pixel vector-quantized by the vector quantization means in each block ;
For each pixel other than the specific pixel in the block, a difference calculation unit that calculates a difference between a predicted pixel value that is a pixel value predicted by the prediction unit and a pixel value in the input image data;
Encoding apparatus Ru and a differential encoding means for encoding each said block the difference obtained by the difference calculation means.
前記ベクトル量子化手段は、各ブロックの4隅の画素を特定画素とする
求項1に記載の符号化装置。
The vector quantization means sets the four corner pixels of each block as specific pixels .
Encoding apparatus according to Motomeko 1.
前記予測手段は、前記ブロック内の前記特定画素以外の各画素の画素値を、各特定画素の画素値と、各特定画素までの距離とを用いて予測するThe prediction means predicts a pixel value of each pixel other than the specific pixel in the block using a pixel value of each specific pixel and a distance to each specific pixel.
請求項1に記載の符号化装置。The encoding device according to claim 1.
前記予測手段は、前記ブロック内の前記特定画素以外の各画素の画素値を、前記画素に最も近い前記特定画素の画素値に設定する
求項1に記載の符号化装置。
The prediction means sets a pixel value of each pixel other than the specific pixel in the block to a pixel value of the specific pixel closest to the pixel.
Encoding apparatus according to Motomeko 1.
前記差分算出手段は、さらに前記特定画素の前記差分を「0」に設定し、
前記差分符号化手段は、前記特定画素を含む前記ブロック内の全ての画素の前記差分を符号化する
求項1に記載の符号化装置。
The difference calculation means further sets the difference of the specific pixel to “0”,
The difference encoding means encodes the difference of all pixels in the block including the specific pixel.
Encoding apparatus according to Motomeko 1.
前記差分符号化手段は、
前記差分算出手段により得られた前記差分を直交変換する直交変換手段と、
前記直交変換手段により前記差分が直交変換されて得られた係数データを量子化する量子化手段と、
前記量子化手段により前記係数データが量子化されて得られた量子化係数データを可変長符号化する可変長符号化手段と
を備える求項1に記載の符号化装置。
The differential encoding means includes
Orthogonal transformation means for orthogonally transforming the difference obtained by the difference calculation means;
Quantization means for quantizing coefficient data obtained by orthogonally transforming the difference by the orthogonal transform means;
Encoding apparatus according to Motomeko 1 and a variable-length coding means for variable length coding the quantized coefficient data to which the coefficient data is obtained are quantized by the quantization means.
前記直交変換手段は前記差分を離散サイン変換する
求項6に記載の符号化装置。
The orthogonal transform means performs discrete sine transform on the difference.
Encoding apparatus according to Motomeko 6.
前記ベクトル量子化手段において選択された、前記特定画素のグループのベクトル量子化結果に対応するコードに関する情報である選択コード情報、および、前記差分符号化手段により前記差分が符号化されて得られた符号化データを前記符号化装置の外部に出力する出力手段をさらに備える
求項1に記載の符号化装置。
Selection code information that is information related to a code corresponding to a vector quantization result of the group of specific pixels selected by the vector quantization means, and the difference is obtained by encoding the difference by the difference encoding means Output means for outputting encoded data to the outside of the encoding device is further provided.
Encoding apparatus according to Motomeko 1.
アナログ信号の入力画像データに対して、アナログ成分に対するノイズ成分であるアナログノイズを付加するノイズ付加手段と、
前記ノイズ付加手段によりアナログノイズが付加された前記アナログ信号の入力画像データをA/D変換し、前記アナログ歪を含む、デジタルデータの入力画像データを得るA/D変換手段と
をさらに備え、
前記ブロック化手段は、前記A/D変換手段によりA/D変換されて得られた前記デジタルデータの入力画像データの各フレーム画像を複数のブロックに分割してブロック化する
求項1に記載の符号化装置。
Noise adding means for adding analog noise, which is a noise component with respect to the analog component, to the input image data of the analog signal;
A / D converting the input image data of the analog signal to which analog noise has been added by the noise adding means, and A / D converting means for obtaining the input image data of digital data including the analog distortion, and
The blocking means divides each frame image of the input image data of the digital data obtained by A / D conversion by the A / D conversion means into a plurality of blocks and blocks them
Encoding apparatus according to Motomeko 1.
アナログ歪を含む入力画像データを符号化する符号化装置の符号化方法であって、
前記符号化装置のブロック化手段が、前記入力画像データの各フレーム画像を複数のブロックに分割してブロック化
前記符号化装置のベクトル量子化手段が、ブロック化されて得られた各ブロックの周縁部の複数の画素を特定画素と前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化
前記符号化装置の予測手段が、各ブロックにおいて、ベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測
前記符号化装置の差分算出手段が、前記ブロック内の前記特定画素以外の各画素について、予測された画素値である予測画素値と前記入力画像データ中の画素値との差分を算出
前記符号化装置の差分符号化手段が、得られた前記差分を前記ブロック毎に符号化する
号化方法。
An encoding method of an encoding device for encoding input image data including analog distortion ,
Blocking means of the encoding device, and blocks by dividing each frame image of the input image data into a plurality of blocks,
Specific pixels adjacent to each other in all pixel groups that are not limited to the specific pixels, with a plurality of pixels at the peripheral edge of each block obtained by the vector quantization means of the encoding device being made into blocks as specific pixels the group as a group, the pixel value of the specific pixel and vector quantization for each of the groups,
Prediction means of the encoding device, in each block, based on the pixel value of the specific pixel that is vector quantized, to predict the pixel values of the pixels other than the specific pixel in the block,
It said difference calculating means of the encoding device, for each pixel other than the specific pixel in the block, calculates a difference between the predicted pixel value of the input image data and the prediction pixel value is a pixel value,
The differential encoding means of the encoding device encodes the obtained difference for each block.
It marks Goka way.
アナログ歪を含む入力画像データを符号化するコンピュータ
前記入力画像データの各フレーム画像を複数のブロックに分割してブロック化するブロック化手段と、
前記ブロック化手段によりブロック化されて得られた各ブロックの周縁部の複数の画素を特定画素とし、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化するベクトル量子化手段と、
各ブロックにおいて、前記ベクトル量子化手段によりベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測する予測手段と、
前記ブロック内の前記特定画素以外の各画素について、前記予測手段により予測された画素値である予測画素値と前記入力画像データ中の画素値との差分を算出する差分算出手段と、
前記差分算出手段により得られた前記差分を前記ブロック毎に符号化する差分符号化手段
として機能させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。
A computer that encodes input image data including analog distortion ,
Blocking means for dividing each frame image of the input image data into a plurality of blocks,
A plurality of pixels at the peripheral edge of each block obtained by blocking by the blocking unit is a specific pixel, a group of specific pixels adjacent to each other among all pixel groups not limited to the specific pixel, and the group Vector quantization means for vector-quantizing the pixel value of the specific pixel every time;
Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block on the basis of the pixel value of the specific pixel vector-quantized by the vector quantization means in each block;
For each pixel other than the specific pixel in the block, a difference calculation unit that calculates a difference between a predicted pixel value that is a pixel value predicted by the prediction unit and a pixel value in the input image data;
Difference encoding means for encoding the difference obtained by the difference calculation means for each block
A computer-readable recording medium in which a program for functioning as a computer is recorded.
アナログ歪を含む入力画像データを符号化するコンピュータ
前記入力画像データの各フレーム画像を複数のブロックに分割してブロック化するブロック化手段と、
前記ブロック化手段によりブロック化されて得られた各ブロックの周縁部の複数の画素を特定画素とし、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化するベクトル量子化手段と、
各ブロックにおいて、前記ベクトル量子化手段によりベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測する予測手段と、
前記ブロック内の前記特定画素以外の各画素について、前記予測手段により予測された画素値である予測画素値と前記入力画像データ中の画素値との差分を算出する差分算出手段と、
前記差分算出手段により得られた前記差分を前記ブロック毎に符号化する差分符号化手段
として機能させるためのプログラム。
A computer that encodes input image data including analog distortion ,
Blocking means for dividing each frame image of the input image data into a plurality of blocks,
A plurality of pixels at the peripheral edge of each block obtained by blocking by the blocking unit is a specific pixel, a group of specific pixels adjacent to each other among all pixel groups not limited to the specific pixel, and the group Vector quantization means for vector-quantizing the pixel value of the specific pixel every time;
Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block on the basis of the pixel value of the specific pixel vector-quantized by the vector quantization means in each block;
For each pixel other than the specific pixel in the block, a difference calculation unit that calculates a difference between a predicted pixel value that is a pixel value predicted by the prediction unit and a pixel value in the input image data;
Difference encoding means for encoding the difference obtained by the difference calculation means for each block
Program to function as.
アナログ歪を含む画像データが符号化装置によって符号化されて得られた符号化データを復号する復号装置であって、
前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離する分離手段と、
前記分離手段により前記符号化データから分離された前記選択コード情報を逆ベクトル量子化する逆ベクトル量子化手段と、
前記逆ベクトル量子化手段により逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むロック内の、前記特定画素以外の各画素の画素値を予測する予測手段と、
前記分離手段により前記選択コード情報が分離された前記符号化データを復号する差分復号手段と、
前記特定画素以外の各画素について、前記予測手段により得られた測画素値と、前記差分復号手段により復号されて得られた分とを加算する画素値加算手段と
を備える号装置。
A decoding device for decoding encoded data obtained by encoding image data including analog distortion by an encoding device,
A plurality of pixels at the peripheral edge of each block of each frame image of the image data are set as specific pixels, and among specific pixel groups not limited to the specific pixels, adjacent specific pixel groups are grouped, and for each group The pixel value of the specific pixel is vector-quantized, and the pixel value of each pixel other than the specific pixel in the block is predicted based on the pixel value of the specific pixel vector-quantized in each block. The difference between the predicted pixel value and the pixel value in the image data is calculated for each pixel other than the specific pixel, and the vector quantum of the specific pixel is calculated from the encoded data obtained by encoding the difference for each block. Separating means for separating selected code information, which is information relating to a code selected as a result of the conversion,
Inverse vector quantization means for inverse vector quantizing the selection code information separated from the encoded data by the separation means ;
Prediction said inverse vector using the pixel value of the specific pixel obtained is inverse vector quantized by the quantization means, of the probe in the lock, including the specific pixel, predicts the pixel value of each pixel other than the specific pixel Means,
Differential decoding means for decoding the encoded data from which the selection code information has been separated by the separation means;
Wherein for each pixel other than the specific pixel, the a predicted pixel value obtained by the prediction means, decrypt device and a pixel value adding means for adding the difference component obtained is decoded by the difference decoding means.
前記特定画素は、各ブロックの4隅の画素である
求項13に記載の復号装置。
The specific pixels are pixels at the four corners of each block.
Decoding apparatus according to Motomeko 13.
前記画素値加算手段は、前記特定画素の前記差分を「0」に設定してから加算を行う
求項13に記載の復号装置。
The pixel value adding means sets the difference of the specific pixel to “0” and performs addition.
Decoding apparatus according to Motomeko 13.
前記画素値加算手段は、加算結果として得られた各画素の画素値を前記ブロック毎にラスター順に並び替える
求項13に記載の復号装置。
The pixel value adding means rearranges the pixel values of each pixel obtained as an addition result in raster order for each block.
Decoding apparatus according to Motomeko 13.
前記差分復号手段は、
記符号化データを可変長復号する可変長復号手段と、
前記可変長復号手段により前記符号化データが可変長復号されて得られた量子化係数データを逆量子化する逆量子化手段と、
前記逆量子化手段により前記量子化係数データが逆量子化されて得られた係数データを逆直交変換する逆直交変換手段と
を備える求項13に記載の復号装置。
The differential decoding means includes
A variable length decoding means for variable-length decoding the previous SL encoded data,
Inverse quantization means for inversely quantizing quantized coefficient data obtained by variable length decoding the encoded data by the variable length decoding means;
Decoding apparatus according to Motomeko 13 and a inverse orthogonal transform means for inverse orthogonal transform coefficient data obtained the quantized coefficient data by the inverse quantization means is inverse quantized.
前記直交変換手段は前記係数データを逆離散サイン変換する
求項17に記載の復号装置。
The orthogonal transform means performs inverse discrete sine transform on the coefficient data.
Decoding apparatus according to Motomeko 17.
前記画素値加算手段において得られた前記画素値により構成されるデジタル画像データをD/A変換し、アナログ信号に変換するD/A変換手段と、
前記D/A変換手段により前記デジタル画像データがD/A変換されて得られた前記アナログ信号に対して、アナログ成分に対するノイズ成分であるアナログノイズを付加するノイズ付加手段と
前記ノイズ付加手段により前記アナログノイズが付加された前記アナログ信号を出力する出力手段と
をさらに備え請求項13に記載の復号装置。
D / A conversion of digital image data composed of the pixel values obtained in the pixel value addition means, and converts it into an analog signal; and
Noise adding means for adding analog noise, which is a noise component with respect to an analog component, to the analog signal obtained by D / A converting the digital image data by the D / A converting means;
Decoding apparatus according to further comprising Ru claim 13 and an output means for outputting the analog signal which the analog noise has been added by the noise adding means.
アナログ歪を含む画像データが符号化装置によって符号化されて得られた符号化データを復号する復号装置の復号方法であって、
前記復号装置の分離手段が、前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離し、
前記復号装置の逆ベクトル量子化手段が、前記符号化データから分離された前記選択コード情報を逆ベクトル量子化し、
前記復号装置の予測手段が、逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むブロック内の、前記特定画素以外の各画素の画素値を予測し、
前記復号装置の差分復号手段は、前記選択コード情報が分離された前記符号化データを復号し、
前記復号装置の画素値加算手段が、前記特定画素以外の各画素について、得られた予測画素値と、復号されて得られた差分とを加算する
号方法。
A decoding method of a decoding apparatus for decoding encoded data obtained by encoding image data including analog distortion by an encoding apparatus,
The separation unit of the decoding device is configured such that a plurality of pixels at a peripheral portion of each block of each frame image of the image data are specific pixels, and specific pixel groups adjacent to each other are not limited to the specific pixels. A pixel value of each pixel other than the specific pixel in the block based on the pixel value of the specific pixel that is group-quantized, and the pixel value of the specific pixel is vector-quantized for each group The encoded data in which the value is predicted, the difference between the predicted pixel value and the pixel value in the image data is calculated for each pixel other than the specific pixel in the block, and the difference is encoded for each block From the selected code information, which is information about the code selected as a result of vector quantization of the specific pixel,
Inverse vector quantization means of the decoding device performs inverse vector quantization on the selection code information separated from the encoded data,
The prediction unit of the decoding device predicts the pixel value of each pixel other than the specific pixel in the block including the specific pixel, using the pixel value of the specific pixel obtained by inverse vector quantization,
The differential decoding means of the decoding device decodes the encoded data from which the selection code information is separated,
The pixel value adding means of the decoding device adds the obtained predicted pixel value and the difference obtained by decoding for each pixel other than the specific pixel.
Decrypt method.
アナログ歪を含む画像データが符号化装置によって符号化されて得られた符号化データを復号するコンピュータを、A computer that decodes encoded data obtained by encoding image data including analog distortion by an encoding device;
前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離する分離手段と、A plurality of pixels at the peripheral edge of each block of each frame image of the image data are set as specific pixels, and among specific pixel groups not limited to the specific pixels, adjacent specific pixel groups are grouped, and for each group The pixel value of the specific pixel is vector-quantized, and the pixel value of each pixel other than the specific pixel in the block is predicted based on the pixel value of the specific pixel vector-quantized in each block. The difference between the predicted pixel value and the pixel value in the image data is calculated for each pixel other than the specific pixel, and the vector quantum of the specific pixel is calculated from the encoded data obtained by encoding the difference for each block. Separating means for separating selected code information, which is information relating to a code selected as a result of the conversion,
前記分離手段により前記符号化データから分離された前記選択コード情報を逆ベクトル量子化する逆ベクトル量子化手段と、Inverse vector quantization means for inverse vector quantizing the selection code information separated from the encoded data by the separation means;
前記逆ベクトル量子化手段により逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むブロック内の、前記特定画素以外の各画素の画素値を予測する予測手段と、Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block including the specific pixel, using the pixel value of the specific pixel obtained by inverse vector quantization by the inverse vector quantization means When,
前記分離手段により前記選択コード情報が分離された前記符号化データを復号する差分復号手段と、Differential decoding means for decoding the encoded data from which the selection code information has been separated by the separation means;
前記特定画素以外の各画素について、前記予測手段により得られた予測画素値と、前記差分復号手段により復号されて得られた差分とを加算する画素値加算手段Pixel value addition means for adding the prediction pixel value obtained by the prediction means and the difference obtained by decoding by the difference decoding means for each pixel other than the specific pixel
として機能させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。A computer-readable recording medium in which a program for functioning as a computer is recorded.
アナログ歪を含む画像データが符号化装置によって符号化されて得られた符号化データを復号するコンピュータを、A computer that decodes encoded data obtained by encoding image data including analog distortion by an encoding device;
前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離する分離手段と、A plurality of pixels at the peripheral edge of each block of each frame image of the image data are set as specific pixels, and among specific pixel groups not limited to the specific pixels, adjacent specific pixel groups are grouped, and for each group The pixel value of the specific pixel is vector-quantized, and the pixel value of each pixel other than the specific pixel in the block is predicted based on the pixel value of the specific pixel vector-quantized in each block. The difference between the predicted pixel value and the pixel value in the image data is calculated for each pixel other than the specific pixel, and the vector quantum of the specific pixel is calculated from the encoded data obtained by encoding the difference for each block. Separating means for separating selected code information, which is information relating to a code selected as a result of the conversion,
前記分離手段により前記符号化データから分離された前記選択コード情報を逆ベクトル量子化する逆ベクトル量子化手段と、Inverse vector quantization means for inverse vector quantizing the selection code information separated from the encoded data by the separation means;
前記逆ベクトル量子化手段により逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むブロック内の、前記特定画素以外の各画素の画素値を予測する予測手段と、Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block including the specific pixel, using the pixel value of the specific pixel obtained by inverse vector quantization by the inverse vector quantization means When,
前記分離手段により前記選択コード情報が分離された前記符号化データを復号する差分復号手段と、Differential decoding means for decoding the encoded data from which the selection code information has been separated by the separation means;
前記特定画素以外の各画素について、前記予測手段により得られた予測画素値と、前記差分復号手段により復号されて得られた差分とを加算する画素値加算手段Pixel value addition means for adding the prediction pixel value obtained by the prediction means and the difference obtained by decoding by the difference decoding means for each pixel other than the specific pixel
として機能させるためのプログラム。Program to function as.
符号化部、復号部とを有し、アナログ歪を含む画像データに対して符号化処理および復号処理を繰り返すと前記画像データが劣化するような情報処理システムにおいて、
前記符号化部は、
前記画像データの各フレーム画像を複数のブロックに分割してブロック化するブロック化手段と、
前記ブロック化手段によりブロック化されて得られた各ブロックの周縁部の複数の画素を特定画素とし、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群をグループとし、前記グループ毎に前記特定画素の画素値をベクトル量子化するベクトル量子化手段と、
各ブロックにおいて、前記ベクトル量子化手段によりベクトル量子化された前記特定画素の画素値に基づいて、前記ブロック内の前記特定画素以外の各画素の画素値を予測する予測手段と、
前記ブロック内の前記特定画素以外の各画素について、前記予測手段により予測された画素値である予測画素値と前記画像データ中の画素値との差分を算出する差分算出手段と、
前記差分算出手段により得られた前記差分を前記ブロック毎に符号化する差分符号化手段と
を備える報処理システム。
In an information processing system that includes an encoding unit and a decoding unit, and the image data deteriorates when the encoding process and the decoding process are repeated for image data including analog distortion ,
The encoding unit includes:
Blocking means for dividing each frame image of the image data into a plurality of blocks,
A plurality of pixels at the peripheral edge of each block obtained by blocking by the blocking unit is a specific pixel, a group of specific pixels adjacent to each other among all pixel groups not limited to the specific pixel, and the group Vector quantization means for vector-quantizing the pixel value of the specific pixel every time;
Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block on the basis of the pixel value of the specific pixel vector-quantized by the vector quantization means in each block;
For each pixel other than the specific pixel in the block, a difference calculation unit that calculates a difference between a predicted pixel value that is a pixel value predicted by the prediction unit and a pixel value in the image data;
Information processing system comprising a differential encoding means for encoding the difference obtained by the difference calculation means for each of said blocks.
符号化部、復号部とを有し、アナログ歪を含む画像データに対して符号化処理および復号処理を繰り返すと前記画像データが劣化するような情報処理システムにおいて、
前記復号部は、
前記画像データの各フレーム画像の各ブロックの周縁部の複数の画素が特定画素とされ、前記特定画素に限らない全画素群の中で互いに隣接する特定画素群がグループとされ、前記グループ毎に前記特定画素の画素値がベクトル量子化され、各ブロックにおいてベクトル量子化された前記特定画素の画素値に基づいて前記ブロック内の前記特定画素以外の各画素の画素値が予測され、前記ブロック内の前記特定画素以外の各画素について予測画素値と前記画像データ中の画素値との差分が算出され、前記差分が前記ブロック毎に符号化された前記符号化データから、前記特定画素のベクトル量子化の結果として選択されたコードに関する情報である選択コード情報を分離する分離手段と、
前記分離手段により前記符号化データから分離された前記選択コード情報を逆ベクトル量子化する逆ベクトル量子化手段と、
前記逆ベクトル量子化手段により逆ベクトル量子化されて得られた前記特定画素の画素値を用いて、前記特定画素を含むブロック内の、前記特定画素以外の各画素の画素値を予測する予測手段と、
前記分離手段により前記選択コード情報が分離された前記符号化データを復号する差分復号手段と、
前記特定画素以外の各画素について、前記予測手段により得られた予測画素値と、前記差分復号手段により復号されて得られた差分とを加算する画素値加算手段と
を備える報処理システム。
In an information processing system that includes an encoding unit and a decoding unit, and the image data deteriorates when the encoding process and the decoding process are repeated for image data including analog distortion ,
The decoding unit
A plurality of pixels at the peripheral edge of each block of each frame image of the image data are set as specific pixels, and among specific pixel groups not limited to the specific pixels, adjacent specific pixel groups are grouped, and for each group The pixel value of the specific pixel is vector-quantized, and the pixel value of each pixel other than the specific pixel in the block is predicted based on the pixel value of the specific pixel vector-quantized in each block. The difference between the predicted pixel value and the pixel value in the image data is calculated for each pixel other than the specific pixel, and the vector quantum of the specific pixel is calculated from the encoded data obtained by encoding the difference for each block. Separating means for separating selected code information, which is information relating to a code selected as a result of the conversion,
Inverse vector quantization means for inverse vector quantizing the selection code information separated from the encoded data by the separation means;
Prediction means for predicting the pixel value of each pixel other than the specific pixel in the block including the specific pixel, using the pixel value of the specific pixel obtained by inverse vector quantization by the inverse vector quantization means When,
Differential decoding means for decoding the encoded data from which the selection code information has been separated by the separation means;
Wherein for each pixel other than the specific pixel, information processing system comprising a predicted pixel value obtained by the prediction means, a pixel value adding means for adding the difference obtained by being decoded by the difference decoding means.
JP2005028910A 2005-02-04 2005-02-04 Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program Expired - Fee Related JP4552677B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005028910A JP4552677B2 (en) 2005-02-04 2005-02-04 Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005028910A JP4552677B2 (en) 2005-02-04 2005-02-04 Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program

Publications (3)

Publication Number Publication Date
JP2006217339A JP2006217339A (en) 2006-08-17
JP2006217339A5 JP2006217339A5 (en) 2007-10-11
JP4552677B2 true JP4552677B2 (en) 2010-09-29

Family

ID=36980162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005028910A Expired - Fee Related JP4552677B2 (en) 2005-02-04 2005-02-04 Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program

Country Status (1)

Country Link
JP (1) JP4552677B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6154588B2 (en) * 2012-08-23 2017-06-28 日本放送協会 Image encoding apparatus, image decoding apparatus, and program
JP2015008359A (en) * 2013-06-24 2015-01-15 ソニー株式会社 Device and method for encoding image, and device and method for decoding image
WO2016192073A1 (en) 2015-06-04 2016-12-08 清华大学 Encoding method, decoding method and device thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05207286A (en) * 1991-05-28 1993-08-13 Matsushita Electric Works Ltd Picture coding system
JPH06303573A (en) * 1992-12-01 1994-10-28 Samsung Electron Co Ltd Digital-video-tape-recoder data coding method suitable to high-speed picture reproducing, and device therefor
JP2000040966A (en) * 1998-07-23 2000-02-08 Tadahiro Omi Device and method for data compression, device and method for data expansion, data compression and expansion system, and recording medium
JP2004289685A (en) * 2003-03-24 2004-10-14 Sony Corp Data coding apparatus and data coding method, data output apparatus, and data output method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6481478A (en) * 1987-09-24 1989-03-27 Hitachi Ltd Vector quantization coding method for picture signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05207286A (en) * 1991-05-28 1993-08-13 Matsushita Electric Works Ltd Picture coding system
JPH06303573A (en) * 1992-12-01 1994-10-28 Samsung Electron Co Ltd Digital-video-tape-recoder data coding method suitable to high-speed picture reproducing, and device therefor
JP2000040966A (en) * 1998-07-23 2000-02-08 Tadahiro Omi Device and method for data compression, device and method for data expansion, data compression and expansion system, and recording medium
JP2004289685A (en) * 2003-03-24 2004-10-14 Sony Corp Data coding apparatus and data coding method, data output apparatus, and data output method

Also Published As

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

Similar Documents

Publication Publication Date Title
US6278792B1 (en) Robust digital watermarking
JP5048383B2 (en) Image data spatial prediction apparatus and method, encoding apparatus and method using the same, image data spatial prediction compensation apparatus and method, and decoding apparatus and method using the same
JP4556124B2 (en) Encoding apparatus and method, decoding apparatus and method, image processing system, recording medium, and program
US6111990A (en) Digital-watermark superposing apparatus and digital-watermarker detecting apparatus
JP2002325170A (en) Image processing unit and its method, and program code, storage medium
JP2000228721A (en) Method for inserting watermark and authenticating digital signal
JP4552677B2 (en) Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program
JP5139995B2 (en) Method and apparatus for watermarking a stream
JP2006238070A (en) Data conversion apparatus and method, data inverse conversion apparatus and method, information processing system and method, recording medium, and program
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
JP4730585B2 (en) Encoding apparatus and method, decoding apparatus and method, information processing system, recording medium, and program
JP4716086B2 (en) Encoding apparatus and method, recording medium, program, and image processing system
JP4685825B2 (en) Moving picture decoding apparatus, method and program, and moving picture encoding apparatus, method and program
JP4725127B2 (en) Decoding 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
JP4556125B2 (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
JP4697519B2 (en) Encoding apparatus and method, decoding apparatus and method, image processing system, recording medium, and program
JP4573110B2 (en) Encoding 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
Kraichingrith HIGH CAPACITY IMAGE STEGANOGRAPHY TOLERATING IMAGE COMPRESSION
JP2006238373A (en) Coder and coding method, decoder and decoding method, image processing system and image processing method, recording medium, and program
JP4099600B2 (en) Signal processing system, signal processing apparatus and signal processing method, encoding apparatus and encoding method, and decoding apparatus and decoding method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070827

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070827

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091020

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091214

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

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

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

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130723

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