JP5046090B2 - Image data agitation device and its restoration device - Google Patents

Image data agitation device and its restoration device Download PDF

Info

Publication number
JP5046090B2
JP5046090B2 JP2006301944A JP2006301944A JP5046090B2 JP 5046090 B2 JP5046090 B2 JP 5046090B2 JP 2006301944 A JP2006301944 A JP 2006301944A JP 2006301944 A JP2006301944 A JP 2006301944A JP 5046090 B2 JP5046090 B2 JP 5046090B2
Authority
JP
Japan
Prior art keywords
stirring
image data
encoded
conversion coefficient
coefficient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006301944A
Other languages
Japanese (ja)
Other versions
JP2008118560A (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.)
Shinshu University NUC
KDDI Corp
Original Assignee
Shinshu University NUC
KDDI 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 Shinshu University NUC, KDDI Corp filed Critical Shinshu University NUC
Priority to JP2006301944A priority Critical patent/JP5046090B2/en
Publication of JP2008118560A publication Critical patent/JP2008118560A/en
Application granted granted Critical
Publication of JP5046090B2 publication Critical patent/JP5046090B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Description

本発明は符号化データを含む画像データの撹拌装置およびその復元装置に関し、映像の特徴に依存せずに任意の強度で画像データの撹拌ができる画像データの撹拌装置およびその復元装置に関する。   The present invention relates to an agitation device for image data including encoded data and a restoration device thereof, and more particularly to an agitation device for image data capable of agitation of image data at an arbitrary intensity without depending on the characteristics of an image and the restoration device thereof.

画像データの撹拌装置、すなわちスクランブル装置の従来の一例として、下記の特許文献1に記されているものがある。この文献には、画像の動きベクトルの最終ビットやDCT係数の符号の最終ビットを反転することにより、該動きベクトルやDCT係数の正負を入れ替えてスクランブルすることが開示されている。
特開平6−90451号公報
As a conventional example of an image data stirring device, that is, a scramble device, there is one described in Patent Document 1 below. This document discloses that the last bit of the motion vector of the image and the last bit of the sign of the DCT coefficient are inverted so that the positive and negative of the motion vector and the DCT coefficient are switched and scrambled.
JP-A-6-90451

しかしながら、前記した従来技術では、画像の動きベクトルの最終ビットを反転した場合、動き量が大きい場合は反対方向に大きく変化するが、動きベクトルが0の場合はスクランブルしても変化がないため、動きがないシーンではスクランブル効果が得られないという課題、また動きが緩やかなシーンほどスクランブルされる動き量が少なくなるため、スクランブル効果が小さくなる課題があった。 また、DCT係数の符号の最終ビットを反転した場合には、画像中のエッジなどの空間的な変化が大きな領域ではスクランブル効果は大きいが、平坦部ではDCT係数値が小さくなるため、スクランブル効果は小さくなるという課題があった。   However, in the above-described prior art, when the last bit of the motion vector of the image is inverted, when the motion amount is large, it changes greatly in the opposite direction, but when the motion vector is 0, there is no change even when scrambled. There is a problem that a scramble effect cannot be obtained in a scene where there is no motion, and there is a problem that the scramble effect is reduced because the amount of motion scrambled decreases as the scene moves more slowly. In addition, when the last bit of the sign of the DCT coefficient is inverted, the scrambling effect is large in a region where the spatial change such as an edge in the image is large, but the DCT coefficient value is small in a flat portion, so the scrambling effect is There was a problem of becoming smaller.

このように、従来技術では、スクランブルの強度が画像の特徴に依存するため、安定したスクランブルの効果が得られないという課題があった。   As described above, the conventional technique has a problem that a stable scrambling effect cannot be obtained because the scrambling strength depends on the characteristics of the image.

本発明の目的は、前記した従来技術の課題を解消し、画像の動きやシーンの複雑さに依存せずに任意の強度で撹拌することができる画像データの撹拌装置およびその復元装置を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problems of the prior art, and to provide an image data stirring device that can be stirred at an arbitrary intensity without depending on the movement of the image and the complexity of the scene, and a restoration device therefor There is.

前記した目的を達成するために、本発明は、符号化画像データを入力する符号化画像データ入力手段と、該符号化画像データから攪拌対象の変換係数を抽出する変換係数抽出手段と、該攪拌対象の攪拌強度を指定する手段と、前記抽出された攪拌対象の変換係数に関して、特定の符号化階層の非零DC係数値、又は該特定の符号化階層の非零AC係数値のうち、絶対値が最大のもの、最も周波数が低いもの、および鍵系列を用いて決定されるもののうちの少なくとも一つを用い、該係数値を前記攪拌強度の範囲で変更する攪拌手段と、前記攪拌処理された変換係数と非攪拌対象の変換係数とから、攪拌後の符号化画像データを生成して出力する手段とを具備し、前記攪拌対象となる変換係数値の変更は、前記攪拌強度の範囲で補数となる値に変更することを特徴とする画像データの攪拌装置を提供した点に第1の特徴がある。 To achieve the above objects, the present invention includes: a coded image data input means for inputting the encoded image data, a conversion coefficient extracting means for extracting a conversion coefficient of the stirring object from the coded image data, the stirring With respect to the means for designating the stirring intensity of the object and the extracted conversion coefficient of the stirring object , the absolute value of the non-zero DC coefficient value of the specific coding layer or the non-zero AC coefficient value of the specific coding layer is absolute. Agitation means for changing the coefficient value within the range of the agitation intensity using at least one of the maximum value, the lowest frequency, and the one determined using a key sequence; Means for generating and outputting encoded image data after stirring from the conversion coefficient and the conversion coefficient for the non-stirring object, and the change of the conversion coefficient value for the stirring target is within the range of the stirring intensity. To the complement value Further there is a first feature in that provided a stirring device of the image data, characterized by.

また、本発明は、画像データを入力する画像データ入力手段と、該画像データを変換係数に変換する変換手段と、該変換係数から攪拌対象の変換係数を抽出する変換係数抽出手段と、該攪拌対象の攪拌強度を指定する手段と、前記抽出された攪拌対象の変換係数に関して、特定の符号化階層の非零DC係数値、又は該特定の符号化階層の非零AC係数値のうち、絶対値が最大のもの、最も周波数が低いもの、および鍵系列を用いて決定されるもののうちの少なくとも一つを用い、該係数値を前記攪拌強度の範囲で変更する攪拌手段と、前記攪拌処理された変換係数と非攪拌対象の変換係数とからなる攪拌後の変換係数値を逆変換して画像データに復元する復元手段を具備し、前記攪拌対象となる変換係数値の変更は、前記攪拌強度の範囲で補数となる値に変更することを特徴とする画像データの攪拌装置を提供した点に第2の特徴がある。 Further, the invention includes an image data input means for inputting image data, converting means for converting the image data into transform coefficients, a conversion coefficient extracting means for extracting a conversion coefficient of the stirring object from said transform coefficients, the stirring With respect to the means for designating the stirring intensity of the object and the extracted conversion coefficient of the stirring object , the absolute value of the non-zero DC coefficient value of the specific coding layer or the non-zero AC coefficient value of the specific coding layer is absolute. Agitation means for changing the coefficient value within the range of the agitation intensity using at least one of the maximum value, the lowest frequency, and the one determined using a key sequence; transform coefficients after stirring consisting of a transform coefficient and unstirred target transform coefficients to inverse transform was and a restoring means for restoring the image data, change of transform coefficient values to be the stirring object, the stirring In the range of intensity There is a second feature in that provided a stirring device of the image data and changes in value that is a number.

また、前記攪拌装置で攪拌された画像データを入力する画像データ入力手段と、該画像データを変換係数に変換する手段と、前記攪拌対象の変換係数を抽出し、該抽出された変換係数値を前記指定された攪拌強度に従って攪拌前の変換係数値に復元する復元手段と、復元後の変換係数を逆変換して攪拌前の画像データに復元する手段とを具備した画像データの攪拌復元装置を提供した点に第3の特徴がある。 Further, the image data input means for inputting the image data stirred by the stirring device, the means for converting the image data into a conversion coefficient, the conversion coefficient of the stirring object is extracted, and the extracted conversion coefficient value is A stirring / restoring device for image data, comprising: restoring means for restoring the conversion coefficient value before stirring according to the specified stirring intensity; and means for reversely converting the restored conversion coefficient to restore image data before stirring. There is a third feature in the point provided.

また、画像データを入力する画像データ入力手段と、画像データを周波数空間である変換係数に変換する変換手段と、攪拌強度を指定する手段と、該指定された攪拌強度に従って指定された変換係数の値を変更し、該変換係数を攪拌する撹拌手段と、攪拌後の変換係数と他の符号化情報を用いて画像を符号化する手段を具備した画像データの撹拌装置を提供した点に第4の特徴がある。   Also, image data input means for inputting image data, conversion means for converting the image data into a conversion coefficient that is a frequency space, means for designating the stirring intensity, and a conversion coefficient designated according to the designated stirring intensity. Fourthly, the present invention provides a stirring device for image data, comprising stirring means for changing the value and stirring the conversion coefficient, and means for encoding an image using the converted conversion coefficient after stirring and other encoding information. There are features.

さらに、上記撹拌装置で得られた撹拌後の符号化画像データを復元する装置を提供した点に第5の特徴がある。   Furthermore, a fifth feature is that an apparatus for restoring encoded image data after stirring obtained by the stirring apparatus is provided.

この発明によれば、指定した撹拌(スクランブル)強度で安定的に画面を攪拌することができるため、画像データの動きや、シーンの複雑さに影響されない撹拌をすることができる。また、画像の内容を予測できないように撹拌処理することができる。   According to the present invention, since the screen can be stably stirred at the specified stirring (scramble) intensity, the stirring can be performed without being influenced by the movement of the image data or the complexity of the scene. Further, the stirring process can be performed so that the content of the image cannot be predicted.

さらに、MPEGなどで圧縮された符号化画像データのみならず、符号化されていない画像データについても攪拌が可能である。   Furthermore, not only encoded image data compressed by MPEG or the like, but also unencoded image data can be stirred.

以下に、図面を参照して、本発明を詳細に説明する。図1は、本発明の一実施形態の概略の構成を示すブロック図である。   Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention.

図1において、符号化画像データaは符号化画像情報抽出部1に入力され、撹拌画像領域に属する符号化データのうちの攪拌に用いる符号化データa1が抽出される。該撹拌対象符号データa1はデータ撹拌部2に入力される。一方、撹拌対象とならない符号化データa3は、符号化データ生成部3に入力される。データ撹拌部2では、撹拌対象符号データa1に対して指定された攪拌強度により撹拌処理を行う。撹拌方法としては、符号化画像データに含まれるDCT係数や動きベクトル量などを攪拌させることで実現することが可能である。   In FIG. 1, encoded image data a is input to the encoded image information extraction unit 1, and encoded data a <b> 1 used for agitation out of encoded data belonging to the agitation image region is extracted. The stirring target code data a1 is input to the data stirring unit 2. On the other hand, the encoded data a <b> 3 that is not subject to stirring is input to the encoded data generation unit 3. The data agitation unit 2 performs the agitation process with the agitation intensity specified for the agitation target code data a1. The agitation method can be realized by agitating DCT coefficients, motion vector amounts, and the like included in the encoded image data.

さらに、撹拌処理後のデータa2は、符号化データ生成部3に入力される。符号データ生成部3では、撹拌されたデータa2と、撹拌対象とならなかった符号化データa3とを合わせて、撹拌後の符号化画像データa4が生成される。   Further, the data a <b> 2 after the stirring process is input to the encoded data generation unit 3. In the code data generation unit 3, the agitated data a2 and the encoded data a3 that has not been agitated are combined to generate encoded image data a4 after agitation.

前記符号化画像情報抽出部1では、入力符号化画像データaの特定画像領域、特定符号化階層、特定の符号化モード等における符号化ブロックの符号化情報を抽出することができる。   The coded image information extraction unit 1 can extract coding information of a coding block in a specific image area, a specific coding hierarchy, a specific coding mode, and the like of the input coded image data a.

次に、本実施形態の構成および機能をより具体例で説明する。図2は、一具体例を示すブロック図である。   Next, the configuration and function of the present embodiment will be described with more specific examples. FIG. 2 is a block diagram showing a specific example.

図において、符号化画像データaは部分復号部4に入力され、部分的に復号された部分復号画像データbは符号化データ抽出部5に入力する。画像データ以外の部分復号データgは部分符号化部8に送られる。符号化データ抽出部5は、撹拌対象データ情報qに従って、撹拌処理対象となる符号化データcを抽出し、データ撹拌部6に送る。一方、撹拌処理対象とならない符号化データdは、符号化データ生成部7に送られる。前記部分復号部4には、撹拌対象領域情報pを与えて撹拌対象領域のみを部分復号しても、あるいは符号化データaの全領域を部分復号してもよい。   In the figure, the encoded image data a is input to the partial decoding unit 4, and the partially decoded partial decoded image data b is input to the encoded data extraction unit 5. Partial decoded data g other than the image data is sent to the partial encoding unit 8. The encoded data extraction unit 5 extracts encoded data c to be agitation processing target in accordance with the agitation target data information q and sends it to the data agitation unit 6. On the other hand, the encoded data d that is not subject to the stirring process is sent to the encoded data generation unit 7. The partial decoding unit 4 may be given the agitation target area information p to partially decode only the agitation target area, or may partially decode the entire area of the encoded data a.

データ撹拌部6は、与えられた撹拌強度Sに従って、あるいは予め内部にセットされている撹拌強度に従って、前記符号化データcを撹拌(スクランブル)する。符号化データ生成部7では、データ撹拌部6で撹拌処理されたデータeと撹拌処理対象とならなかった符号化データdとが合成され、合成された符号化データfは部分符号化部8に送られる。部分符号化部8は、該合成符号化データfと前記画像データ以外の部分復号データgとを合成した後部分的に符号化して、撹拌後の符号化画像データhとして出力する。   The data agitation unit 6 agitates (scrambles) the encoded data c according to the given agitation intensity S or according to the agitation intensity preset inside. In the encoded data generation unit 7, the data e that has been agitated by the data agitation unit 6 and the encoded data d that has not been subjected to the agitation process are synthesized, and the synthesized encoded data f is sent to the partial encoding unit 8. Sent. The partial encoding unit 8 combines the combined encoded data f and the partial decoded data g other than the image data, partially encodes them, and outputs the encoded image data h after stirring.

前記符号化データ抽出部5では、たとえば、MPEG符号化データの場合には、撹拌処理対象符号化データcとして、DCT係数などを利用することが可能である。 前記データ撹拌部6では、撹拌処理対象符号化データcに対して撹拌処理を行う。攪拌方法としては、擬似乱数を発生させる鍵系列などを用いてDCT係数を攪拌強度に応じて攪拌することができる。   In the encoded data extraction unit 5, for example, in the case of MPEG encoded data, a DCT coefficient or the like can be used as the agitation processing target encoded data c. The data agitation unit 6 performs an agitation process on the agitation process target encoded data c. As an agitation method, the DCT coefficient can be agitated according to the agitation intensity by using a key sequence that generates pseudo-random numbers.

前記符号化データ生成部7では、データ撹拌部6で撹拌処理された符号化データeと撹拌処理対象とならなかった符号化データdとを合わせて符号化データfを生成する。例えば、MPEGデータでは各ブロックのDCT係数データは8×8ブロックレイヤーの各々に位置している。このため、DCT係数が撹拌された場合は、GOP(Group of Pictures)やマクロブロック情報は攪拌前のまま利用し、ブロック情報のレイヤーについては撹拌されたDCT係数情報を格納することができる。   The encoded data generation unit 7 generates the encoded data f by combining the encoded data e that has been agitated by the data agitation unit 6 and the encoded data d that has not been subjected to the agitation process. For example, in MPEG data, the DCT coefficient data of each block is located in each 8 × 8 block layer. For this reason, when the DCT coefficient is agitated, GOP (Group of Pictures) and macroblock information can be used as they are before agitation, and the agitated DCT coefficient information can be stored for the block information layer.

前記撹拌対象領域情報pとしては、本出願人による特許出願である特願2006-187924号に記載のような特定画像領域や、特定符号化階層や、特定符号化モードに限定することも可能である。   The stirring target area information p can be limited to a specific image area, a specific encoding layer, and a specific encoding mode as described in Japanese Patent Application No. 2006-187924, which is a patent application filed by the present applicant. is there.

図3(a)に示すように、前記特定画像領域の場合は、特定画像領域に関する符号化データを対象に攪拌する。たとえば、画像9中の特定画像領域10の8×8ブロック群について、該ブロックに関する符号化情報が得られるブロックレイヤーの情報に対して攪拌を行うことができる。これにより特定の画像領域のみを撹拌することができる。   As shown in FIG. 3A, in the case of the specific image region, the coded data related to the specific image region is agitated. For example, for the 8 × 8 block group in the specific image area 10 in the image 9, it is possible to agitate the block layer information from which the encoded information regarding the block is obtained. Thereby, only a specific image area can be stirred.

また、同図(b)に示すように、前記特定符号化階層の場合、例えばGOP層のうち、特定のGOPだけを撹拌対象とすることや、ピクチャー層のうち特定のピクチャー(例えばIピクチャのみなど)を撹拌対象とすることができる。これにより、特定のピクチャーの画像全体を撹拌することができるほか、その画像を参照画像として用いている符号化画像まで自動的に撹拌することができる。   Also, as shown in FIG. 5B, in the case of the specific coding layer, for example, only a specific GOP in the GOP layer is targeted for mixing, or a specific picture (for example, only an I picture) in the picture layer. Etc.) can be targeted for stirring. As a result, the entire image of a specific picture can be agitated, and the encoded image using the image as a reference image can be agitated automatically.

さらに、同図(c)に示すように、前記特定符号化モードの場合は、例えばイントラ符号化モードのブロックのみを撹拌対象とすることができる。この場合も撹拌処理対象となった符号化モードを用いたブロックが撹拌されるほか、このブロックを参照するすべてのブロックも自動的に撹拌される。たとえば、イントラ符号化ブロックのみを攪拌対象とすることにより、その後の前方向予測、双方向予測ブロックすべてに攪拌効果が得られるため、少ない攪拌対象ブロックにより、すべてのブロックを攪拌対象としたときと同等の効果を得ることが可能である。また、前方向予測を用いたインター符号化ブロックも攪拌対象とした場合は、より強固な攪拌効果が得られる。   Furthermore, as shown in FIG. 5C, in the case of the specific coding mode, for example, only the block in the intra coding mode can be set as a stirring target. In this case as well, the block using the encoding mode that is the target of the stirring process is stirred, and all the blocks that refer to this block are also stirred automatically. For example, since only the intra-coded block is targeted for stirring, a stirring effect can be obtained for all subsequent forward prediction and bidirectional prediction blocks. It is possible to obtain an equivalent effect. Moreover, when the inter coding block using the forward prediction is also set as a stirring target, a stronger stirring effect can be obtained.

また、前記撹拌対象領域情報pとしては、時間的に特定した画像のみを攪拌処理対象にしたり、前記の特定画像領域、特定符号化階層、特定符号化モードなどを組み合わせることも可能である。   Further, as the stirring target area information p, it is possible to set only a temporally specified image as a stirring process target, or to combine the specific image area, a specific encoding layer, a specific encoding mode, and the like.

なお、攪拌方式や攪拌領域については、あらかじめ決定しておく方法が利用できるが、それ以外の方法としては、たとえばMPEGデータのユーザデータ領域に暗号化するなどの手法を用いて格納することが可能である。更に複数の撹拌方式や鍵系列を用い、これらの情報を符号化の階層(例えばGOP層、マクロブロック層など)で変更することも可能である。例えば、MPEG符号化において、IピクチャとPピクチャで鍵系列を変更することなどがこれに当たる。これにより、より撹拌の強度を強化させることができる。また、鍵系列は符号化画像領域に応じて変更することも可能である。例えば、鍵系列を、画面の上半分と下半分で変更するなどの手法が利用できる。   For the agitation method and the agitation area, a method determined in advance can be used, but as other methods, it is possible to store by using a technique such as encryption in the user data area of MPEG data, for example. It is. Furthermore, it is also possible to use a plurality of agitation methods and key sequences, and to change these pieces of information at the encoding layer (eg, GOP layer, macroblock layer, etc.). For example, in MPEG encoding, changing the key sequence between an I picture and a P picture corresponds to this. Thereby, the intensity | strength of stirring can be strengthened more. The key sequence can be changed according to the encoded image area. For example, a technique of changing the key sequence between the upper half and the lower half of the screen can be used.

さらに、撹拌方式や撹拌領域情報を電子透かしにより秘匿情報として画像データに埋め込むことも可能である。これにより、透かし情報が読み取れない限り、撹拌方式や撹拌領域情報を得ることができないため、非常に強固な撹拌が可能となる。   Furthermore, it is also possible to embed the agitation method and agitation area information as confidential information in the image data using a digital watermark. As a result, unless the watermark information can be read, the agitation method and the agitation area information cannot be obtained, so that very strong agitation is possible.

次に、本実施形態の具体的な実施例を以下に説明する。
(実施例1)DC成分の攪拌
Next, specific examples of the present embodiment will be described below.
(Example 1) DC component stirring

図4は、圧縮画像データに対してDC成分を用いて画像を攪拌する実施例を示す。   FIG. 4 shows an embodiment in which an image is stirred using a DC component for compressed image data.

符号化動画像データと撹拌対象領域情報pとは、VLD(可変長復号)などで構成される部分復号部11に入力され、部分復号部11から得られる撹拌対象領域の変換係数iがDC成分抽出部12に入力される。該DC成分抽出部12には撹拌対象領域情報pで指示される撹拌対象領域の中のDC成分jのみが抽出され、撹拌対象領域外の情報k、すなわちAC成分は部分符号化部14に入力される。DC成分抽出部12で抽出された攪拌対象のDC成分jはDC成分攪拌部13に入力され、撹拌方式qに従って攪拌される。部分符号化部14では攪拌されたDC成分j’と、それ以外の情報k、m(AC成分k、撹拌対象領域外の符号化情報mなど)をあわせて部分符号化し、攪拌後の符号化画像データhとして出力する。   The encoded moving image data and the stirring target region information p are input to the partial decoding unit 11 configured by VLD (variable length decoding) or the like, and the conversion coefficient i of the stirring target region obtained from the partial decoding unit 11 is a DC component. Input to the extraction unit 12. Only the DC component j in the stirring target region indicated by the stirring target region information p is extracted to the DC component extraction unit 12, and information k outside the stirring target region, that is, the AC component is input to the partial encoding unit 14. Is done. The DC component j to be stirred extracted by the DC component extraction unit 12 is input to the DC component stirring unit 13 and stirred according to the stirring method q. The partial encoding unit 14 partially encodes the agitated DC component j ′ and other information k and m (AC component k, encoding information m outside the stirring target area, etc.) and encodes after stirring. Output as image data h.

前記DC成分攪拌部13における撹拌方法qとしては、いくつかの手法が考えられる。
DC成分を攪拌強度に応じて攪拌するために、以下の様にDC係数を攪拌強度Sに対して変更する。この場合、DC係数値を攪拌強度の範囲で変更することができる。たとえばDC係数がCd、攪拌強度をSとして、攪拌後のDC係数Cd’をCd±S/2の範囲に変更することができる。
As the stirring method q in the DC component stirring unit 13, several methods are conceivable.
In order to stir the DC component according to the stirring strength, the DC coefficient is changed with respect to the stirring strength S as follows. In this case, the DC coefficient value can be changed within the range of the stirring intensity. For example, assuming that the DC coefficient is Cd and the stirring intensity is S, the DC coefficient Cd ′ after stirring can be changed to a range of Cd ± S / 2.

変更の方法としては、以下のような方法が利用できる。この場合、攪拌強度Sを8から128までの8の倍数として、
Cd’=(2*[Cd/S]+1)*S-Cd (1)
として求めることができる。ここで、[X]は整数演算を示す。
The following methods can be used as the change method. In this case, the stirring intensity S is a multiple of 8 from 8 to 128,
Cd '= (2 * [Cd / S] +1) * S-Cd (1)
Can be obtained as Here, [X] indicates an integer operation.

たとえば、S=16、Cd=34の場合、Cd’=46になる。これは、攪拌強度S=16により、DC係数を1−16、17−32、33−48、・・・のバンドに分割し、DC係数が対応するバンドにおいて、補数計算により、攪拌後の係数を求めることと等価である。上の例ではCd=34のため、33−48のバンドにおいて補数は46になる(図5参照)。このように変換することにより、一意に変更することができる。
逆にCd’からCdを復元する場合は、逆に
Cd =(2*[Cd’/S]+1)*S-Cd’(2)
として求めることができる。
たとえば、上の例では、S=16の場合、Cd’=46で、Cd=34に戻る。
For example, when S = 16 and Cd = 34, Cd ′ = 46. This is because the DC coefficient is divided into bands of 1-16, 17-32, 33-48,... By stirring intensity S = 16, and the coefficient after stirring is calculated by complement calculation in the band corresponding to the DC coefficient. Is equivalent to In the above example, since Cd = 34, the complement is 46 in the band of 33-48 (see FIG. 5). By converting in this way, it can be changed uniquely.
Conversely, to restore Cd from Cd ',
Cd = (2 * [Cd '/ S] +1) * S-Cd' (2)
Can be obtained as
For example, in the above example, when S = 16, Cd ′ = 46 and the process returns to Cd = 34.

なお、攪拌については、輝度成分Y、色差成分Cb、Crいずれも適用が可能で、どれか1つあるいは組み合わせて利用することができる。   For the stirring, any of the luminance component Y and the color difference components Cb and Cr can be applied, and any one or a combination thereof can be used.

Sが大きい場合は、変換範囲も大きくなるため、大きく異なった値に変換される。逆にSが小さい場合は、変換範囲が限られるため、変換量は小さい。これにより、攪拌強度Sの大小により、攪拌効果の大小を制御することが可能となる。例えば、図6に示すように、Sが大きい32の場合には、1−32、33−64、65−96、・・・のバンドに分割され、例えばCd=2は、1−32のバンドにおいて、補数31に変換される。一方、Sが小さい4の場合には、1−4、4−8、9−12、・・・のバンドに分割され、例えばCd=2は、1−4のバンドにおいて、補数3に変換される。   When S is large, the conversion range becomes large, so that the value is converted to a significantly different value. Conversely, when S is small, the conversion range is limited, so the conversion amount is small. Thereby, the magnitude of the stirring effect can be controlled by the magnitude of the stirring strength S. For example, as shown in FIG. 6, when S is 32, the band is divided into 1-32, 33-64, 65-96,..., For example, Cd = 2 is 1-32 band. In FIG. On the other hand, when S is small 4, it is divided into bands of 1-4, 4-8, 9-12,..., For example, Cd = 2 is converted to complement 3 in the band of 1-4. The

次に、この技術をMPEG符号化データにて適用した場合について述べる。たとえばMPEG-1で符号化した場合、符号化データのDC成分はDCT係数上のDC成分が該当する。また、MPEG-1のマクロブロック層で撹拌した場合、マクロブロック単位で撹拌することができるため、特定の小領域で撹拌することが可能である。また、スライス層で撹拌した場合はスライス単位で撹拌することが可能なため、ブロック単位よりもまとまった単位で撹拌できる。   Next, a case where this technique is applied to MPEG encoded data will be described. For example, when encoded with MPEG-1, the DC component of the encoded data corresponds to the DC component on the DCT coefficient. In addition, when stirring is performed in the macroblock layer of MPEG-1, since stirring can be performed in units of macroblocks, stirring can be performed in a specific small region. In addition, when stirring is performed in the slice layer, stirring can be performed in units of slices, and therefore, stirring can be performed in units that are more organized than in units of blocks.

また、上記の方法では、攪拌したDC成分も攪拌前と同じ符号化仕様内に収まるため、MPEG-1などの国際標準規格に準拠した符号化データが入力された場合でも攪拌後についてもMPEG-1規格に準拠することが可能であり、攪拌後の符号化データをMPEG-1規格に準拠した再生手段で再生することが可能である。   In the above method, the agitated DC component is also within the same encoding specifications as before the agitation, so even if encoded data compliant with international standards such as MPEG-1 is input, the MPEG- It is possible to comply with one standard, and the encoded data after stirring can be reproduced by a reproducing means compliant with the MPEG-1 standard.

本実施例の方法により、DC成分のみを攪拌することにより、動きやシーンの複雑さに依存せずに、攪拌することが可能である。また、人間の視覚でもっとも重要なDC成分を攪拌することにより、AC成分をそのまま攪拌しない場合でも、攪拌領域については、内容を予測できない程度に攪拌することが可能である。
(実施例2)AC成分の攪拌
By stirring only the DC component by the method of this embodiment, it is possible to stir without depending on the movement or the complexity of the scene. Further, by stirring the most important DC component by human vision, even when the AC component is not stirred as it is, the stirring region can be stirred to an extent that the contents cannot be predicted.
(Example 2) AC component stirring

図7は圧縮画像データに対してAC成分を用いて画像を攪拌する実施例を示す。   FIG. 7 shows an embodiment in which an image is agitated using an AC component with respect to compressed image data.

符号化画像データは部分復号部21に入力され、部分復号部21から得られる量子化変換係数がAC成分抽出部22に入力される。それ以外の情報は部分符号化部25に入力される。AC成分抽出部22では、量子化変換係数のうちAC成分のみが抽出され、攪拌対象のAC成分は逆量子化されてAC成分攪拌部23に入力され、AC成分が攪拌される。それ以外の情報は部分符号化部25に入力される。AC成分攪拌部23で攪拌されたAC成分は攪拌対象外情報とともにAC成分符号化データ生成部24で合成される。部分符号化部25では合成されたAC成分とそれ以外の情報をあわせて部分符号化し攪拌後の符号化データとして出力する。 The encoded image data is input to the partial decoding unit 21, and the quantized transform coefficient obtained from the partial decoding unit 21 is input to the AC component extraction unit 22. Other information is input to the partial encoding unit 25. In the AC component extraction unit 22, only the AC component is extracted from the quantized transform coefficients, the AC component to be stirred is inversely quantized and input to the AC component stirring unit 23, and the AC component is stirred. Other information is input to the partial encoding unit 25. The AC component stirred by the AC component stirring unit 23 is synthesized by the AC component encoded data generation unit 24 together with the information not to be stirred. In the partial encoding unit 25, the synthesized AC component and other information are partially encoded and output as encoded data after stirring.

AC成分の攪拌方法としては、(実施例1)で述べたDC成分の攪拌と同様な手法を用いることが可能である。   As a method for stirring the AC component, a method similar to the stirring of the DC component described in (Example 1) can be used.

すなわち、特定のAC係数Caに対して、(1)式のような方式により、AC係数を攪拌強度Sに応じてCaが属するバンドにおいて補数となる値を変換後の係数Ca’として用いる。
Ca’=(2*[Ca/S]+1)*S-Ca (3)
なお、AC係数は負数になることがあるので、この場合は、絶対値については同様に計算して、その後負数におきかえればよい。また、復元する際は(2)式のような方式によりAC係数を復元することができる。
Ca =(2*[Ca’/S]+1)*S-Ca’(4)
That is, for a specific AC coefficient Ca, a value that is a complement in the band to which Ca belongs according to the stirring intensity S is used as the coefficient Ca ′ after conversion by a method such as the expression (1).
Ca '= (2 * [Ca / S] +1) * S-Ca (3)
Since the AC coefficient may be a negative number, in this case, the absolute value may be calculated in the same manner and then replaced with a negative number. Further, when restoring, the AC coefficient can be restored by a method such as equation (2).
Ca = (2 * [Ca '/ S] +1) * S-Ca' (4)

なお、AC係数については、どのAC係数を対象とするかはさまざまな手法で決定することができる。第1の方法としては、非零AC係数のうち最も低い周波数のAC係数を用いる方法がある。これは低周波成分は視覚的に影響力が大きいためである。第2の方法としては、非零AC係数のうち、最も絶対値が大きい係数を用いる方法がある。この場合も、視覚的に影響力が大きい係数を利用することで第1の方法と同様な効果が得られる。第3の方法としては、疑似乱数発生が可能な鍵系列を用いて決定される非零AC係数を用いることができる。この場合は、AC係数がランダムに選ばれる。類似した画像が連続するような場合には第1、第2の方法では、特定の係数が選ばれるため、攪拌効果が低下する可能性があるが、第3の手法の場合は、ランダム性が確保できるため、攪拌効果を向上させることが可能である。図8に第3の方法により攪拌する例を示す。この場合、攪拌強度S=32で、鍵系列により非零AC係数のうち(x,y)=(3,1)の位置に存在する係数Ca=-2が選ばれている。そこで(3)式を用いて変換すると絶対値は30になるため、負数として−30になる。   Regarding AC coefficients, which AC coefficient is targeted can be determined by various methods. As a first method, there is a method using the AC coefficient of the lowest frequency among the non-zero AC coefficients. This is because the low frequency component has a large visual influence. As a second method, there is a method using a coefficient having the largest absolute value among non-zero AC coefficients. Also in this case, the same effect as the first method can be obtained by using a coefficient having a visually large influence. As a third method, a non-zero AC coefficient determined using a key sequence capable of generating a pseudorandom number can be used. In this case, the AC coefficient is selected at random. When similar images are continuous, a specific coefficient is selected in the first and second methods, which may reduce the stirring effect. However, in the case of the third method, randomness may be reduced. Since it can be ensured, the stirring effect can be improved. FIG. 8 shows an example of stirring by the third method. In this case, with the stirring intensity S = 32, the coefficient Ca = −2, which is present at the position (x, y) = (3, 1), is selected from the non-zero AC coefficients by the key sequence. Therefore, since the absolute value becomes 30 when converted using the equation (3), it becomes -30 as a negative number.

なお、AC係数については、上記の手法を組み合わせて、複数のAC係数を攪拌することも可能である。たとえば、第1と第2の手法を組み合わせて2つの係数を対象にすることや、第1の手法において、低い周波数から順次2つの係数を対象とすることも可能である。   In addition, about AC coefficient, it is also possible to stir several AC coefficients combining the said method. For example, it is possible to target two coefficients by combining the first and second methods, or to sequentially target two coefficients from a low frequency in the first method.

また、変形例として、AC係数とDC係数両方を攪拌対象にすることも可能である。この場合、単独の場合にくらべて効果を高めることが可能である。   As a modification, it is also possible to set both the AC coefficient and the DC coefficient as stirring targets. In this case, it is possible to enhance the effect as compared with the case of a single case.

さらに、本攪拌手法は別の攪拌手法と組み合わせることも可能である。たとえば、特願2006-187924号に記載したようにブロック間で変換係数を鍵系列を用いて攪拌することや、ブロック内の変換係数を鍵系列を用いて攪拌する手法と組み合わせることが可能である。たとえば、ブロック間で変換係数を攪拌する場合、まず、実施例1や実施例2で述べたDC成分やAC成分を攪拌強度に従って別の値に変更し、さらにそのブロックすべての変換係数を鍵系列で指定される別のブロックと交換することが可能である。また、ブロック内の攪拌については、まず、実施例1や実施例2で述べたDC成分やAC成分を攪拌強度に従って別の値に変更し、さらにそのブロック内のAC成分を鍵系列に従って攪拌することができる。このような攪拌手法の組み合わせによって、より解読が困難な攪拌が可能となる。   Furthermore, this stirring method can be combined with another stirring method. For example, as described in Japanese Patent Application No. 2006-187924, it is possible to combine a conversion coefficient between blocks using a key sequence, or a method of mixing conversion coefficients in a block using a key sequence. . For example, when the conversion coefficient is stirred between blocks, first, the DC component and AC component described in the first and second embodiments are changed to different values according to the stirring strength, and the conversion coefficients of all the blocks are further changed to a key sequence. It is possible to exchange with another block specified by. As for stirring in the block, first, the DC component and AC component described in Example 1 and Example 2 are changed to different values according to the stirring intensity, and the AC component in the block is further stirred according to the key sequence. be able to. By such a combination of stirring methods, stirring that is more difficult to decipher becomes possible.

また、攪拌したAC成分も攪拌前と同じ符号化仕様内に収まるため、MPEG-1などの国際標準規格に準拠した符号化データが入力された場合でも攪拌後についてもMPEG-1規格に準拠することが可能であり、攪拌後の符号化データをMPEG-1規格に準拠した再生手段で再生することが可能である。   In addition, since the stirred AC component is within the same encoding specifications as before mixing, even if encoded data that conforms to international standards such as MPEG-1 is input, it will also comply with the MPEG-1 standard even after mixing. It is possible to reproduce the encoded data after stirring by a reproducing means compliant with the MPEG-1 standard.

次に、本発明の第2実施形態を説明する。この実施形態は、符号化時に撹拌処理をするようにした点に特徴がある。   Next, a second embodiment of the present invention will be described. This embodiment is characterized in that a stirring process is performed during encoding.

図9に、入力された画像データを符号化する時に、撹拌処理も合わせて行う方式を示す。画像データはDCTや量子化器やVLCなどで代表される第1の符号化部121に入力される。符号化出力のうち撹拌対象データおよび攪拌強度がデータ撹拌部122に入力される。また撹拌対象外データについては第2の符号化部123に入力される。データ撹拌部122では符号化データが撹拌され、第2の符号化部123に入力される。第2の符号化部123では撹拌された符号化データと撹拌されていない符号化データを合わせて再符号化し、符号化データとして出力する。例えば、Iピクチャが撹拌対象で、時間的に後に位置するPピクチャが撹拌対象外の場合、撹拌されたIピクチャデータの後に撹拌されていないPピクチャデータが後に続くように符号化出力を行う。   FIG. 9 shows a method in which the stirring process is also performed when the input image data is encoded. The image data is input to the first encoding unit 121 typified by DCT, quantizer, VLC and the like. Among the encoded outputs, the stirring target data and the stirring intensity are input to the data stirring unit 122. Further, the data not subject to stirring is input to the second encoding unit 123. In the data agitation unit 122, the encoded data is agitated and input to the second encoding unit 123. The second encoding unit 123 re-encodes the encoded data that has been agitated and the encoded data that has not been agitated, and outputs the encoded data. For example, when an I picture is an object to be stirred and a P picture located later in time is not an object to be stirred, the encoded output is performed so that the P picture data that is not stirred is followed by the stirred I picture data.

この場合も第1実施形態の図4、図8で説明したのと同様に、適切な撹拌方法を利用することで、撹拌しない場合と撹拌した場合でMPEGやJPEGなどの規格を撹拌後も遵守することが可能である。   In this case as well, as described with reference to FIGS. 4 and 8 of the first embodiment, by using an appropriate agitation method, the standards such as MPEG and JPEG are observed even after agitation with and without agitation. Is possible.

次に、本発明の第3実施形態を説明する。この実施形態は、撹拌された符号化データを撹拌時の逆の方法を用いて撹拌前の符号化データに復元するようにしたものである。   Next, a third embodiment of the present invention will be described. In this embodiment, the agitated encoded data is restored to the encoded data before agitation using the reverse method during agitation.

図10を用いて説明する。撹拌された符号化データはVLDなどで構成される部分復号部131に入力される。部分復号後のデータは、撹拌対象領域に属する符号化情報については撹拌復元部132に入力させる。また、攪拌対象外の符号化情報はそのまま部分符号化部133に入力させる。攪拌復元部132では、(2)式などを用いて、撹拌された符号化情報を元の符号化情報に復元する。戻された符号化情報は撹拌対象外の符号化情報と共に部分符号化部133により撹拌前の符号化データとして出力される。   This will be described with reference to FIG. The stirred encoded data is input to the partial decoding unit 131 configured by VLD or the like. The data after partial decoding is input to the agitation restoration unit 132 for the encoded information belonging to the agitation target region. Also, the encoded information that is not subject to stirring is directly input to the partial encoding unit 133. The agitation restoration unit 132 restores the agitated encoded information to the original encoded information using equation (2) or the like. The returned encoded information is output as encoded data before mixing by the partial encoding unit 133 together with encoded information that is not subject to stirring.

例えば、Iピクチャが撹拌されており、その後に続くPピクチャが撹拌対象外であった場合、撹拌復元部132には撹拌されたIピクチャが入力されて復元され、撹拌前のIピクチャ情報が出力される。部分符号化部133は、撹拌前のIピクチャの後に撹拌されていないPピクチャ情報を合わせて符号化して出力する。   For example, if the I picture is being stirred and the subsequent P picture is not subject to stirring, the stirred I picture is input to the stirring restoration unit 132 and restored, and the I picture information before stirring is output. Is done. The partial encoding unit 133 encodes and outputs the P picture information that has not been mixed after the I picture before mixing.

なお、適切な撹拌方法を選択した場合、上記の方法で撹拌復元された符号化データは撹拌される前の符号化データと同一の符号化データに復元することが可能である。例えば、上の例で述べたIピクチャの場合、撹拌前のIピクチャ符号化データに完全に復元することにより、撹拌前の符号化データに戻すことが可能になる。   When an appropriate agitation method is selected, the encoded data restored by the above method can be restored to the same encoded data as the encoded data before being agitated. For example, in the case of the I picture described in the above example, it is possible to restore the encoded data before mixing by completely restoring the I picture encoded data before mixing.

次に、本発明の第4実施形態を説明する。この実施形態は、撹拌された符号化データを撹拌時の逆の方法を用いて撹拌される前の画像データに復元するようにしたものである。   Next, a fourth embodiment of the present invention will be described. In this embodiment, the agitated encoded data is restored to the image data before agitation using the reverse method at the time of agitation.

図11を用いて説明する。撹拌された符号化データは第1の復号部141に入力される。第1の復号部141で復号された符号化データは、撹拌対象領域に属する符号化情報については撹拌復元部142に入力される。また、攪拌対象外の符号化情報はそのまま第2の復号部143に入力される。攪拌復元部142では、例えば、(2)式のような方式により撹拌された符号化情報を元の符号化情報に復元する。戻された符号化情報は撹拌対象外の符号化情報と共に、逆量子化や逆DCTで構成される第2の復号部143により撹拌前の画像データとして出力される。   This will be described with reference to FIG. The stirred encoded data is input to the first decoding unit 141. The encoded data decoded by the first decoding unit 141 is input to the agitation restoration unit 142 for the encoded information belonging to the agitation target region. The encoded information that is not subject to stirring is input to the second decoding unit 143 as it is. In the agitation restoration unit 142, for example, the encoded information that has been agitated by a method such as Equation (2) is restored to the original encoded information. The returned encoded information is output as image data before mixing by the second decoding unit 143 configured by inverse quantization or inverse DCT together with the encoding information that is not to be mixed.

例えば、Iピクチャが撹拌されており、その後に続くPピクチャが撹拌対象外であった場合、撹拌復元部142には撹拌されたIピクチャが入力されて、撹拌前のIピクチャ符号化データが出力される。第2の復号部143には撹拌前のIピクチャの後に撹拌されていないPピクチャ情報が順に復号されて復元された画像が出力される。   For example, when an I picture is being stirred and the subsequent P picture is not subject to stirring, the stirred I picture is input to the stirring restoration unit 142, and the I picture encoded data before stirring is output. Is done. The second decoding unit 143 outputs an image obtained by sequentially decoding and restoring P picture information that has not been mixed after the I picture before mixing.

次に、本発明の第5実施形態を説明する。この実施形態は、画像データを攪拌して、攪拌された画像データを得るものである。   Next, a fifth embodiment of the present invention will be described. In this embodiment, image data is agitated to obtain agitated image data.

図12を用いて説明する。画像データは画像データ抽出部151に入力され、攪拌対象領域の画像データが抽出される。もし対象が画面全体の場合はすべての画像データが対象になる。また、対象外の画像データについては、変換係数逆変換部154に入力される。攪拌対象画像データは画像データ変換部152に入力される。画像データ変換部では、対象画像データが周波数変換される。たとえば、ブロック単位で変換が可能なDCTやWavelet変換などを用いることができる。周波数変換された変換係数は、データ攪拌部153で攪拌される。データ攪拌部153では、各ブロックの変換係数を攪拌強度に応じて攪拌する。攪拌方法としては、実施例1や実施例2で述べたように、変換係数のDC成分やAC成分をそれぞれ(1)式や(3)式を用いて攪拌することが可能である。AC係数の指定方法については、実施例2で述べたような手法(最低周波数の非零AC係数、絶対値が最大の非零AC係数、鍵系列で指定された非零AC係数)などを用いて指定することができる。また、DC成分とAC成分を組み合わせて複数の係数を攪拌することも可能である。さらに、最低周波数から高い周波数に向けて2個の非零AC係数を用いるなど複数のAC係数を対象とすることも可能である。データ攪拌された変換係数は変換係数逆変換部154に入力される。ここでは、データ攪拌された変換係数を逆変換して画像データに戻すとともに、画像データ抽出部151で対象外となった画像データと合わせて、攪拌後の画像データとして出力する。   This will be described with reference to FIG. The image data is input to the image data extraction unit 151, and the image data of the stirring target area is extracted. If the target is the entire screen, all image data will be the target. Further, the non-target image data is input to the transform coefficient inverse transform unit 154. The stirring target image data is input to the image data converter 152. In the image data conversion unit, the target image data is frequency-converted. For example, DCT or Wavelet conversion that can be converted in block units can be used. The frequency-converted conversion coefficient is stirred by the data stirring unit 153. In the data stirring unit 153, the conversion coefficient of each block is stirred according to the stirring strength. As the stirring method, as described in Example 1 and Example 2, it is possible to stir the DC component and AC component of the conversion coefficient using the equations (1) and (3), respectively. For the method of specifying the AC coefficient, the method described in the second embodiment (the non-zero AC coefficient with the lowest frequency, the non-zero AC coefficient with the maximum absolute value, the non-zero AC coefficient specified with the key sequence), etc. is used. Can be specified. It is also possible to stir a plurality of coefficients by combining a DC component and an AC component. Furthermore, it is possible to target a plurality of AC coefficients such as using two non-zero AC coefficients from the lowest frequency to the higher frequency. The data-mixed conversion coefficient is input to the conversion coefficient inverse conversion unit 154. Here, the data-stirred conversion coefficient is inversely converted back to image data, and is output as image data after stirring together with the image data excluded by the image data extraction unit 151.

この出力された画像データを例えば記憶装置に記憶して保存する場合、他者が該記憶装置から該画像データを読み出しても内容のわかるまたは予測できる画像を得ることができず、画像データを守秘することができる。   When the output image data is stored in, for example, a storage device and saved, the image cannot be obtained even if another person reads the image data from the storage device and the image can be understood or predicted. can do.

上記のようにして撹拌された画像データから攪拌前の画像データへ復元する方法を図13を用いて説明する。攪拌された画像データは画像データ抽出部161に入力され、攪拌された領域の画像データが抽出される。もし対象が画面全体の場合はすべての画像データが対象になる。また、対象外の画像データについては、変換係数逆変換部164に入力される。攪拌対象画像データは画像データ変換部162に入力される。画像データ変換部では、対象画像データが周波数変換される。たとえば、ブロック単位で変換が可能なDCTやWavelet変換などを用いることができる。周波数変換された変換係数は、攪拌復元部163で攪拌される。攪拌復元部163では、各ブロックにおいて指定された変換係数を攪拌前に戻す。攪拌復元方法としては、実施例1や実施例2で述べたように、変換係数のDC成分やAC成分をそれぞれ(2)式や(4)式を用いて復元することが可能である。攪拌が復元された変換係数は変換係数逆変換部164に入力される。ここでは、変換係数を逆変換して画像データに戻すとともに、画像データ抽出部161で対象外となった画像データと合わせて、攪拌後の画像データとして出力する。   A method of restoring the image data stirred as described above to the image data before stirring will be described with reference to FIG. The stirred image data is input to the image data extraction unit 161, and the image data of the stirred region is extracted. If the target is the entire screen, all image data will be the target. Further, the non-target image data is input to the transform coefficient inverse transform unit 164. The stirring target image data is input to the image data converter 162. In the image data conversion unit, the target image data is frequency-converted. For example, DCT or Wavelet conversion that can be converted in block units can be used. The frequency-converted conversion coefficient is stirred by the stirring restoration unit 163. The stirring restoration unit 163 returns the conversion coefficient designated in each block before stirring. As the stirring restoration method, as described in the first and second embodiments, the DC component and the AC component of the conversion coefficient can be restored using the equations (2) and (4), respectively. The conversion coefficient whose stirring has been restored is input to the conversion coefficient inverse conversion unit 164. Here, the conversion coefficient is inversely converted to return to image data, and is output as image data after stirring together with the image data excluded by the image data extraction unit 161.

次に、本発明の第6実施形態を説明する。この実施形態は、符号化画像データの動きベクトル量を攪拌して、攪拌された符号化画像データを得るものである。   Next, a sixth embodiment of the present invention will be described. In this embodiment, the amount of motion vector of encoded image data is agitated to obtain agitated encoded image data.

図14は圧縮画像データに対して動きベクトルを用いて画像を攪拌する実施例を示す。   FIG. 14 shows an embodiment in which an image is stirred using a motion vector for compressed image data.

符号化画像データは部分復号部171に入力され、部分復号部171から得られる動きベクトル情報が動きベクトル抽出172に入力される。それ以外の情報は部分符号化部174に入力される。動きベクトル抽出部12では、攪拌対象の動きベクトルが動きベクトル攪拌部173に入力され、動きベクトルが攪拌される。それ以外の情報は部分符号化部174に入力される。部分符号化部174では攪拌された動きベクトル成分とそれ以外の情報をあわせて攪拌後の符号化データとして出力する。 The encoded image data is input to the partial decoding unit 171, and motion vector information obtained from the partial decoding unit 171 is input to the motion vector extraction unit 172. The other information is input to the partial encoding unit 174. The motion vector extraction unit 1 7 2, motion vector of the stirring object is input to the vector stirring section 173 motion, the motion vector is agitated. The other information is input to the partial encoding unit 174. The partial encoding unit 174 outputs the agitated motion vector component and other information together as encoded data after agitation.

動きベクトルの攪拌方法としては、(実施例1)で述べたDC成分の攪拌と類似した手法を用いることが可能である。   As a motion vector stirring method, a method similar to the DC component stirring described in the first embodiment can be used.

すなわち、動きベクトルMVに対して、(1)式のような方式により、動きベクトルMVを攪拌強度S‘に応じてMVが属するバンドにおいて補数となる値を変換後の係数MV’として用いる。
MV’=(2*[MV/S’]+1)*S’-MV (5)
たとえば、動きベクトル範囲が±32の場合、攪拌強度S’=8とすると、MV=(15, -25)の場合、MV’=(9, -31s)となる。なお、動きベクトルは負数になることがあるので、この場合は、絶対値については同様に計算して、その後負数に置き換えている。また、復元する際は(6)式のような方式により攪拌前の動きベクトルMVを復元することができる。
MV =(2*[MV’/S’]+1)*S’-MV’(6)
That is, for the motion vector MV, a value that is a complement of the motion vector MV in the band to which the MV belongs according to the stirring intensity S ′ is used as the coefficient MV ′ after the conversion by a method such as the equation (1).
MV '= (2 * [MV / S'] + 1) * S'-MV (5)
For example, when the motion vector range is ± 32 and the stirring intensity S ′ = 8, MV ′ = (9, −31 s) when MV = (15, −25). Since the motion vector may be a negative number, in this case, the absolute value is calculated in the same manner and then replaced with a negative number. Further, when restoring, the motion vector MV before stirring can be restored by a method such as the equation (6).
MV = (2 * [MV '/ S'] + 1) * S'-MV '(6)

また、変形例として、動きベクトルのほかに実施例1や実施例2で述べたAC係数とDC係数などと組み合わせて攪拌することも可能である。この場合、単独の場合にくらべて効果を高めることが可能である。   Further, as a modification, in addition to the motion vector, stirring can be performed in combination with the AC coefficient and the DC coefficient described in the first and second embodiments. In this case, it is possible to enhance the effect as compared with the case of a single case.

また、攪拌した動きベクトルも攪拌前と同じ符号化仕様内に収まるため、MPEG-1などの国際標準規格に準拠した符号化データが入力された場合でも攪拌後についてもMPEG-1規格に準拠することが可能であり、攪拌後の符号化データをMPEG-1規格に準拠した再生手段で再生することが可能である。   In addition, since the agitated motion vector is within the same encoding specifications as before the agitation, even if encoded data that conforms to international standards such as MPEG-1 is input, it will also comply with the MPEG-1 standard after agitation. It is possible to reproduce the encoded data after stirring by a reproducing means compliant with the MPEG-1 standard.

本発明の第1実施形態の概略の構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a first embodiment of the present invention. 本発明の一具体例の構成を示すブロック図である。It is a block diagram which shows the structure of one specific example of this invention. 撹拌対象領域情報の具体例の説明図である。It is explanatory drawing of the specific example of stirring object area | region information. 第1実施例の概略の構成を示すブロック図である。It is a block diagram which shows the structure of the outline of 1st Example. 撹拌強度S=16の場合のバンドと補数の関係を説明する図である。It is a figure explaining the relationship between a band and a complement in case of stirring intensity S = 16. 撹拌強度S=32、S=4の場合のバンドと補数の関係を説明する図である。It is a figure explaining the relationship between a band and a complement in case stirring intensity | strength S = 32 and S = 4. 第2実施例の概略の構成を示すブロック図である。It is a block diagram which shows the structure of the outline of 2nd Example. 撹拌強度に応じたAC成分の撹拌の一例の説明図である。It is explanatory drawing of an example of the stirring of AC component according to stirring intensity. 本発明の第2実施形態の概略の構成を示すブロック図である。It is a block diagram which shows the structure of the outline of 2nd Embodiment of this invention. 本発明の第3実施形態の概略の構成を示すブロック図である。It is a block diagram which shows the structure of the outline of 3rd Embodiment of this invention. 本発明の第4実施形態の概略の構成を示すブロック図である。It is a block diagram which shows the structure of the outline of 4th Embodiment of this invention. 本発明の第5実施形態の概略の構成(撹拌装置)を示すブロック図である。It is a block diagram which shows the structure (stirring apparatus) of the outline of 5th Embodiment of this invention. 本発明の第5実施形態の概略の構成(復元装置)を示すブロック図である。It is a block diagram which shows the structure (restoration apparatus) of the outline of 5th Embodiment of this invention. 本発明の第6実施形態の概略の構成を示すブロック図である。It is a block diagram which shows the structure of the outline of 6th Embodiment of this invention.

符号の説明Explanation of symbols

1・・・符号化画像情報抽出部、2・・・データ撹拌部、3・・・符号データ生成部、11,21・・・VLD、12・・・DC成分抽出部、13・・・DC成分撹拌部、14,25・・・VLC、22・・・AC成分抽出部、23・・・AC成分撹拌部、24・・・AC成分符号化データ生成部、121・・・第1の符号化部、122・・・データ撹拌部、123・・・第2の符号化部、131・・・部分復号部、132・・・撹拌復元部、133・・・部分符号化部、141・・・第1の復号部、142・・・撹拌復元部、143・・・第2の復号部、151・・・画像データ抽出部、152・・・画像データ変換部、153・・・データ撹拌部、154・・・変換係数逆変換部、161・・・画像データ抽出部、162・・・画像データ変換部、163・・・撹拌復元部、164・・・変換係数逆変換部、171・・・部分復号部、172・・・動きベクトル抽出部、173・・・動きベクトル撹拌部、174・・・部分符号化部。
DESCRIPTION OF SYMBOLS 1 ... Coded image information extraction part, 2 ... Data stirring part, 3 ... Code data generation part, 11, 21 ... VLD, 12 ... DC component extraction part, 13 ... DC Component stirrer, 14, 25 ... VLC, 22 ... AC component extractor, 23 ... AC component stirrer, 24 ... AC component encoded data generator, 121 ... first sign , 122... Data agitation unit, 123... Second encoding unit, 131... Partial decoding unit, 132. -1st decoding part, 142 ... Agitation restoration part, 143 ... 2nd decoding part, 151 ... Image data extraction part, 152 ... Image data conversion part, 153 ... Data stirring part 154 ... Conversion coefficient inverse transform unit, 161 ... Image data extraction unit, 162 ... Image data Conversion unit, 163... Stirring restoration unit, 164... Conversion coefficient inverse conversion unit, 171... Partial decoding unit, 172... Motion vector extraction unit, 173. -Partial encoding part.

Claims (8)

符号化画像データを入力する符号化画像データ入力手段と、
該符号化画像データから攪拌対象の変換係数を抽出する変換係数抽出手段と、
該攪拌対象の攪拌強度を指定する手段と、
前記抽出された攪拌対象の変換係数に関して、特定の符号化階層の非零DC係数値、又は該特定の符号化階層の非零AC係数値のうち、絶対値が最大のもの、最も周波数が低いもの、および鍵系列を用いて決定されるもののうちの少なくとも一つを用い、該係数値を前記攪拌強度の範囲で変更する攪拌手段と、
前記攪拌処理された変換係数と非攪拌対象の変換係数とから、攪拌後の符号化画像データを生成して出力する手段とを具備し、
前記攪拌対象となる変換係数値の変更は、前記攪拌強度の範囲で補数となる値に変更することを特徴とする画像データの攪拌装置。
Encoded image data input means for inputting encoded image data;
Conversion coefficient extraction means for extracting a conversion coefficient to be agitated from the encoded image data;
Means for designating the stirring intensity of the stirring target ;
Regarding the extracted conversion coefficient to be agitated, the non-zero DC coefficient value of a specific coding layer or the non-zero AC coefficient value of the specific coding layer has the largest absolute value and the lowest frequency And a stirring means for changing the coefficient value within the range of the stirring intensity using at least one of those determined using a key sequence, and
Means for generating and outputting encoded image data after stirring, from the conversion coefficient subjected to the stirring process and the conversion coefficient to be unstirred,
The change of the conversion coefficient value to be agitated is changed to a value that is a complement within the range of the agitation intensity .
画像データを入力する画像データ入力手段と、
該画像データを変換係数に変換する変換手段と、
該変換係数から攪拌対象の変換係数を抽出する変換係数抽出手段と、
該攪拌対象の攪拌強度を指定する手段と、
前記抽出された攪拌対象の変換係数に関して、特定の符号化階層の非零DC係数値、又は該特定の符号化階層の非零AC係数値のうち、絶対値が最大のもの、最も周波数が低いもの、および鍵系列を用いて決定されるもののうちの少なくとも一つを用い、該係数値を前記攪拌強度の範囲で変更する攪拌手段と、
前記攪拌処理された変換係数と非攪拌対象の変換係数とからなる攪拌後の変換係数値を逆変換して画像データに復元する復元手段を具備し、
前記攪拌対象となる変換係数値の変更は、前記攪拌強度の範囲で補数となる値に変更することを特徴とする画像データの攪拌装置。
Image data input means for inputting image data;
Conversion means for converting the image data into conversion coefficients;
Conversion coefficient extraction means for extracting the conversion coefficient to be stirred from the conversion coefficient;
Means for designating the stirring intensity of the stirring target ;
Regarding the extracted conversion coefficient to be agitated, the non-zero DC coefficient value of a specific coding layer or the non-zero AC coefficient value of the specific coding layer has the largest absolute value and the lowest frequency And a stirring means for changing the coefficient value within the range of the stirring intensity using at least one of those determined using a key sequence, and
; And a restoring means for restoring the image data by inverse transforming the transform coefficients after stirring consisting of the stirring process transform coefficients and unstirred target transform coefficients,
The change of the conversion coefficient value to be agitated is changed to a value that is a complement within the range of the agitation intensity .
請求項1または2に記載の画像データの攪拌装置において、
前記攪拌手段は、前記絶対値が最大のもの、最も周波数が低いもの、および鍵系列を用いて決定されるもののうちの少なくとも一つと非零DC係数値を、さらに用いることを特徴とする画像データの攪拌装置。
In the stirring device for image data according to claim 1 or 2,
The agitation means further uses at least one of the one having the maximum absolute value, the one having the lowest frequency, and the one determined using a key sequence, and a non-zero DC coefficient value. Stirring device.
請求項2又は3に記載の画像データの攪拌装置で攪拌された画像データを攪拌前の画像データに復元する攪拌復元装置において、
前記攪拌装置で攪拌された画像データを入力する画像データ入力手段と、
該画像データを変換係数に変換する手段と、
前記攪拌対象の変換係数を抽出し、該抽出された変換係数値を前記指定された攪拌強度に従って攪拌前の変換係数値に復元する復元手段と、
復元後の変換係数を逆変換して攪拌前の画像データに復元する手段とを具備したことを特徴とする画像データの攪拌復元装置。
In the stirring restoration device for restoring the image data stirred by the image data stirring device according to claim 2 or 3 to the image data before stirring,
Image data input means for inputting the image data stirred by the stirring device;
Means for converting the image data into conversion coefficients;
A restoring means for extracting the conversion coefficient of the stirring target, and restoring the extracted conversion coefficient value to the conversion coefficient value before stirring according to the specified stirring intensity ;
A stirring / restoring apparatus for image data, comprising: means for inversely converting the restored conversion coefficient to restore the image data before stirring.
画像データを入力する画像データ入力手段と、
該画像データを変換係数に変換する変換手段と、
該変換係数から攪拌対象の変換係数を抽出する変換係数抽出手段と、
該攪拌対象の攪拌強度を指定する手段と、
前記抽出された攪拌対象の変換係数に関して、特定の符号化階層の非零DC係数値、又は該特定の符号化階層の非零AC係数値のうち、絶対値が最大のもの、最も周波数が低いもの、および鍵系列を用いて決定されるもののうちの少なくとも一つを用い、該係数値を前記攪拌強度の範囲で変更する攪拌手段と、
前記攪拌処理された変換係数と非攪拌対象の変換係数とからなる攪拌後の変換係数値と、他の符号化情報とを用いて画像を符号化する手段を具備し、
前記攪拌対象となる変換係数値の変更は、前記攪拌強度の範囲で補数となる値に変更することを特徴とする画像データの攪拌装置。
Image data input means for inputting image data;
Conversion means for converting the image data into conversion coefficients;
Conversion coefficient extraction means for extracting the conversion coefficient to be stirred from the conversion coefficient;
Means for designating the stirring intensity of the stirring target ;
Regarding the extracted conversion coefficient to be agitated, the non-zero DC coefficient value of a specific coding layer or the non-zero AC coefficient value of the specific coding layer has the largest absolute value and the lowest frequency And a stirring means for changing the coefficient value within the range of the stirring intensity using at least one of those determined using a key sequence, and
And means for encoding an image by using the transformation coefficient value after stirring consisting of the stirring process transform coefficients and unstirred target transform coefficients, and other coded information,
The change of the conversion coefficient value to be agitated is changed to a value that is a complement within the range of the agitation intensity .
請求項5に記載の画像データの攪拌装置で攪拌された画像データを攪拌前の画像データに復元する攪拌復元装置において、
前記攪拌装置で攪拌された符号化画像データを入力する符号化画像データ入力手段と、
該符号化画像データを部分復号して符号化情報を抽出する符号化情報抽出手段と、
該抽出された符号化情報を指定された復元方式に従って攪拌前の符号化情報に復元する復元手段とを具備したことを特徴とする画像データの攪拌復元装置。
In the stirring restoration device for restoring the image data stirred by the image data stirring device according to claim 5 to the image data before stirring,
Encoded image data input means for inputting encoded image data stirred by the stirring device;
Encoded information extracting means for partially decoding the encoded image data and extracting encoded information;
A stirring / restoring device for image data, comprising: restoring means for restoring the extracted coded information to coded information before stirring according to a designated restoration method.
請求項5に記載の画像データの攪拌装置で攪拌された画像データを攪拌前の画像データに復元する攪拌復元装置において、
前記攪拌装置で攪拌された符号化画像データを入力する符号化画像データ入力手段と、
該符号化画像データを部分復号して符号化情報を抽出する符号化情報抽出手段と、
該抽出された符号化情報を指定された復元方式に従って攪拌前の符号化情報に復元する復元手段と、
該復元された符号化情報を攪拌前の画像データに復号する復号手段とを具備したことを特徴とする画像データの攪拌復元装置。
In the stirring restoration device for restoring the image data stirred by the image data stirring device according to claim 5 to the image data before stirring,
Encoded image data input means for inputting encoded image data stirred by the stirring device;
Encoded information extracting means for partially decoding the encoded image data and extracting encoded information;
Restoring means for restoring the extracted encoded information to the encoded information before stirring according to the specified restoration method;
A stirring / restoring apparatus for image data, comprising: decoding means for decoding the restored encoded information into image data before stirring.
符号化画像データを入力する符号化画像データ入力手段と、
部分復号された符号化画像データから動きベクトルを抽出する動きベクトル抽出手段と、
攪拌強度を指定する手段と、
前記動きベクトルに関して、該動きベクトルの値を前記攪拌強度の範囲で補数表現を用いた動きベクトルに変更する攪拌手段と、
前記攪拌された動きベクトルとそれ以外の符号化画像情報とを合わせて生成した攪拌後の符号化画像データを出力する手段とを具備したことを特徴とする画像データの攪拌装置。
Encoded image data input means for inputting encoded image data;
Motion vector extraction means for extracting a motion vector from the partially decoded encoded image data;
Means for specifying the stirring intensity;
With respect to the motion vector, stirring means for changing the value of the motion vector to a motion vector using a complement expression in the range of the stirring intensity ;
Stirrer image data, characterized by comprising a means for outputting the encoded image data after stirring generated together with the stirring motion vectors and other coded picture information.
JP2006301944A 2006-11-07 2006-11-07 Image data agitation device and its restoration device Active JP5046090B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006301944A JP5046090B2 (en) 2006-11-07 2006-11-07 Image data agitation device and its restoration device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006301944A JP5046090B2 (en) 2006-11-07 2006-11-07 Image data agitation device and its restoration device

Publications (2)

Publication Number Publication Date
JP2008118560A JP2008118560A (en) 2008-05-22
JP5046090B2 true JP5046090B2 (en) 2012-10-10

Family

ID=39504104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006301944A Active JP5046090B2 (en) 2006-11-07 2006-11-07 Image data agitation device and its restoration device

Country Status (1)

Country Link
JP (1) JP5046090B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117123131B (en) * 2023-10-25 2024-02-02 克拉玛依市蓝润环保科技有限责任公司 Petroleum aid production equipment and method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0595351A (en) * 1991-10-02 1993-04-16 Matsushita Electric Ind Co Ltd Scrambler and its descrambler
JPH0595352A (en) * 1991-10-02 1993-04-16 Matsushita Electric Ind Co Ltd Scrambler and its descrambler
JPH08280000A (en) * 1995-04-04 1996-10-22 Toshiba Corp Scramble device for compressed image data
JPH09182050A (en) * 1995-12-26 1997-07-11 Matsushita Electric Ind Co Ltd Scramble transmitter, scramble device and descramble device
JPH09327010A (en) * 1996-06-06 1997-12-16 Nippon Telegr & Teleph Corp <Ntt> Digital image scramble controller
JP4793856B2 (en) * 2005-12-22 2011-10-12 Kddi株式会社 Image scrambling device and image descrambling device

Also Published As

Publication number Publication date
JP2008118560A (en) 2008-05-22

Similar Documents

Publication Publication Date Title
US11770550B2 (en) Method and device for simplifying the encoding and decoding of ultra-high definition images
Noorkami et al. Compressed-domain video watermarking for H. 264
KR100767557B1 (en) Moving picture coding apparatus and moving picture decoding apparatus
KR101266577B1 (en) The method and apparatus of processing an image
JP5421408B2 (en) Alpha channel video decoding apparatus, alpha channel decoding method, and recording medium
US10034024B2 (en) Method and apparatus for encoding/decoding images considering low frequency components
JP2009081860A (en) Apparatus and method for encoding digital image data in a lossless manner
JP6164360B2 (en) Image encoding device, image decoding device, image encoding method, and image decoding method
JP5028889B2 (en) Agitator for coded image data
Richter et al. JPEG-XS—A high-quality mezzanine image codec for video over IP
CN106028031B (en) Video encoding device and method, video decoding device and method
KR20220074835A (en) Apparatus and method for encoding and decoding to image of ultra high definition resoutltion
JP5046090B2 (en) Image data agitation device and its restoration device
US6427029B1 (en) Image signal processing method and device, and storage medium
JP2023027401A (en) Decoding device, program, and decoding method
JP4580880B2 (en) Image encoding apparatus, image decoding apparatus, and image processing system
CN108353192A (en) Layering deblocking filtering in processing system for video and method
JP2007266861A (en) Image encoding device
JP2011114770A (en) Image encoding device, image decoding device, image encoding-decoding system, and method for the same
JP2007295319A (en) Image processing apparatus and image forming apparatus equipped therewith
Xia et al. An empirical study to turn MPEG-2 into lossless video compression
Akdağ An image encryption algorithm robust to post-encryption bitrate conversion
Duta et al. A comparative study on insertion strategies in MPEG-4 AVC watermarking
JP2007110618A (en) Image improvement apparatus
Kuroiwa et al. Codestream length-invariant partial scrambler using DCT signs for motion JPEG movies

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111026

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120416

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120614

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

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

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

Free format text: PAYMENT UNTIL: 20150727

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5046090

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250