JP2000115518A - Picture processor, picture processing method and a computer-readable recording medium storing program for allowing computer to execute the method - Google Patents

Picture processor, picture processing method and a computer-readable recording medium storing program for allowing computer to execute the method

Info

Publication number
JP2000115518A
JP2000115518A JP10285597A JP28559798A JP2000115518A JP 2000115518 A JP2000115518 A JP 2000115518A JP 10285597 A JP10285597 A JP 10285597A JP 28559798 A JP28559798 A JP 28559798A JP 2000115518 A JP2000115518 A JP 2000115518A
Authority
JP
Japan
Prior art keywords
image data
window
information
pattern
pixel
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.)
Granted
Application number
JP10285597A
Other languages
Japanese (ja)
Other versions
JP3597710B2 (en
Inventor
Tei Abe
悌 阿部
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP28559798A priority Critical patent/JP3597710B2/en
Publication of JP2000115518A publication Critical patent/JP2000115518A/en
Application granted granted Critical
Publication of JP3597710B2 publication Critical patent/JP3597710B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently burying a digital watermark in picture data while suppressing visual influence by burying of information. SOLUTION: Based on the appearance frequency (statistical property) of a pixel pattern in the local area of picture data, a table 15 coordinating plural pixel patterns with a bit 1 or a bit 0 is prepared in advance. Then, embedding of embedded information (binary data string) to picture data by an encoding processing part 16 and restoration of embedded information by a decoding processing part 17 are executed by using this table 15.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数の情報要素か
らなる情報列を画像データへ埋め込むとともに、該画像
データから情報列を取り出す画像処理装置、方法および
記録媒体に関し、特に、情報の埋め込みによる視覚的影
響を抑制しつつ、効率良く透かし情報を画像データに埋
め込むことができる画像処理装置、画像処理方法および
その方法をコンピュータに実行させるプログラムを記録
したコンピュータ読み取り可能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, a method and a recording medium for embedding an information sequence composed of a plurality of information elements into image data and extracting the information sequence from the image data. The present invention relates to an image processing apparatus, an image processing method, and a computer-readable recording medium storing a program for causing a computer to execute the method, in which watermark information can be efficiently embedded in image data while suppressing a visual effect.

【0002】[0002]

【従来の技術】近年、インターネットをはじめとするネ
ットワークインフラの整備あるいは電子図書館に代表さ
れる画像データベースの普及にともなって、デジタル画
像データへの電子透かし技術が求められている。ここ
で、画像データは各種の媒体間で容易にデジタルコピー
ができるため、デジタル画像の著作権者がその著作権を
主張することは極めて困難である。特に、近年のネット
ワークインフラの整備により、かかるデジタル画像が一
旦第三者の手に渡ると、この画像が短時間に広域に拡散
する可能性がある。
2. Description of the Related Art In recent years, with the development of a network infrastructure such as the Internet or the spread of an image database represented by an electronic library, a digital watermark technique for digital image data is required. Here, since image data can be easily digitally copied between various media, it is extremely difficult for a copyright holder of a digital image to claim the copyright. In particular, once such digital images once reach the hands of a third party due to the development of network infrastructure in recent years, there is a possibility that the images will be spread over a wide area in a short time.

【0003】このため、署名などの所望の電子透かし情
報をデジタル画像に埋め込むことにより、著作権者がデ
ジタル画像の著作権を主張できるようにした技術が知ら
れている。また、電子透かしは、その存在自体が第三者
に認識されないこと、すなわち埋め込み時に元の画像デ
ータを極力改変しないことと、仮に電子透かしの存在が
認識されたとしても、埋め込まれている情報の改変や復
号ができないことが求められる。
[0003] For this reason, there is known a technique in which desired digital watermark information such as a signature is embedded in a digital image so that a copyright holder can claim the copyright of the digital image. In addition, the presence of a digital watermark is not recognized by a third party, that is, the original image data is not altered as much as possible at the time of embedding, and even if the presence of the digital watermark is recognized, It is required that it cannot be modified or decrypted.

【0004】たとえば、特開平9−191394号公報
には、透かしが施されるデータをフーリエ変換等によっ
て分解し、分解されたデータのうちの知覚的に重要な成
分中に透かしを挿入し、透かしが施された分解されたデ
ータを逆フーリエ変換等で逆変換して、透かし処理され
たデータを生成するよう構成した電子的透かし挿入方法
が開示されている。
For example, Japanese Unexamined Patent Publication No. 9-191394 discloses that data to be watermarked is decomposed by Fourier transform or the like, and a watermark is inserted into a perceptually important component of the decomposed data. There is disclosed an electronic watermark insertion method configured to inversely transform the decomposed data subjected to the above processing by inverse Fourier transform or the like to generate watermarked data.

【0005】すなわち、この従来技術は、フーリエ変
換、離散余弦変換およびアダマール変換等を利用してデ
ータをスペクトラム分解し、分解されたデータ中に電子
透かし情報を混入するものである。
That is, in this conventional technique, data is spectrum-decomposed using Fourier transform, discrete cosine transform, Hadamard transform, and the like, and digital watermark information is mixed into the decomposed data.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、この従
来技術が採用するフーリエ変換、離散余弦変換およびア
ダマール変換等には、一般に多大の処理時間がかかるた
め、サイズの大きな画像に適用するには実用上の問題が
あった。
However, the Fourier transform, discrete cosine transform, Hadamard transform, and the like employed in the prior art generally require a large amount of processing time, so that they cannot be practically applied to large-sized images. There was a problem.

【0007】また、フーリエ変換等の周波数空間を利用
する処理を伴う場合には、周波数空間から実空間へ逆変
換した際の視覚特性が保証されないため、視覚に与える
影響が少ない埋め込みがおこなえるとは限らない。特
に、2値画像に対してかかる処理をおこなうと、画像に
トポロジー的な変化が生ずる場合が多くなる。
Further, when processing using a frequency space such as Fourier transform is involved, visual characteristics at the time of inverse conversion from the frequency space to the real space are not guaranteed, so that embedding with little effect on vision can be performed. Not exclusively. In particular, when such processing is performed on a binary image, a topological change often occurs in the image.

【0008】このため、電子透かし技術にとって、画像
に対する情報の埋め込みによる視覚的影響を抑制しつ
つ、いかに効率良く透かし情報を画像データに埋め込む
か、すなわち、電子透かし存在自体が第三者に認識され
ないことが極めて重要な課題となっている。
[0008] For this reason, in the digital watermarking technique, how to embed the watermark information in the image data efficiently while suppressing the visual influence by embedding the information in the image, that is, the existence of the digital watermark is not recognized by a third party. Is an extremely important issue.

【0009】本発明では、上記問題(課題)に鑑みてな
されたものであって、情報の埋め込みによる視覚的影響
を抑制しつつ、効率良く透かし情報を画像データに埋め
込むことを目的とする。
The present invention has been made in view of the above-mentioned problem (problem), and has as its object to efficiently embed watermark information into image data while suppressing the visual influence of embedding information.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明に係る画像処理装置は、複数の情報
要素からなる情報列を画像データへ埋め込むとともに、
該画像データから前記情報列を取り出す画像処理装置に
おいて、前記画像データを形成する各局所領域の画素パ
ターンの統計的性質に基づいて前記情報列の各情報要素
がとり得るデータに一または複数の画素パターンを対応
づけたテーブルと、前記テーブルに基づいて前記情報列
の各情報要素を前記画像データに順次埋め込むエンコー
ド手段と、前記テーブルに基づいて前記エンコード手段
が前記情報列を埋め込んだ画像データから該情報列を形
成する各情報要素を順次取り出すデコード手段と、を備
えたことを特徴とする。
In order to achieve the above object, an image processing apparatus according to the first aspect of the present invention embeds an information sequence including a plurality of information elements into image data,
In the image processing apparatus for extracting the information sequence from the image data, one or a plurality of pixels may be included in data that can be taken by each information element of the information sequence based on a statistical property of a pixel pattern of each local region forming the image data. A table in which patterns are associated, encoding means for sequentially embedding each information element of the information sequence in the image data based on the table, and image data in which the encoding means embeds the information sequence based on the table. Decoding means for sequentially extracting each information element forming the information sequence.

【0011】この請求項1の発明によれば、画像データ
を形成する各局所領域の画素パターンの統計的性質に基
づいて情報列の各情報要素がとり得るデータに一または
複数の画素パターンを対応づけたテーブルを準備してお
き、このテーブルに基づいて情報列の各情報要素を画像
データに順次埋め込んでエンコードをおこなうととも
に、このテーブルに基づいて情報列を埋め込んだ画像デ
ータから該情報列を形成する各情報要素を順次取り出す
デコードをおこなうため、情報の埋め込みによる視覚的
影響を抑制しつつ、効率良く透かし情報を画像データに
埋め込むことができる。
According to the first aspect of the present invention, one or a plurality of pixel patterns correspond to data that can be taken by each information element of the information sequence based on the statistical properties of the pixel patterns of each local area forming the image data. A prepared table is prepared, and based on this table, each information element of the information sequence is sequentially embedded in image data to perform encoding, and the information sequence is formed from the image data in which the information sequence is embedded based on this table. Since the information elements to be decoded are sequentially extracted, the watermark information can be efficiently embedded in the image data while suppressing the visual influence of the information embedding.

【0012】また、請求項2の発明に係る画像処理装置
は、前記画像データを形成する各局所領域の画素パター
ンの出現頻度を算定する算定手段と、前記算定手段によ
る算定結果に基づいて一または複数の画素パターンを前
記情報列の各情報要素がとり得るデータに割り当てた前
記テーブルを自動的に作成するテーブル作成手段と、を
備えたことを特徴とする。
According to a second aspect of the present invention, there is provided an image processing apparatus, comprising: calculating means for calculating an appearance frequency of a pixel pattern in each local region forming the image data; Table creation means for automatically creating the table in which a plurality of pixel patterns are assigned to data that can be taken by each information element of the information sequence.

【0013】この請求項2の発明によれば、画像データ
を形成する各局所領域の画素パターンの出現頻度を算定
し、この算定結果に基づいて一または複数の画素パター
ンを情報列の各情報要素がとり得るデータに割り当てた
テーブルを自動的に作成し、作成したテーブルに基づい
てエンコードおよびデコードをおこなうため、画像デー
タを形成する各局所領域の画素パターンの出現頻度(統
計的性質)がその都度異なる場合であっても、該画像デ
ータの統計的性質に応じて情報を埋め込むことができ
る。
According to the second aspect of the present invention, the frequency of appearance of the pixel pattern in each local area forming the image data is calculated, and one or a plurality of pixel patterns are assigned to each information element of the information sequence based on the calculation result. Automatically creates a table assigned to data that can be taken, and performs encoding and decoding based on the created table. Therefore, the appearance frequency (statistical property) of the pixel pattern of each local region forming the image data changes each time. Even if different, information can be embedded according to the statistical properties of the image data.

【0014】また、請求項3の発明に係る画像処理装置
は、前記エンコード手段が、前記情報列から埋め込み対
象となる情報要素を順次取得する情報要素取得手段と、
前記画像データにウインドウを適用して、該ウインドウ
が所在する局所領域のウインドウパターンを取得するパ
ターン取得手段と、前記パターン取得手段が取得したウ
インドウパターンが、前記情報要素取得手段が取得した
情報要素以外の情報要素に対応する前記テーブルに登録
された画素パターンのいずれかと一致する場合にのみ、
前記ウインドウを適用した局所領域の画素パターンを前
記情報要素取得手段が取得した情報要素に対応する前記
テーブルに登録された画素パターンに変更する変更手段
と、前記パターン取得手段が前記画像データに適用する
ウインドウの位置および順序を制御するウインドウ制御
手段と、を備えたことを特徴とする。
According to a third aspect of the present invention, in the image processing apparatus, the encoding unit sequentially acquires information elements to be embedded from the information sequence,
Applying a window to the image data to obtain a window pattern of a local region where the window is located; and a window pattern obtained by the pattern obtaining unit is other than an information element obtained by the information element obtaining unit. Only if it matches any of the pixel patterns registered in the table corresponding to the information element of
Changing means for changing the pixel pattern of the local area to which the window is applied to a pixel pattern registered in the table corresponding to the information element obtained by the information element obtaining means, and applying the pattern obtaining means to the image data Window control means for controlling the position and order of the windows.

【0015】この請求項3の発明によれば、情報列から
埋め込み対象となる情報要素を順次取得するとともに、
画像データにウインドウを適用して、該ウインドウが所
在する局所領域のウインドウパターンを取得し、取得し
たウインドウパターンが、取得した情報要素以外の情報
要素に対応するテーブルに登録された画素パターンのい
ずれかと一致する場合にのみ、ウインドウを適用した局
所領域の画素パターンを取得した情報要素に対応するテ
ーブルに登録された画素パターンに変更するため、画像
データがもともと有する画素パターンそのものをできる
だけ情報要素として利用して、画像データの変更を低減
することができる。
According to the third aspect of the present invention, the information elements to be embedded are sequentially obtained from the information sequence,
Applying a window to the image data to obtain a window pattern of a local area where the window is located, and obtaining the window pattern with one of the pixel patterns registered in a table corresponding to an information element other than the obtained information element. Only when there is a match, the pixel pattern of the local area to which the window is applied is changed to the pixel pattern registered in the table corresponding to the acquired information element. Thus, the change of the image data can be reduced.

【0016】また、請求項4の発明に係る画像処理装置
は、前記デコード手段が、前記画像データにウインドウ
を適用して、該ウインドウが所在する局所領域のウイン
ドウパターンを取得するパターン取得手段と、前記パタ
ーン取得手段が取得したウインドウパターンが前記テー
ブルに登録されたいずれかの画素パターンと一致する場
合に、該画素パターンに対応するデータを情報要素とし
て復元する復元手段と、前記パターン取得手段が前記画
像データに適用するウインドウの位置および順序を制御
するウインドウ制御手段と、を備えたことを特徴とす
る。
The image processing apparatus according to claim 4, wherein the decoding means applies a window to the image data to obtain a window pattern of a local area where the window is located, When the window pattern acquired by the pattern acquisition unit matches any of the pixel patterns registered in the table, a restoration unit that restores data corresponding to the pixel pattern as an information element; and Window control means for controlling the position and order of windows applied to image data.

【0017】この請求項4の発明によれば、画像データ
にウインドウを適用して、該ウインドウが所在する局所
領域のウインドウパターンを取得し、取得したウインド
ウパターンがテーブルに登録されたいずれかの画素パタ
ーンと一致する場合に、該画素パターンに対応するデー
タを情報要素として復元するため、画像データに埋め込
まれた各情報要素を迅速かつ一意に取り出して情報列を
復元することができる。
According to the fourth aspect of the present invention, a window is applied to the image data to acquire a window pattern of a local area where the window is located, and the acquired window pattern is assigned to any of the pixels registered in the table. When the pattern matches the pattern, the data corresponding to the pixel pattern is restored as an information element. Therefore, each information element embedded in the image data can be quickly and uniquely extracted to restore an information sequence.

【0018】また、請求項5の発明に係る画像処理装置
は、前記ウインドウ制御手段が、前記パターン取得手段
が前記画像データに適用するウインドウの位置を等間隔
で移動制御することを特徴とする。
The image processing apparatus according to a fifth aspect of the present invention is characterized in that the window control means controls the movement of windows applied to the image data by the pattern acquisition means at equal intervals.

【0019】この請求項5の発明によれば、画像データ
に適用するウインドウの位置を等間隔で移動制御するた
め、埋め込みたい情報量と目立たせない度合いという相
反するトレードオフの関係を簡単に調整することができ
る。
According to the fifth aspect of the present invention, since the position of the window applied to the image data is moved and controlled at equal intervals, the conflicting trade-off relationship between the amount of information to be embedded and the degree of inconspicuousness can be easily adjusted. can do.

【0020】また、請求項6の発明に係る画像処理装置
は、前記ウインドウ制御手段が、前記パターン取得手段
が前記画像データに適用するウインドウの位置を再現性
ある疑似乱数系列に基づいて移動制御することを特徴と
する。
According to a sixth aspect of the present invention, in the image processing apparatus, the window control means controls the movement of the position of the window applied to the image data by the pattern acquisition means based on a reproducible pseudo-random number sequence. It is characterized by the following.

【0021】この請求項6の発明によれば、画像データ
に適用するウインドウの位置を再現性ある疑似乱数系列
に基づいて移動制御するため、画像データに埋め込んだ
電子透かし情報である情報列の第三者による復号および
改ざんを防止し、電子透かし情報の正当性を担保するこ
とができる。
According to the sixth aspect of the invention, since the movement of the position of the window applied to the image data is controlled based on the pseudo-random number sequence having reproducibility, the position of the window which is the digital watermark information embedded in the image data is controlled. Decryption and falsification by three parties can be prevented, and the validity of the digital watermark information can be secured.

【0022】また、請求項7の発明に係る画像処理方法
は、複数の情報要素からなる情報列を画像データへ埋め
込むとともに、該画像データから前記情報列を取り出す
画像処理方法において、前記画像データを形成する各局
所領域の画素パターンの統計的性質に基づいて前記情報
列の各情報要素がとり得るデータに一または複数の画素
パターンを対応づけたテーブルに基づいて前記情報列の
各情報要素を前記画像データに順次埋め込む第1工程
と、該情報列を埋め込んだ画像データから前記テーブル
に基づいて該情報列を形成する各情報要素を順次取り出
す第2工程と、を含んだことを特徴とする。
According to a seventh aspect of the present invention, in the image processing method of embedding an information sequence including a plurality of information elements into image data and extracting the information sequence from the image data, Each information element of the information sequence is based on a table in which one or more pixel patterns are associated with data that can be taken by each information element of the information sequence based on a statistical property of a pixel pattern of each local region to be formed. A first step of sequentially embedding the information sequence in image data; and a second step of sequentially extracting each information element forming the information sequence based on the table from the image data in which the information sequence is embedded.

【0023】この請求項7の発明によれば、画像データ
を形成する各局所領域の画素パターンの統計的性質に基
づいて情報列の各情報要素がとり得るデータに一または
複数の画素パターンを対応づけたテーブルを準備してお
き、このテーブルに基づいて情報列の各情報要素を画像
データに順次埋め込んでエンコードをおこなうととも
に、このテーブルに基づいて情報列を埋め込んだ画像デ
ータから該情報列を形成する各情報要素を順次取り出す
デコードをおこなうため、情報の埋め込みによる視覚的
影響を抑制しつつ、効率良く透かし情報を画像データに
埋め込むことができる。
According to the seventh aspect of the present invention, one or a plurality of pixel patterns correspond to data that can be taken by each information element of the information sequence based on the statistical properties of the pixel patterns of each local area forming the image data. A prepared table is prepared, and based on this table, each information element of the information sequence is sequentially embedded in image data to perform encoding, and the information sequence is formed from the image data in which the information sequence is embedded based on this table. Since the information elements to be decoded are sequentially extracted, the watermark information can be efficiently embedded in the image data while suppressing the visual influence of the information embedding.

【0024】また、請求項8の発明に係る画像処理方法
は、前記第1工程が、前記情報列から埋め込み対象とな
る情報要素を取得するとともに、前記画像データにウイ
ンドウを適用して、該ウインドウが所在する局所領域の
ウインドウパターンを取得し、取得したウインドウパタ
ーンが、取得した情報要素以外の情報要素に対応する前
記テーブルに登録された画素パターンのいずれかと一致
する場合にのみ、前記ウインドウを適用した局所領域の
画素パターンを、取得した情報要素に対応する前記テー
ブルに登録された画素パターンに変更し、画像データに
適用するウインドウの位置を更新して、少なくとも前記
情報列を形成する全ての情報要素を埋め込むまで上記処
理を繰り返すことを特徴とする。
[0024] In the image processing method according to the present invention, the first step acquires an information element to be embedded from the information sequence and applies a window to the image data. Obtains the window pattern of the local area where is located, and applies the window only when the obtained window pattern matches any of the pixel patterns registered in the table corresponding to the information element other than the obtained information element. The pixel pattern of the obtained local area is changed to the pixel pattern registered in the table corresponding to the acquired information element, the position of the window applied to the image data is updated, and at least all information forming the information sequence The above process is repeated until an element is embedded.

【0025】この請求項8の発明によれば、情報列から
埋め込み対象となる情報要素を順次取得するとともに、
画像データにウインドウを適用して、該ウインドウが所
在する局所領域のウインドウパターンを取得し、取得し
たウインドウパターンが、取得した情報要素以外の情報
要素に対応するテーブルに登録された画素パターンのい
ずれかと一致する場合にのみ、ウインドウを適用した局
所領域の画素パターンを取得した情報要素に対応するテ
ーブルに登録された画素パターンに変更するため、画像
データがもともと有する画素パターンそのものをできる
だけ情報要素として利用して、画像データの変更を低減
することができる。
According to the invention of claim 8, information elements to be embedded are sequentially obtained from the information sequence,
Applying a window to the image data to obtain a window pattern of a local area where the window is located, and obtaining the window pattern with one of the pixel patterns registered in a table corresponding to an information element other than the obtained information element. Only when there is a match, the pixel pattern of the local area to which the window is applied is changed to the pixel pattern registered in the table corresponding to the acquired information element. Thus, the change of the image data can be reduced.

【0026】また、請求項9の発明に係る画像処理方法
は、前記第2工程が、前記画像データにウインドウを適
用して、該ウインドウが所在する局所領域のウインドウ
パターンを取得し、取得したウインドウパターンが前記
テーブルに登録されたいずれかの画素パターンと一致す
る場合に、該画素パターンに対応するデータを情報要素
として復元し、画像データに適用するウインドウの位置
を更新して上記処理を繰り返すことを特徴とする。
According to a ninth aspect of the present invention, in the image processing method, the second step applies a window to the image data to acquire a window pattern of a local area where the window is located, and acquires the acquired window pattern. If the pattern matches any of the pixel patterns registered in the table, the data corresponding to the pixel pattern is restored as an information element, the position of the window applied to the image data is updated, and the above processing is repeated. It is characterized by.

【0027】この請求項9の発明によれば、画像データ
にウインドウを適用して、該ウインドウが所在する局所
領域のウインドウパターンを取得し、取得したウインド
ウパターンがテーブルに登録されたいずれかの画素パタ
ーンと一致する場合に、該画素パターンに対応するデー
タを情報要素として復元するため、画像データに埋め込
まれた各情報要素を迅速かつ一意に取り出して情報列を
復元することができる。
According to the ninth aspect of the present invention, a window is applied to the image data to obtain a window pattern of a local area where the window is located, and the obtained window pattern is assigned to any of the pixels registered in the table. When the pattern matches the pattern, the data corresponding to the pixel pattern is restored as an information element. Therefore, each information element embedded in the image data can be quickly and uniquely extracted to restore an information sequence.

【0028】また、請求項10の発明に係る画像処理方
法は、複数の情報要素からなる情報列を画像データへ埋
め込むとともに、該画像データから前記情報列を取り出
す画像処理方法において、前記画像データを形成する各
局所領域の画素パターンの出現頻度を算定し、算定した
結果に基づいて一または複数の画素パターンを前記情報
列の各情報要素がとり得るデータに割り当てたテーブル
を自動的に作成し、作成したテーブルに基づいて前記情
報列の各情報要素を前記画像データに順次埋め込み、該
情報列を埋め込んだ画像データから前記テーブルに基づ
いて該情報列を形成する各情報要素を順次取り出すこと
を特徴とする。
According to a tenth aspect of the present invention, in the image processing method for embedding an information sequence including a plurality of information elements into image data and extracting the information sequence from the image data, Calculate the appearance frequency of the pixel pattern of each local region to be formed, automatically create a table in which one or more pixel patterns are assigned to data that can be taken by each information element of the information sequence based on the calculated result, Each information element of the information sequence is sequentially embedded in the image data based on the created table, and each information element forming the information sequence is sequentially extracted from the image data in which the information sequence is embedded based on the table. And

【0029】この請求項10の発明によれば、画像デー
タを形成する各局所領域の画素パターンの出現頻度を算
定し、この算定結果に基づいて一または複数の画素パタ
ーンを情報列の各情報要素がとり得るデータに割り当て
たテーブルを自動的に作成し、作成したテーブルに基づ
いてエンコードおよびデコードをおこなうため、画像デ
ータを形成する各局所領域の画素パターンの出現頻度
(統計的性質)がその都度異なる場合であっても、該画
像データの統計的性質に応じて情報を埋め込むことがで
きる。
According to the tenth aspect, the frequency of appearance of the pixel pattern in each local region forming the image data is calculated, and one or a plurality of pixel patterns are determined based on the calculation result. Automatically creates a table assigned to data that can be taken, and performs encoding and decoding based on the created table. Therefore, the appearance frequency (statistical property) of the pixel pattern of each local region forming the image data changes each time. Even if different, information can be embedded according to the statistical properties of the image data.

【0030】また、請求項11の発明に係る記憶媒体
は、請求項7〜10のいずれか一つに記載された方法を
コンピュータに実行させるプログラムを記録したこと
で、そのプログラムを機械読み取り可能となり、これに
よって、請求項7〜10のいずれか一つの動作をコンピ
ュータによって実現することが可能である。
[0030] A storage medium according to an eleventh aspect of the present invention records a program for causing a computer to execute the method according to any one of the seventh to tenth aspects, thereby making the program machine-readable. Thereby, the operation of any one of claims 7 to 10 can be realized by a computer.

【0031】[0031]

【発明の実施の形態】以下に添付図面を参照して、この
発明に係る画像処理装置、画像処理方法およびその方法
をコンピュータに実行させるプログラムを記録したコン
ピュータ読み取り可能な記録媒体の好適な実施の形態を
詳細に説明する。なお以下では、2値画像データに2値
データ列(ビット列)を埋め込む場合を中心に説明する
こととする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of an image processing apparatus, an image processing method, and a computer readable recording medium according to the present invention are described below with reference to the accompanying drawings. The form will be described in detail. In the following, a case will be mainly described in which a binary data sequence (bit sequence) is embedded in the binary image data.

【0032】(実施の形態1)図1は、実施の形態1に
係る画像処理装置の構成を示す機能ブロック図である。
図1に示す画像処理装置10は、この画像処理装置10
が処理する平均的な画像データの局所領域の画素パター
ンの出現頻度に基づいて、複数の画素パターンをビット
1またはビット0に対応づけたテーブル15を作成して
おき、このテーブル15を用いて画像データへの埋め込
み情報(2値データ列)の埋め込みおよび復元をおこな
う。
(Embodiment 1) FIG. 1 is a functional block diagram showing a configuration of an image processing apparatus according to Embodiment 1.
The image processing apparatus 10 shown in FIG.
Creates a table 15 in which a plurality of pixel patterns are associated with bit 1 or bit 0 based on the frequency of appearance of pixel patterns in a local region of the average image data processed by The embedding information (binary data string) is embedded and restored in the data.

【0033】具体的には、画像データにウインドウを適
用して該画像データの局所領域の画素パターン(以下、
ウインドウにより得た画素パターンを「ウインドウパタ
ーン」と言う。)を取得し、このウインドウパターンが
テーブル15に登録した画素パターンのいずれかと一致
する場合には、埋め込み情報を示す2値データ列の構成
ビットを画像データ内に埋め込む。
Specifically, a window is applied to the image data to apply a pixel pattern to a local region of the image data (hereinafter referred to as a pixel pattern).
A pixel pattern obtained by a window is called a “window pattern”. ) Is acquired, and when this window pattern matches any of the pixel patterns registered in the table 15, the constituent bits of the binary data string indicating the embedding information are embedded in the image data.

【0034】たとえば、図2(a)に示す4種の画素パ
ターンをビット1に対応づけ、同図(b)に示す4種の
画素パターンをビット0に対応づけたテーブルを用いる
場合には、画像データから取得したウインドウパターン
がこれら8種の画素パターンのいずれかと一致するか否
かを調べ、一致するウインドウパターンが存在しない場
合には、埋め込みをおこなうことなくウインドウを移動
する。
For example, when a table in which four types of pixel patterns shown in FIG. 2A are associated with bit 1 and four types of pixel patterns shown in FIG. 2B are associated with bit 0 is used, It is checked whether the window pattern acquired from the image data matches any of these eight types of pixel patterns. If there is no matching window pattern, the window is moved without embedding.

【0035】これに対して、ビット1を画像データに埋
め込む場合に、このウインドウパターンが図2(a)に
示す4種の画素パターンのいずれかと一致すれば、画像
データを変更することなくビット1の埋め込みを完了
し、ウインドウを移動する。つまり、この場合には、画
像データが持つ画素パターンの存在自体が、該ビット1
を意味することになる。
On the other hand, when embedding bit 1 in image data, if this window pattern matches any of the four types of pixel patterns shown in FIG. Complete the embedding and move the window. That is, in this case, the existence of the pixel pattern of the image data is determined by the bit 1
Will mean.

【0036】一方、ビット1を画像データに埋め込む場
合に、このウインドウパターンが図2(b)に示す4種
の画素パターンのいずれかと一致した場合には、かかる
ウインドウが所在する局所領域の画素パターンを図2
(a)に示す画素パターンに変更してビット1を実際に
埋め込んだ後に、ウインドウを移動する。つまり、この
場合には、2画素分の画素値を変更することによって該
ビット1を埋め込むことになる。
On the other hand, when embedding bit 1 in image data, if this window pattern matches any of the four types of pixel patterns shown in FIG. 2B, the pixel pattern of the local area where the window is located Figure 2
After changing to the pixel pattern shown in (a) and actually embedding bit 1, the window is moved. That is, in this case, the bit 1 is embedded by changing the pixel values of two pixels.

【0037】このように、この画像処理装置10は、も
ともと画像データが持つ画素パターンの統計的性質を利
用して埋め込み情報を画像データ内に埋め込むよう構成
しているので、画素値の変更を必要最小限に抑えつつ効
率良く情報を画像データに埋め込むことができる。
As described above, since the image processing apparatus 10 is configured to embed the embedding information in the image data by using the statistical property of the pixel pattern of the image data, it is necessary to change the pixel value. Information can be efficiently embedded in image data while minimizing it.

【0038】次に、図1に示す画像処理装置10の具体
的な構成について説明する。図1に示すように、この画
像処理装置10は、画像入力部11と、埋め込み情報入
力部12と、制御部13と、記憶部14と、テーブル1
5と、エンコード処理部16と、デコード処理部17と
からなる。
Next, a specific configuration of the image processing apparatus 10 shown in FIG. 1 will be described. As shown in FIG. 1, the image processing apparatus 10 includes an image input unit 11, an embedded information input unit 12, a control unit 13, a storage unit 14, a table 1
5, an encoding unit 16 and a decoding unit 17.

【0039】画像入力部11は、2値画像データを入力
するスキャナ等の入力デバイスであり、具体的には、図
示しない原稿台に載置された原稿を光学的に読み取り、
読み取った画像データを判別分析法などを用いて2値化
して、2値の画像データを入力する。なお、この画像入
力部11を磁気ディスク装置等で構成し、磁気ディスク
に記憶した画像データを読み取るよう構成することもで
きる。
The image input unit 11 is an input device such as a scanner for inputting binary image data. Specifically, the image input unit 11 optically reads a document placed on a document table (not shown),
The read image data is binarized using a discriminant analysis method or the like, and binary image data is input. The image input unit 11 may be configured by a magnetic disk device or the like, and may be configured to read image data stored on a magnetic disk.

【0040】埋め込み情報入力部12は、画像データに
埋め込む情報(2値データ列)を入力するキーボード等
の入力デバイスであり、この埋め込み情報入力部12か
ら入力した情報は、記憶部14に記憶される。なお、こ
の埋め込み情報入力部12から文字入力をおこない、こ
の文字のアスキーコードを2進数で表したビット列を記
憶部14に記憶することもできる。
The embedding information input unit 12 is an input device such as a keyboard for inputting information (binary data string) to be embedded in image data. The information input from the embedding information input unit 12 is stored in the storage unit 14. You. It is also possible to input a character from the embedded information input unit 12 and store a bit string in which the ASCII code of the character is expressed in a binary number in the storage unit 14.

【0041】制御部13は、画像処理装置10の全体制
御をおこなう制御部であり、埋め込みデータ抽出部13
aおよびウインドウパターン取得部13bを有する。具
体的には、画像入力部11から画像データを受け取った
ならば、該画像データを記憶部14に記憶し、また、埋
め込み情報入力部12から埋め込み情報を受け取ったな
らば、この埋め込み情報を2値データ列の形式で記憶部
14に記憶する。
The control unit 13 is a control unit that performs overall control of the image processing apparatus 10.
a and a window pattern acquisition unit 13b. Specifically, when the image data is received from the image input unit 11, the image data is stored in the storage unit 14. When the embedding information is received from the embedding information input unit 12, the embedding information is stored in the storage unit 14. It is stored in the storage unit 14 in the form of a value data string.

【0042】また、画像データへの埋め込み情報の埋め
込み(エンコード)をおこなう場合には、画像データに
埋め込むビットを埋め込みデータ抽出部13aが順次抽
出してエンコード処理部16に出力し、ウインドウパタ
ーン取得部13bが取得した画像データのウインドウパ
ターンをエンコード処理部16に出力する。
When the embedding information is embedded (encoded) in the image data, the embedded data extracting unit 13a sequentially extracts the bits to be embedded in the image data and outputs the extracted bits to the encoding processing unit 16; 13b outputs the acquired window pattern of the image data to the encoding processing unit 16.

【0043】さらに、画像データからの埋め込み情報の
復元(デコード)をおこなう場合には、ウインドウパタ
ーン取得部13bが取得した画像データのウインドウパ
ターンをエンコード処理部16に出力する。
Further, when restoring (decoding) embedded information from image data, the window pattern acquisition unit 13b outputs the window pattern of the image data acquired to the encoding processing unit 16.

【0044】埋め込みデータ抽出部13aは、記憶部1
4に記憶した2値データ列からなる埋め込み情報14b
の中から次に埋め込むべきビットを順次抽出してエンコ
ード処理部16に出力する。
The embedded data extraction unit 13 a
Embedded information 14b consisting of a binary data string stored in the storage unit 4
, The bits to be embedded next are sequentially extracted and output to the encoding processing unit 16.

【0045】ウインドウパターン取得部13bは、3×
3のサイズのウインドウを画像データにセットし、該画
像データの局所領域の画素パターンを示すウインドウパ
ターンを取得して、エンコード処理部16またはデコー
ド処理部17に出力する。なお、一旦ウインドウパター
ンを取得したならば、このウインドウは所定の間隔(3
画素単位)で移動する。なお、この間隔を変更すること
により、埋め込みたい情報量と目立たせない度合いとい
う相反する関係を簡単に調整することができる。
The window pattern acquisition section 13b has 3 ×
A window having a size of 3 is set in the image data, a window pattern indicating a pixel pattern of a local region of the image data is obtained, and output to the encoding processing unit 16 or the decoding processing unit 17. Once the window pattern has been acquired, this window is set at a predetermined interval (3
(Pixel unit). By changing the interval, it is possible to easily adjust the conflicting relationship between the amount of information to be embedded and the degree of inconsistency.

【0046】記憶部14は、画像入力部11から入力し
た画像データ(2値画像データ)および埋め込み情報入
力部12から入力した埋め込み情報(2値データ列)を
記憶する記憶デバイスである。
The storage section 14 is a storage device for storing image data (binary image data) input from the image input section 11 and embedded information (binary data string) input from the embedded information input section 12.

【0047】テーブル15は、この画像処理装置10が
処理する平均的な画像データの局所領域の画素パターン
の出現頻度に基づいて、複数の画素パターンをビット1
またはビット0に対応づけたテーブルであり、あらかじ
め作成される。
The table 15 stores a plurality of pixel patterns in bit 1 based on the frequency of appearance of pixel patterns in a local region of average image data processed by the image processing apparatus 10.
Alternatively, it is a table corresponding to bit 0 and is created in advance.

【0048】エンコード処理部16は、このテーブル1
5を用いて画像データに対して埋め込み情報14bを埋
め込む処理部である。具体的には、画像データに埋め込
むビットとウインドウパターンとを受け取ると、このウ
インドウパターンに対応する画素パターンがテーブル1
5に登録された画素パターンのいずれかと一致するか否
かを判断し、いずれとも一致しない場合には埋め込みを
おこなわない旨を制御部13に出力する。
The encoding unit 16 stores the table 1
5 is a processing unit for embedding the embedding information 14b in the image data by using No. 5. Specifically, when receiving the bit to be embedded in the image data and the window pattern, the pixel pattern corresponding to the window pattern is stored in the table 1.
It is determined whether the pixel pattern matches any one of the pixel patterns registered in No. 5 and, if not, outputs to the control unit 13 that no embedding is performed.

【0049】なお、この出力を受け付けた制御部13
は、ウインドウを3画素分移動して新たなウインドウパ
ターンを取得し、このウインドウパターンをエンコード
処理部16に出力する。
The control unit 13 that has received this output
Moves the window by three pixels, acquires a new window pattern, and outputs this window pattern to the encoding processing unit 16.

【0050】これに対して、このウインドウパターンが
埋め込むビットに対応する画素パターンとしてテーブル
15に登録されている場合には、埋め込みを完了した旨
を制御部13に出力する。
On the other hand, when the window pattern is registered in the table 15 as a pixel pattern corresponding to the bit to be embedded, the fact that the embedding is completed is output to the control unit 13.

【0051】たとえば、ビット1を画像データに埋め込
む際に、このウインドウパターンが図2(a)に示す4
種の画素パターンのいずれかと一致した場合には、ビッ
ト1の埋め込みを完了した旨を制御部13に出力する。
For example, when embedding bit 1 in image data, this window pattern is
If it matches with any of the pixel patterns, it outputs to the control unit 13 that the embedding of the bit 1 is completed.

【0052】なお、この出力を受け付けた制御部13
は、ウインドウを3画素移動して新たなウインドウパタ
ーンを取得するとともに、次に埋め込むべきビットを取
得して、このウインドウパターンおよび埋め込むべきビ
ットをエンコード処理部16に出力する。
The control unit 13 that has received this output
Moves the window by three pixels to acquire a new window pattern, acquires the next bit to be embedded, and outputs the window pattern and the bit to be embedded to the encoding processing unit 16.

【0053】一方、このウインドウパターンが埋め込む
ビット以外のビットに対応する画素パターンとしてテー
ブル15に登録されている場合には、テーブル15に登
録した画像データに埋め込むビットに対応する画素パタ
ーンを制御部13に出力する。
On the other hand, when the window pattern is registered in the table 15 as a pixel pattern corresponding to bits other than the bits to be embedded, the pixel pattern corresponding to the bits to be embedded in the image data registered in the table 15 is stored in the control unit 13. Output to

【0054】たとえば、ビット1を画像データに埋め込
む際に、このウインドウパターンが図2(b)に示す4
種の画素パターンのいずれかと一致した場合には、図2
(a)に示す画素パターンを制御部13に出力する。
For example, when embedding bit 1 in image data, this window pattern is
If any of the pixel patterns match, FIG.
The pixel pattern shown in FIG.

【0055】この出力を受け付けた制御部13は、ウイ
ンドウが位置する画像データ14a上の画素パターンを
エンコード処理部16から受け取った画素パターンに変
更した後、ウインドウを3画素分移動して新たなウイン
ドウパターンを取得するとともに、次に埋め込むビット
を取得して、このウインドウパターンおよび埋め込むべ
きビットをエンコード処理部16に出力する。
After receiving this output, the control unit 13 changes the pixel pattern on the image data 14a where the window is located to the pixel pattern received from the encoding processing unit 16, and then moves the window by three pixels to create a new window. While acquiring the pattern, the next bit to be embedded is acquired, and the window pattern and the bit to be embedded are output to the encoding processing unit 16.

【0056】なお、本実施の形態では、埋め込み情報を
形成する全てのビットの埋め込みを一旦終了した場合で
あっても、繰り返し埋め込み情報を形成する各ビットを
埋め込むこととする。
In this embodiment, even if the embedding of all the bits forming the embedding information is once terminated, each bit forming the embedding information is repeatedly embedded.

【0057】デコード処理部17は、テーブル15を用
いて画像データに埋め込まれたビットを順次抽出して埋
め込み情報を形成する2値データ列を復元する処理部で
ある。
The decoding processing section 17 is a processing section for sequentially extracting bits embedded in image data using the table 15 and restoring a binary data string forming embedded information.

【0058】具体的には、制御部13からウインドウパ
ターンを受け取ると、このウインドウパターンに対応す
る画素パターンがテーブル15に登録されているか否か
を判断し、テーブル15に登録されていない場合には、
次のウインドウパターンを制御部15に要求し、テーブ
ル15に登録されている場合には、この画素パターンに
対応するビットを内部に保持したシフトレジスタに格納
した後、次のウインドウパターンを制御部15に要求す
る。以上、本実施の形態で用いる画像処理装置10の構
成について説明した。
More specifically, when a window pattern is received from the control unit 13, it is determined whether or not a pixel pattern corresponding to the window pattern is registered in the table 15, and if the pixel pattern is not registered in the table 15, ,
A request for the next window pattern is made to the control unit 15, and if the next window pattern is registered in the table 15, the bit corresponding to this pixel pattern is stored in a shift register internally held, and then the next window pattern is sent to the control unit 15. Request to. The configuration of the image processing apparatus 10 used in the present embodiment has been described above.

【0059】次に、この画像処理装置10のエンコード
処理手順について説明する。図3は、図1に示す画像処
理装置10のエンコード処理手順を示すフローチャート
である。ただし、ここでは埋め込み情報14bについて
はすでに記憶部14に記憶済みであるものとする。
Next, the encoding processing procedure of the image processing apparatus 10 will be described. FIG. 3 is a flowchart showing an encoding processing procedure of the image processing apparatus 10 shown in FIG. Here, it is assumed that the embedded information 14b has already been stored in the storage unit 14.

【0060】図3のフローチャートに示すように、画像
データを画像入力部11から入力して記憶部14に記憶
した後に(ステップS301)、埋め込みデータ抽出部
13aが、2値データ列からなる埋め込み情報14bの
先頭ビットを取り出してエンコード処理部16に出力す
る(ステップS302)。また、ウインドウパターン取
得部13bは、画像データの始点にウインドウをセット
してウインドウパターンを取得し(ステップS303〜
304)、エンコード処理部16に出力する。
As shown in the flowchart of FIG. 3, after the image data is input from the image input unit 11 and stored in the storage unit 14 (step S301), the embedding data extraction unit 13a sets the embedding information comprising a binary data string. The first bit of 14b is extracted and output to the encoding processing unit 16 (step S302). The window pattern acquisition unit 13b acquires a window pattern by setting a window at the start point of the image data (steps S303 to S303).
304), and outputs the result to the encoding processing unit 16.

【0061】その後、エンコード処理部16は、ウイン
ドウ取得部13bから受け取ったウインドウパターン
が、テーブル15に登録済みのビット1およびビット0
のいずれかに対応する画素パターンと一致するか否かを
判断し(ステップS305)、いずれの画素パターンと
も一致しない場合(ステップS305否定)には、ステ
ップS311に移行する。
After that, the encoding processing unit 16 determines that the window pattern received from the window acquiring unit 13b is the bit 1 and the bit 0 registered in the table 15.
Is determined (step S305), and if it does not match any of the pixel patterns (No at step S305), the process proceeds to step S311.

【0062】これに対して、このウインドウパターンが
テーブル15に登録したいずれかの画素パターンと一致
する場合(ステップS305肯定)には、埋め込むべき
ビットが1であるか否かを調べる(ステップS30
6)。
On the other hand, if this window pattern matches any of the pixel patterns registered in the table 15 (Yes at step S305), it is checked whether the bit to be embedded is 1 (step S30).
6).

【0063】その結果、埋め込むべきビットが1であ
り、かつ、ウインドウパターンがビット1に対応するも
のでない場合(ステップS307否定)には、エンコー
ド処理部16は制御部13に対してビット1に対応する
画素パターンを出力し、制御部13が画像データ14a
上のウインドウパターンをビット1に対応する画素パタ
ーンに変更する(ステップS308)。
As a result, if the bit to be embedded is 1 and the window pattern does not correspond to bit 1 (No at step S307), the encoding processing unit 16 instructs the control unit 13 to correspond to bit 1. The control section 13 outputs a pixel pattern to be processed.
The upper window pattern is changed to a pixel pattern corresponding to bit 1 (step S308).

【0064】また、埋め込むべきビットが0であり、か
つ、ウインドウパターンがビット0に対応するものでな
い場合(ステップS309否定)には、エンコード処理
部16は制御部13に対してビット0に対応する画素パ
ターンを出力し、制御部13が画像データ14a上のウ
インドウパターンをビット0に対応する画素パターンに
変更する(ステップS310)。
If the bit to be embedded is 0 and the window pattern does not correspond to bit 0 (No at step S 309), the encoding processor 16 instructs the controller 13 to correspond to bit 0. The pixel pattern is output, and the control unit 13 changes the window pattern on the image data 14a to a pixel pattern corresponding to bit 0 (step S310).

【0065】なお、埋め込むビットが1であり、かつ、
ウインドウパターンがビット1に対応するものである場
合、または、埋め込むビットが0であり、かつ、ウイン
ドウパターンがビット0に対応するものである場合に
は、画像データ14aを変更するまでもなく当該ビット
を埋め込むことができる。
The bit to be embedded is 1, and
If the window pattern corresponds to bit 1 or if the bit to be embedded is 0 and the window pattern corresponds to bit 0, the bit is not changed without changing the image data 14a. Can be embedded.

【0066】そして、画像データ14aの終点までウイ
ンドウによる走査を完了していない場合には、該ウイン
ドウを3画素分ラスター方向に移動した後(ステップS
311〜312)、当該ビットが埋め込み情報14bの
最終ビットであるか否かを判断する(ステップS31
3)。
If the scanning by the window has not been completed up to the end point of the image data 14a, the window is moved by three pixels in the raster direction (step S).
311 to 312), and determines whether or not the bit is the last bit of the embedded information 14b (step S31).
3).

【0067】そして、最終ビットである場合(ステップ
S313肯定)には、この埋め込み情報14bの先頭の
ビットを取り出し(ステップS314)、また最終ビッ
トでない場合(ステップS313否定)には次のビット
を取り出して(ステップS315)、ステップS304
に移行する。上記ステップS304〜315の処理を繰
り返して画像データ14aの終点までウインドウ走査を
繰り返し、かかるウインドウ走査を終えた時点(ステッ
プS311肯定)で処理を終了する。
If it is the last bit (Yes at Step S313), the leading bit of the embedded information 14b is extracted (Step S314), and if it is not the last bit (Step S313 No), the next bit is extracted. (Step S315), Step S304
Move to The window scanning is repeated until the end point of the image data 14a by repeating the processes of steps S304 to 315, and the process ends when the window scanning is completed (Yes at step S311).

【0068】次に、図1に示す画像処理装置10のデコ
ード処理手順について説明する。図4は、図1に示す画
像処理装置10のデコード処理手順を示すフローチャー
トである。図4に示すように、画像データを画像入力部
11から入力して記憶部14に記憶した後に(ステップ
S401)、ウインドウパターン取得部13bは、画像
データの始点にウインドウをセットしてウインドウパタ
ーンを取得し(ステップS402〜403)、デコード
処理部17に出力する。
Next, the decoding processing procedure of the image processing apparatus 10 shown in FIG. 1 will be described. FIG. 4 is a flowchart showing a decoding processing procedure of the image processing apparatus 10 shown in FIG. As shown in FIG. 4, after the image data is input from the image input unit 11 and stored in the storage unit 14 (step S401), the window pattern acquisition unit 13b sets the window at the start point of the image data and sets the window pattern. Acquisition is performed (steps S402 to S403), and output to the decoding processing unit 17.

【0069】その後、デコード処理部17は、ウインド
ウ取得部13bから受け取ったウインドウパターンが、
テーブル15に登録済みのビット1およびビット0のい
ずれかに対応する画素パターンと一致するか否かを判断
し(ステップS404)、ビット1に対応する画素パタ
ーンと一致する場合(ステップS405肯定)には、内
部に保持するビット列に1を加え(ステップS40
6)、ビット0に対応する画素パターンと一致する場合
(ステップS405否定)には、内部に保持するビット
列に0を加える(ステップS407)。
Thereafter, the decoding processing unit 17 determines that the window pattern received from the window obtaining unit 13b is
It is determined whether the pixel pattern matches the pixel pattern corresponding to any of bit 1 and bit 0 registered in table 15 (step S404). If the pixel pattern matches the pixel pattern corresponding to bit 1 (step S405: YES), Adds 1 to the bit string held therein (step S40).
6) If the pixel pattern matches the pixel pattern corresponding to bit 0 (No at Step S405), 0 is added to the internally held bit string (Step S407).

【0070】その後、ウインドウを3画素分ラスター方
向に移動させて(ステップS409)同様の処理を繰り
返し、画像の終点までウインドウ走査した時点(ステッ
プS408肯定)で処理を終了する。
Thereafter, the window is moved by three pixels in the raster direction (step S409), and the same processing is repeated. When the window has been scanned to the end point of the image (step S408: YES), the processing ends.

【0071】上述してきたように、実施の形態1では、
画像データの局所領域の画素パターンの出現頻度に基づ
いて、複数の画素パターンをビット1またはビット0に
対応づけたテーブル15を作成しておき、このテーブル
15を用いて画像データへの埋め込み情報(2値データ
列)の埋め込みおよび復元をおこなうよう構成したの
で、(1)画像データの変更を必要最小限にすることが
でき、(2)埋め込み情報が与える視覚的影響を抑制す
ることができ、(3)簡単な処理で効率良く透かし情報
を画像データに埋め込むことができるという効果が得ら
れる。
As described above, in the first embodiment,
Based on the appearance frequency of the pixel pattern in the local region of the image data, a table 15 in which a plurality of pixel patterns are associated with bit 1 or bit 0 is created, and the table 15 is used to embed information ( Since the embedding and restoring of the binary data sequence are performed, (1) the change of the image data can be minimized, and (2) the visual influence of the embedding information can be suppressed. (3) It is possible to obtain an effect that watermark information can be efficiently embedded in image data by simple processing.

【0072】(実施の形態2)ところで、上記実施の形
態1では、画像処理装置10が処理する平均的な画像デ
ータの局所領域の画素パターンの出現頻度に基づいて、
複数の画素パターンをビット1またはビット0に対応づ
けたテーブル15をあらかじめ作成する場合を示した
が、様々な画像データを広範に取り扱う場合には、かか
る平均的な画像データの統計的性質では対応することが
できない。
(Embodiment 2) By the way, in Embodiment 1 described above, based on the appearance frequency of the pixel pattern in the local area of the average image data processed by the image processing apparatus 10,
The case where the table 15 in which a plurality of pixel patterns are associated with the bit 1 or the bit 0 is created in advance is shown. However, when various image data are handled in a wide range, the statistical properties of the average image data do not correspond. Can not do it.

【0073】そこで、以下では画像データごとに自動的
に統計的性質を算定し、上記テーブル15を自動的に作
成する実施の形態2について説明する。図5は、実施の
形態2で用いる画像処理装置50の構成を示す機能ブロ
ック図である。ただし、図1に示す画像処理装置10と
同様の機能を有する機能部には同一番号を付すこととし
て、その詳細な説明を省略する。
Thus, a second embodiment in which the statistical properties are automatically calculated for each image data and the table 15 is automatically created will be described below. FIG. 5 is a functional block diagram showing a configuration of the image processing device 50 used in the second embodiment. However, functional units having the same functions as those of the image processing apparatus 10 shown in FIG. 1 are given the same numbers, and detailed descriptions thereof will be omitted.

【0074】図5に示すように、この画像処理装置50
は、図1に示す画像処理装置10にテーブル作成部51
を付加した構成となる。テーブル作成部51は、画像入
力部11から入力した画像データの局所領域の画素パタ
ーンの出現頻度に基づいて、複数の画素パターンをビッ
ト1またはビット0に対応づけたテーブル15を自動的
に作成する。
As shown in FIG. 5, this image processing device 50
Is provided in the image processing apparatus 10 shown in FIG.
Is added. The table creation unit 51 automatically creates a table 15 in which a plurality of pixel patterns are associated with bit 1 or bit 0 based on the frequency of appearance of pixel patterns in a local region of image data input from the image input unit 11. .

【0075】具体的には、ウインドウにより画像データ
を順次走査して、局所領域の画素パターンの出現頻度を
算定し、算定した出現頻度が多い画素パターンを所定数
選択し、選択した画素パターンにビット1または0を割
り当ててテーブル15を作成する。
Specifically, the image data is sequentially scanned by a window, the frequency of appearance of the pixel pattern in the local area is calculated, a predetermined number of pixel patterns having a high calculated frequency are selected, and the selected pixel pattern is The table 15 is created by assigning 1 or 0.

【0076】図6は、このテーブル作成部51によるテ
ーブル作成手順を示すフローチャートである。図6に示
すように、画像入力部11から画像データを入力して、
該画像データを記憶部14に記憶したならば(ステップ
S601)、ウインドウを画像の始点にセットしてウイ
ンドウパターン(画素パターン)を取得する(ステップ
S602〜603)。
FIG. 6 is a flowchart showing a table creation procedure by the table creation section 51. As shown in FIG. 6, image data is input from the image input unit 11,
When the image data is stored in the storage unit 14 (step S601), the window is set at the start point of the image, and a window pattern (pixel pattern) is obtained (steps S602 to S603).

【0077】そして、この画素パターンの度数をインク
リメントした後(ステップS604)に、ウインドウを
所定の画素数分移動し(ステップS605)、画像の終
点に至るまで上記ステップS603〜S606の処理を
繰り返す(ステップS606)。その後、度数の高い画
素パターンを所定数選択し(ステップS607)、選択
した画素パターンにビット1または0を割り当ててテー
ブル15を作成する(ステップS608)。上記一連の
処理をおこなうことにより、画像データに適合したテー
ブル15を自動的に作成することができる。
After the frequency of the pixel pattern is incremented (step S604), the window is moved by a predetermined number of pixels (step S605), and the processes of steps S603 to S606 are repeated until the end point of the image is reached (step S605). Step S606). Thereafter, a predetermined number of pixel patterns having a high frequency are selected (step S607), and bit 1 or 0 is assigned to the selected pixel pattern to create a table 15 (step S608). By performing the above series of processing, the table 15 suitable for the image data can be automatically created.

【0078】上述してきたように、実施の形態2では、
画像入力部11から入力した画像データの局所領域の画
素パターンの出現頻度に基づいて、複数の画素パターン
をビット1または0に対応づけたテーブル15を自動的
に作成するテーブル作成部51を設けるよう構成したの
で、画像データを形成する各局所領域の画素パターンの
出現頻度(統計的性質)がその都度異なる場合であって
も、該画像データの統計的性質に応じて情報を埋め込む
ことができる。
As described above, in the second embodiment,
A table creation unit 51 is provided for automatically creating a table 15 in which a plurality of pixel patterns are associated with bits 1 or 0 based on the frequency of appearance of pixel patterns in a local region of image data input from the image input unit 11. With this configuration, even if the appearance frequency (statistical property) of the pixel pattern in each local region forming the image data is different each time, information can be embedded according to the statistical property of the image data.

【0079】(実施の形態3)ところで、上記実施の形
態1および2では、ウインドウパターン取得部13bが
画像データ14aに適用するウインドウを所定の画素数
ごとに等間隔で移動制御する場合を示したが、かかるウ
インドウはランダムに移動制御させることもできる。そ
こで、以下では、ウインドウを疑似乱数系列を用いてラ
ンダムに移動する実施の形態3について説明する。図7
は、実施の形態3で用いる画像処理装置70の構成を示
す機能ブロック図である。ただし、図1に示す画像処理
装置10と同様の機能を有する機能部には同一番号を付
すこととして、その詳細な説明を省略する。
(Embodiment 3) By the way, in Embodiments 1 and 2, the case where the window pattern acquisition unit 13b controls the movement of the window applied to the image data 14a at regular intervals for every predetermined number of pixels. However, the movement of such a window can be randomly controlled. Therefore, a third embodiment in which a window is randomly moved using a pseudo-random number sequence will be described below. FIG.
9 is a functional block diagram illustrating a configuration of an image processing device 70 used in Embodiment 3. FIG. However, functional units having the same functions as those of the image processing apparatus 10 shown in FIG. 1 are given the same numbers, and detailed descriptions thereof will be omitted.

【0080】図7に示すように、この画像処理装置70
は、鍵入力部71を有し、ウインドウパターン取得部7
2は、この鍵入力部71からの入力鍵に基づいて疑似乱
数系列を発生し、発生した疑似乱数系列にしたがってウ
インドウを移動制御する。
As shown in FIG. 7, this image processing device 70
Has a key input unit 71 and a window pattern obtaining unit 7
2 generates a pseudo-random number sequence based on the input key from the key input unit 71, and controls the movement of the window according to the generated pseudo-random number sequence.

【0081】鍵入力部71は、ウインドウパターン取得
部72が画像データに適用するウインドウを疑似乱数系
列にしたがってランダムに移動制御するための鍵を入力
する入力部である。たとえば、ウインドウパターン取得
部72が、最大長周期系列(M系列)や2次元最大長周
期系列(M平面)を疑似乱数系列として使用する場合に
は、これらの最大長周期系列をなす原始規約多項式また
は初期値等を鍵とすることができる。
The key input section 71 is an input section for inputting a key for randomly controlling movement of a window applied to image data by the window pattern obtaining section 72 in accordance with a pseudo-random number sequence. For example, when the window pattern acquisition unit 72 uses a maximum long-period sequence (M sequence) or a two-dimensional maximum long-period sequence (M plane) as a pseudo-random number sequence, the primitive rule polynomial forming these maximum long-period sequences Alternatively, an initial value or the like can be used as a key.

【0082】このように、疑似乱数系列を基づいてウイ
ンドウを移動制御することとした理由は、画像データに
埋め込んだ情報を第三者に復号または改ざんされないよ
うにするためである。また、物理乱数ではなく疑似乱数
系列を採用した理由は、エンコード処理時に用いた乱数
系列がデコード時に再度必要となるため、乱数の再現性
が必要になるからである。
The reason why the movement of the window is controlled based on the pseudo-random number sequence is to prevent information embedded in the image data from being decoded or falsified by a third party. Also, the reason why a pseudo-random number sequence is used instead of a physical random number is that the random number sequence used in the encoding process is needed again in decoding, so that reproducibility of the random number is required.

【0083】上述してきたように、実施の形態3では、
疑似乱数系列の鍵を入力する鍵入力部71を設け、ウイ
ンドウパターン取得部72が、この鍵に基づいて発生し
た疑似乱数系列にしたがってウインドウを移動制御する
よう構成したので、画像データに埋め込んだ情報を第三
者に復号または改ざんされないようにすることが可能と
なる。
As described above, in the third embodiment,
A key input unit 71 for inputting a key of a pseudo-random number sequence is provided, and the window pattern acquisition unit 72 is configured to control movement of a window according to a pseudo-random number sequence generated based on the key. Can be prevented from being decrypted or tampered with by a third party.

【0084】なお、実施の形態3では、疑似乱数系列に
基づいてウインドウを移動制御する場合を示したが、本
発明はこれに限定されるものではなく、あらかじめ規定
した順序でウインドウを移動制御することも可能であ
る。
In the third embodiment, the case where the movement of the window is controlled based on the pseudo-random number sequence has been described. However, the present invention is not limited to this, and the movement of the window is controlled in a predetermined order. It is also possible.

【0085】また、上記実施の形態1〜3では、2値画
像データに2値データ列を埋め込む場合を示したが、本
発明はこれに限定されるものではなく、多値画像データ
やカラーデータに2値データ列または多値データ列を埋
め込む場合に適用することも可能である。
In the first to third embodiments, the case where the binary data string is embedded in the binary image data has been described. However, the present invention is not limited to this. Can be applied to the case where a binary data sequence or a multi-valued data sequence is embedded in a.

【0086】さらに、上記実施の形態1〜3では、ウイ
ンドウパターンがテーブル15に登録した画素パターン
と一致する場合にのみ情報を埋め込むこととしたが、該
ウインドウパターンがテーブル15に登録した画素パタ
ーンと近い場合に、情報の埋め込みをおこなうことも可
能である。
Further, in the first to third embodiments, information is embedded only when the window pattern matches the pixel pattern registered in the table 15, but the window pattern matches the pixel pattern registered in the table 15. When it is close, it is also possible to embed information.

【0087】[0087]

【発明の効果】以上詳細に説明したように、請求項1の
発明によれば、画像データを形成する各局所領域の画素
パターンの統計的性質に基づいて情報列の各情報要素が
とり得るデータに一または複数の画素パターンを対応づ
けたテーブルを準備しておき、このテーブルに基づいて
情報列の各情報要素を画像データに順次埋め込んでエン
コードをおこなうとともに、このテーブルに基づいて情
報列を埋め込んだ画像データから該情報列を形成する各
情報要素を順次取り出すデコードをおこなうよう構成し
たので、(1)画像データの変更を必要最小限にするこ
とが可能で、(2)埋め込み情報が与える視覚的影響を
抑制することが可能で、(3)簡単な処理で効率良く透
かし情報を画像データに埋め込むことが可能で、(4)
複写機の機番や日付などの情報列を画像データに自動的
に埋め込むようにして、ユーザに気づかれることなく有
価証券等の不正な複写を事後的に追跡することが可能な
画像処理装置が得られるという効果を奏する。
As described above in detail, according to the first aspect of the present invention, the data that can be taken by each information element of the information sequence based on the statistical properties of the pixel pattern of each local area forming the image data A table in which one or more pixel patterns are associated with each other is prepared, and based on this table, each information element of the information sequence is sequentially embedded in image data to perform encoding, and the information sequence is embedded based on this table. Since decoding is performed to sequentially retrieve each information element forming the information sequence from the image data, (1) the change of the image data can be minimized, and (2) the visual information provided by the embedded information can be obtained. (3) watermark information can be efficiently embedded in image data by simple processing, and (4)
By automatically embedding information strings such as the machine number and date of a copying machine in image data, an image processing apparatus capable of tracking an illegal copy of securities or the like ex post without being noticed by a user has been developed. The effect is obtained.

【0088】また、請求項2の発明によれば、画像デー
タを形成する各局所領域の画素パターンの出現頻度を算
定し、この算定結果に基づいて一または複数の画素パタ
ーンを情報列の各情報要素がとり得るデータに割り当て
たテーブルを自動的に作成し、作成したテーブルに基づ
いてエンコードおよびデコードをおこなうよう構成した
ので、画像データを形成する各局所領域の画素パターン
の出現頻度(統計的性質)がその都度異なる場合であっ
ても、該画像データの統計的性質に応じて情報を埋め込
むことが可能な画像処理装置が得られるという効果を奏
する。
According to the second aspect of the present invention, the appearance frequency of a pixel pattern in each local region forming image data is calculated, and one or a plurality of pixel patterns are determined based on the calculation result. Since a table assigned to data that can be taken by elements is automatically created, and encoding and decoding are performed based on the created table, the appearance frequency (statistical property) of the pixel pattern of each local region forming image data ) Is different each time, an image processing apparatus capable of embedding information according to the statistical properties of the image data is obtained.

【0089】また、請求項3の発明によれば、情報列か
ら埋め込み対象となる情報要素を順次取得するととも
に、画像データにウインドウを適用して、該ウインドウ
が所在する局所領域のウインドウパターンを取得し、取
得したウインドウパターンが、取得した情報要素以外の
情報要素に対応するテーブルに登録された画素パターン
のいずれかと一致する場合にのみ、ウインドウを適用し
た局所領域の画素パターンを取得した情報要素に対応す
るテーブルに登録された画素パターンに変更するよう構
成したので、画像データがもともと有する画素パターン
そのものをできるだけ情報要素として利用して、画像デ
ータの変更を低減することが可能な画像処理装置が得ら
れるという効果を奏する。
According to the third aspect of the present invention, information elements to be embedded are sequentially obtained from an information sequence, and a window is applied to image data to obtain a window pattern of a local area where the window is located. Only when the obtained window pattern matches any of the pixel patterns registered in the table corresponding to the information element other than the obtained information element, the pixel pattern of the local area to which the window is applied is added to the obtained information element. Since the pixel pattern is changed to the pixel pattern registered in the corresponding table, an image processing apparatus capable of reducing the change of the image data by using the pixel pattern originally included in the image data as an information element as much as possible is obtained. The effect is that it can be done.

【0090】また、請求項4の発明によれば、画像デー
タにウインドウを適用して、該ウインドウが所在する局
所領域のウインドウパターンを取得し、取得したウイン
ドウパターンがテーブルに登録されたいずれかの画素パ
ターンと一致する場合に、該画素パターンに対応するデ
ータを情報要素として復元するよう構成したので、画像
データに埋め込まれた各情報要素を迅速かつ一意に取り
出して情報列を復元することが可能な画像処理装置が得
られるという効果を奏する。
According to the fourth aspect of the present invention, a window is applied to image data to acquire a window pattern of a local area where the window is located, and the acquired window pattern is registered in any of the tables. Since the data corresponding to the pixel pattern is restored as an information element when it matches the pixel pattern, each information element embedded in the image data can be quickly and uniquely extracted to restore the information sequence. This provides an effect that a simple image processing device can be obtained.

【0091】また、請求項5の発明によれば、画像デー
タに適用するウインドウの位置を等間隔で移動制御する
よう構成したので、埋め込みたい情報量と目立たせない
度合いという相反するトレードオフの関係を簡単に調整
することが可能な画像処理装置が得られるという効果を
奏する。
According to the fifth aspect of the present invention, since the position of the window applied to the image data is controlled to be moved at regular intervals, the conflicting trade-off relationship between the amount of information to be embedded and the degree of inconspicuousness. Is obtained, whereby an image processing apparatus that can easily adjust the image quality is obtained.

【0092】また、請求項6の発明によれば、画像デー
タに適用するウインドウの位置を再現性ある疑似乱数系
列に基づいて移動制御するよう構成したので、画像デー
タに埋め込んだ電子透かし情報である情報列の第三者に
よる復号および改ざんを防止し、電子透かし情報の正当
性を担保することが可能な画像処理装置が得られるとい
う効果を奏する。
According to the sixth aspect of the present invention, since the movement of the position of the window applied to the image data is controlled based on a reproducible pseudo-random number sequence, the electronic watermark information is embedded in the image data. There is an effect that an image processing apparatus capable of preventing the information sequence from being decrypted and falsified by a third party and ensuring the validity of the digital watermark information can be obtained.

【0093】また、請求項7の発明によれば、画像デー
タを形成する各局所領域の画素パターンの統計的性質に
基づいて情報列の各情報要素がとり得るデータに一また
は複数の画素パターンを対応づけたテーブルを準備して
おき、このテーブルに基づいて情報列の各情報要素を画
像データに順次埋め込んでエンコードをおこなうととも
に、このテーブルに基づいて情報列を埋め込んだ画像デ
ータから該情報列を形成する各情報要素を順次取り出す
デコードをおこなうよう構成したので、(1)画像デー
タの変更を必要最小限にすることが可能で、(2)埋め
込み情報が与える視覚的影響を抑制することが可能で、
(3)簡単な処理で効率良く透かし情報を画像データに
埋め込むことが可能で、(4)複写機の機番や日付など
の情報列を画像データに自動的に埋め込むようにして、
ユーザに気づかれることなく有価証券等の不正な複写を
事後的に追跡することが可能な画像処理方法が得られる
という効果を奏する。
According to the seventh aspect of the present invention, one or a plurality of pixel patterns are assigned to data that can be taken by each information element of an information sequence based on the statistical properties of the pixel patterns of each local area forming image data. A corresponding table is prepared, and based on this table, each information element of the information sequence is sequentially embedded in the image data to perform encoding, and the information sequence is embedded from the image data in which the information sequence is embedded based on this table. Since decoding is performed to sequentially retrieve each information element to be formed, (1) the change of image data can be minimized, and (2) the visual influence of embedded information can be suppressed. so,
(3) It is possible to embed watermark information into image data efficiently with simple processing, and (4) automatically embed an information sequence such as a machine number and date of a copying machine into image data.
There is an effect that an image processing method capable of tracking an illegal copy of a securities or the like ex post fact without being noticed by the user is obtained.

【0094】また、請求項8の発明によれば、情報列か
ら埋め込み対象となる情報要素を順次取得するととも
に、画像データにウインドウを適用して、該ウインドウ
が所在する局所領域のウインドウパターンを取得し、取
得したウインドウパターンが、取得した情報要素以外の
情報要素に対応するテーブルに登録された画素パターン
のいずれかと一致する場合にのみ、ウインドウを適用し
た局所領域の画素パターンを取得した情報要素に対応す
るテーブルに登録された画素パターンに変更するよう構
成したので、画像データがもともと有する画素パターン
そのものをできるだけ情報要素として利用して、画像デ
ータの変更を低減することが可能な画像処理方法が得ら
れるという効果を奏する。
According to the invention of claim 8, information elements to be embedded are sequentially obtained from the information sequence, and a window is applied to image data to obtain a window pattern of a local area where the window is located. Only when the obtained window pattern matches any of the pixel patterns registered in the table corresponding to the information element other than the obtained information element, the pixel pattern of the local area to which the window is applied is added to the obtained information element. Since the pixel pattern is changed to the pixel pattern registered in the corresponding table, an image processing method capable of reducing the change of the image data by using the pixel pattern originally included in the image data as an information element as much as possible is obtained. The effect is that it can be done.

【0095】また、請求項9の発明によれば、画像デー
タにウインドウを適用して、該ウインドウが所在する局
所領域のウインドウパターンを取得し、取得したウイン
ドウパターンがテーブルに登録されたいずれかの画素パ
ターンと一致する場合に、該画素パターンに対応するデ
ータを情報要素として復元するよう構成したので、画像
データに埋め込まれた各情報要素を迅速かつ一意に取り
出して情報列を復元することが可能な画像処理方法が得
られるという効果を奏する。
According to the ninth aspect of the present invention, a window is applied to image data to acquire a window pattern of a local area where the window is located, and the acquired window pattern is registered in any of the tables. Since the data corresponding to the pixel pattern is restored as an information element when it matches the pixel pattern, each information element embedded in the image data can be quickly and uniquely extracted to restore the information sequence. This provides an effect that a simple image processing method can be obtained.

【0096】また、請求項10の発明によれば、画像デ
ータを形成する各局所領域の画素パターンの出現頻度を
算定し、この算定結果に基づいて一または複数の画素パ
ターンを情報列の各情報要素がとり得るデータに割り当
てたテーブルを自動的に作成し、作成したテーブルに基
づいてエンコードおよびデコードをおこなうよう構成し
たので、画像データを形成する各局所領域の画素パター
ンの出現頻度(統計的性質)がその都度異なる場合であ
っても、該画像データの統計的性質に応じて情報を埋め
込むことが可能な画像処理方法が得られるという効果を
奏する。
According to the tenth aspect of the present invention, the appearance frequency of a pixel pattern in each local area forming image data is calculated, and one or a plurality of pixel patterns are determined based on the calculation result. Since a table assigned to data that can be taken by elements is automatically created, and encoding and decoding are performed based on the created table, the appearance frequency (statistical property) of the pixel pattern of each local region forming image data ) Is different each time, an image processing method that can embed information according to the statistical property of the image data is obtained.

【0097】また、請求項11の発明に係る記憶媒体
は、請求項7〜10に記載された方法をコンピュータに
実行させるプログラムを記録したことで、そのプログラ
ムを機械読み取り可能となり、これによって、請求項7
〜10の動作をコンピュータによって実現することが可
能な記録媒体が得られるという効果を奏する。
The storage medium according to the eleventh aspect of the present invention records a program for causing a computer to execute the method according to any one of the seventh to tenth aspects, thereby making the program readable by a machine. Item 7
It is possible to obtain a recording medium capable of realizing the operations (1) to (10) by a computer.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の実施の形態1に係る画像処理装置の
構成を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing a configuration of an image processing apparatus according to Embodiment 1 of the present invention.

【図2】ビット1またはビット0に対応づけた画素パタ
ーンの一例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of a pixel pattern associated with bit 1 or bit 0;

【図3】実施の形態1に係る画像処理装置のエンコード
処理手順を示すフローチャートである。
FIG. 3 is a flowchart illustrating an encoding processing procedure of the image processing apparatus according to the first embodiment;

【図4】実施の形態1に係る画像処理装置のデコード処
理手順を示すフローチャートである。
FIG. 4 is a flowchart illustrating a decoding processing procedure of the image processing apparatus according to the first embodiment;

【図5】この発明の実施の形態2に係る画像処理装置の
構成を示す機能ブロック図である。
FIG. 5 is a functional block diagram showing a configuration of an image processing apparatus according to Embodiment 2 of the present invention.

【図6】実施の形態2に係る画像処理装置のテーブル作
成部によるテーブル作成手順を示すフローチャートであ
る。
FIG. 6 is a flowchart illustrating a table creation procedure by a table creation unit of the image processing apparatus according to the second embodiment.

【図7】この発明の実施の形態3に係る画像処理装置の
構成を示す機能ブロック図である。
FIG. 7 is a functional block diagram showing a configuration of an image processing apparatus according to Embodiment 3 of the present invention.

【符号の説明】[Explanation of symbols]

10 画像処理装置 11 画像入力部 12 埋め込み情報入力部 13 制御部 13a 埋め込みデータ抽出部 13b ウインドウパターン取得部 14 記憶部 14a 画像データ 14b 埋め込み情報 15 テーブル 16 エンコード処理部 17 デコード処理部 51 テーブル作成部 71 鍵入力部 72 ウインドウパターン取得部 Reference Signs List 10 Image processing device 11 Image input unit 12 Embedded information input unit 13 Control unit 13a Embedded data extraction unit 13b Window pattern acquisition unit 14 Storage unit 14a Image data 14b Embedded information 15 Table 16 Encoding processing unit 17 Decoding processing unit 51 Table creation unit 71 Key input unit 72 Window pattern acquisition unit

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 複数の情報要素からなる情報列を画像デ
ータへ埋め込むとともに、該画像データから前記情報列
を取り出す画像処理装置において、 前記画像データを形成する各局所領域の画素パターンの
統計的性質に基づいて前記情報列の各情報要素がとり得
るデータに一または複数の画素パターンを対応づけたテ
ーブルと、 前記テーブルに基づいて前記情報列の各情報要素を前記
画像データに順次埋め込むエンコード手段と、 前記テーブルに基づいて前記エンコード手段が前記情報
列を埋め込んだ画像データから該情報列を形成する各情
報要素を順次取り出すデコード手段と、 を備えたことを特徴とする画像処理装置。
1. An image processing apparatus for embedding an information sequence including a plurality of information elements into image data and extracting the information sequence from the image data, wherein a statistical property of a pixel pattern of each local region forming the image data is provided. A table in which one or a plurality of pixel patterns are associated with data that can be taken by each information element of the information sequence based on the encoding unit that sequentially embeds each information element of the information sequence in the image data based on the table. An image processing apparatus, comprising: decoding means for sequentially extracting each information element forming the information sequence from the image data in which the information sequence is embedded, based on the table.
【請求項2】 さらに、前記画像データを形成する各局
所領域の画素パターンの出現頻度を算定する算定手段
と、 前記算定手段による算定結果に基づいて一または複数の
画素パターンを前記情報列の各情報要素がとり得るデー
タに割り当てた前記テーブルを自動的に作成するテーブ
ル作成手段と、 を備えたことを特徴とする請求項1に記載の画像処理装
置。
2. A calculating means for calculating the frequency of appearance of a pixel pattern in each local area forming the image data; and one or more pixel patterns based on the calculation result by the calculating means. The image processing apparatus according to claim 1, further comprising: a table creating unit that automatically creates the table assigned to data that can be taken by an information element.
【請求項3】 前記エンコード手段は、 前記情報列から埋め込み対象となる情報要素を順次取得
する情報要素取得手段と、 前記画像データにウインドウを適用して、該ウインドウ
が所在する局所領域のウインドウパターンを取得するパ
ターン取得手段と、 前記パターン取得手段が取得したウインドウパターン
が、前記情報要素取得手段が取得した情報要素以外の情
報要素に対応する前記テーブルに登録された画素パター
ンのいずれかと一致する場合にのみ、前記ウインドウを
適用した局所領域の画素パターンを前記情報要素取得手
段が取得した情報要素に対応する前記テーブルに登録さ
れた画素パターンに変更する変更手段と、 前記パターン取得手段が前記画像データに適用するウイ
ンドウの位置および順序を制御するウインドウ制御手段
と、 を備えたことを特徴とする請求項1または2に記載の画
像処理装置。
3. An information element acquisition unit for sequentially acquiring information elements to be embedded from the information sequence, a window pattern in a local area where the window is located by applying a window to the image data. And the window pattern acquired by the pattern acquisition unit matches any of the pixel patterns registered in the table corresponding to information elements other than the information element acquired by the information element acquisition unit. Only, changing means for changing the pixel pattern of the local area to which the window is applied to a pixel pattern registered in the table corresponding to the information element obtained by the information element obtaining means; and Control means for controlling the position and order of windows applied to windows The image processing apparatus according to claim 1 or 2, further comprising a.
【請求項4】 前記デコード手段は、 前記画像データにウインドウを適用して、該ウインドウ
が所在する局所領域のウインドウパターンを取得するパ
ターン取得手段と、 前記パターン取得手段が取得したウインドウパターンが
前記テーブルに登録されたいずれかの画素パターンと一
致する場合に、該画素パターンに対応するデータを情報
要素として復元する復元手段と、 前記パターン取得手段が前記画像データに適用するウイ
ンドウの位置および順序を制御するウインドウ制御手段
と、 を備えたことを特徴とする請求項1〜3のいずれか一つ
に記載の画像処理装置。
4. A decoding apparatus comprising: a decoding unit configured to apply a window to the image data to obtain a window pattern of a local area where the window is located; A restoring unit for restoring data corresponding to the pixel pattern as an information element when the pixel pattern matches any of the pixel patterns registered in the image data, and controlling a position and an order of windows applied to the image data by the pattern acquiring unit. The image processing apparatus according to any one of claims 1 to 3, further comprising: a window control unit configured to perform the operation.
【請求項5】 前記ウインドウ制御手段は、 前記パターン取得手段が前記画像データに適用するウイ
ンドウの位置を等間隔で移動制御することを特徴とする
請求項3または4に記載の画像処理装置。
5. The image processing apparatus according to claim 3, wherein the window control unit controls movement of a window applied to the image data by the pattern acquisition unit at equal intervals.
【請求項6】 前記ウインドウ制御手段は、 前記パターン取得手段が前記画像データに適用するウイ
ンドウの位置を再現性ある疑似乱数系列に基づいて移動
制御することを特徴とする請求項3または4に記載の画
像処理装置。
6. The window control unit according to claim 3, wherein the pattern acquisition unit controls movement of a window position applied to the image data based on a reproducible pseudo-random number sequence. Image processing device.
【請求項7】 複数の情報要素からなる情報列を画像デ
ータへ埋め込むとともに、該画像データから前記情報列
を取り出す画像処理方法において、 前記画像データを形成する各局所領域の画素パターンの
統計的性質に基づいて前記情報列の各情報要素がとり得
るデータに一または複数の画素パターンを対応づけたテ
ーブルに基づいて前記情報列の各情報要素を前記画像デ
ータに順次埋め込む第1工程と、 該情報列を埋め込んだ画像データから前記テーブルに基
づいて該情報列を形成する各情報要素を順次取り出す第
2工程と、 を含んだことを特徴とする画像処理方法。
7. An image processing method for embedding an information sequence composed of a plurality of information elements into image data and extracting the information sequence from the image data, wherein a statistical property of a pixel pattern of each local region forming the image data is provided. A first step of sequentially embedding each information element of the information sequence in the image data based on a table in which one or more pixel patterns are associated with data that can be taken by each information element of the information sequence based on the information; A second step of sequentially extracting each information element forming the information sequence from the image data in which the sequence is embedded based on the table.
【請求項8】 前記第1工程は、 前記情報列から埋め込み対象となる情報要素を取得する
とともに、前記画像データにウインドウを適用して、該
ウインドウが所在する局所領域のウインドウパターンを
取得し、 取得したウインドウパターンが、取得した情報要素以外
の情報要素に対応する前記テーブルに登録された画素パ
ターンのいずれかと一致する場合にのみ、前記ウインド
ウを適用した局所領域の画素パターンを、取得した情報
要素に対応する前記テーブルに登録された画素パターン
に変更し、 画像データに適用するウインドウの位置を更新して、少
なくとも前記情報列を形成する全ての情報要素を埋め込
むまで上記処理を繰り返すことを特徴とする請求項7に
記載の画像処理方法。
8. The first step is to acquire an information element to be embedded from the information sequence, apply a window to the image data, and acquire a window pattern of a local area where the window is located, Only when the acquired window pattern matches any of the pixel patterns registered in the table corresponding to the information element other than the acquired information element, the pixel pattern of the local area to which the window is applied is acquired as the acquired information element. Changing the pixel pattern registered in the table corresponding to the above, updating the position of the window applied to the image data, and repeating the above processing until at least all the information elements forming the information sequence are embedded. The image processing method according to claim 7.
【請求項9】 前記第2工程は、 前記画像データにウインドウを適用して、該ウインドウ
が所在する局所領域のウインドウパターンを取得し、 取得したウインドウパターンが前記テーブルに登録され
たいずれかの画素パターンと一致する場合に、該画素パ
ターンに対応するデータを情報要素として復元し、 画像データに適用するウインドウの位置を更新して上記
処理を繰り返すことを特徴とする請求項7または8に記
載の画像処理方法。
9. The second step is to apply a window to the image data to obtain a window pattern of a local area where the window is located, and to obtain any one of the pixels registered in the table with the obtained window pattern. 9. The method according to claim 7, wherein when the pattern matches, the data corresponding to the pixel pattern is restored as an information element, the position of a window applied to the image data is updated, and the processing is repeated. Image processing method.
【請求項10】 複数の情報要素からなる情報列を画像
データへ埋め込むとともに、該画像データから前記情報
列を取り出す画像処理方法において、 前記画像データを形成する各局所領域の画素パターンの
出現頻度を算定し、 算定した結果に基づいて一または複数の画素パターンを
前記情報列の各情報要素がとり得るデータに割り当てた
テーブルを自動的に作成し、 作成したテーブルに基づいて前記情報列の各情報要素を
前記画像データに順次埋め込み、 該情報列を埋め込んだ画像データから前記テーブルに基
づいて該情報列を形成する各情報要素を順次取り出すこ
とを特徴とする画像処理方法。
10. An image processing method for embedding an information sequence composed of a plurality of information elements into image data and extracting the information sequence from the image data, comprising: determining an appearance frequency of a pixel pattern of each local region forming the image data; Calculating, automatically creating a table in which one or a plurality of pixel patterns are assigned to data that can be taken by each information element of the information sequence based on the calculated result, and based on the created table, each information of the information sequence An image processing method comprising: sequentially embedding elements in the image data; and sequentially extracting information elements forming the information sequence from the image data in which the information sequence is embedded, based on the table.
【請求項11】 前記請求項7〜10のいずれか一つに
記載された方法をコンピュータに実行させるプログラム
を記録したことを特徴とするコンピュータ読み取り可能
な記録媒体。
11. A computer-readable recording medium on which a program for causing a computer to execute the method according to claim 7 is recorded.
JP28559798A 1998-10-07 1998-10-07 IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD Expired - Fee Related JP3597710B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28559798A JP3597710B2 (en) 1998-10-07 1998-10-07 IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28559798A JP3597710B2 (en) 1998-10-07 1998-10-07 IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD

Publications (2)

Publication Number Publication Date
JP2000115518A true JP2000115518A (en) 2000-04-21
JP3597710B2 JP3597710B2 (en) 2004-12-08

Family

ID=17693613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28559798A Expired - Fee Related JP3597710B2 (en) 1998-10-07 1998-10-07 IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD

Country Status (1)

Country Link
JP (1) JP3597710B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100499471B1 (en) * 2000-09-05 2005-07-07 엘지전자 주식회사 Method for Picture Watermarking
US7564464B2 (en) 2004-06-28 2009-07-21 Ricoh Company, Ltd. Image forming apparatus, operation panel control method, and computer product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100499471B1 (en) * 2000-09-05 2005-07-07 엘지전자 주식회사 Method for Picture Watermarking
US7564464B2 (en) 2004-06-28 2009-07-21 Ricoh Company, Ltd. Image forming apparatus, operation panel control method, and computer product

Also Published As

Publication number Publication date
JP3597710B2 (en) 2004-12-08

Similar Documents

Publication Publication Date Title
JP3697344B2 (en) Image verification device
FI105418B (en) Hiding the verification code on an electrical signal
US8355525B2 (en) Parallel processing of digital watermarking operations
US20030190054A1 (en) Method and system for distributing digital content with embedded message
EP0813788B1 (en) Method of and apparatus for manipulating digital data works
Lin Robust transparent image watermarking system with spatial mechanisms
Huang et al. Watermark optimization technique based on genetic algorithms
US6831990B2 (en) System and method for image tamper detection via thumbnail hiding
US7523311B1 (en) Method for embedding electronic watermark, decoding method, and devices for the same
US7496197B2 (en) Method and system for robust embedding of watermarks and steganograms in digital video content
Hel-Or Watermarking and copyright labeling of printed images
US20030172275A1 (en) Real-time blind watermarking method using quantization
Hassan et al. A semi-fragile watermarking scheme for color image authentication
US10958926B2 (en) Digitally watermarked compressed video image sequences
JP2005136981A (en) Information embedding in images
JP2000350007A (en) Electronic watermarking method, electronic watermark device and recording medium
JP3597710B2 (en) IMAGE PROCESSING DEVICE, IMAGE PROCESSING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE METHOD
JP3805141B2 (en) Image processing method and apparatus, and storage medium
JP4652167B2 (en) Image processing apparatus, image processing method, and program
US7330560B2 (en) Insertion and extraction of a message in an image
CN104244001A (en) Watermark processing method and device for digital media file
EP1171756B1 (en) Method of detecting a watermark in digital images
CN117633728B (en) Video cartoon digital copyright trading platform and copyright right-determining method based on blockchain
JP3548096B2 (en) Modification determination apparatus and method
JP4260076B2 (en) Document creation device, document verification device, document creation method, document verification method, document creation program, document verification program, recording medium storing document creation program, and recording medium storing document verification program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040730

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040909

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080917

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090917

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100917

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110917

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120917

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130917

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees