JP6362191B1 - Image processing system, image processing apparatus, image processing method, and program - Google Patents
Image processing system, image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- JP6362191B1 JP6362191B1 JP2017136840A JP2017136840A JP6362191B1 JP 6362191 B1 JP6362191 B1 JP 6362191B1 JP 2017136840 A JP2017136840 A JP 2017136840A JP 2017136840 A JP2017136840 A JP 2017136840A JP 6362191 B1 JP6362191 B1 JP 6362191B1
- Authority
- JP
- Japan
- Prior art keywords
- palette
- image processing
- index values
- image data
- palette table
- 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
Links
Images
Abstract
【課題】 画質を劣化させることなく情報を埋め込む。
【解決手段】 本発明の一実施形態に係る画像処理システムは、第1の画像処理装置および第2の画像処理装置を含み、前記第1の画像処理装置は、色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力する入力手段と、埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換する並べ替え手段と、前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換する変換手段と、前記第2のパレットテーブルを含む変換画像データを出力する出力手段とを備える。
【選択図】図1To embed information without degrading image quality.
An image processing system according to an embodiment of the present invention includes a first image processing device and a second image processing device, and the first image processing device uses palette information that defines color information. Input means for inputting image data including a first palette table in which a plurality of associated index values are arranged according to a predetermined rule; and the index values are rearranged based on an embedded data string, and the first palette table is Rearrangement means for converting to the second palette table; and conversion means for converting the index value of the first palette table associated with each pixel constituting the image data to the index value of the second palette table. And output means for outputting converted image data including the second palette table.
[Selection] Figure 1
Description
本発明は、デジタル画像へ情報を埋め込む画像処理システム、画像処理装置、画像処理方法およびプログラムに関する。 The present invention relates to an image processing system, an image processing apparatus, an image processing method, and a program for embedding information in a digital image.
近年、デジタルコンテンツの保護および利用の観点から、デジタル画像には、画像データに加えて、画像の権利情報などのメタ情報、付加的なメッセージなどの情報を埋め込む電子透かし技術が用いられている。特許文献1には、カラーパレットの各データの最下位ビットを書き換えることにより、画質劣化を抑えながら情報を埋め込む方法が記載されている。
In recent years, from the viewpoint of protection and use of digital content, digital watermarking technology that embeds information such as meta information such as image right information and additional messages in addition to image data is used for digital images.
しかしながら、特許文献1に記載の方法においては、最下位ビットといえども画像データが改変されることから、画質の劣化は避けられない。
However, in the method described in
本発明は、上述の課題に鑑みてなされたものであって、画質の劣化を生じさせることなく、情報を埋め込み可能な画像処理システム、画像処理装置、画像処理方法およびプログラムを提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides an image processing system, an image processing apparatus, an image processing method, and a program capable of embedding information without causing deterioration in image quality. And
本発明の一観点によれば、第1の画像処理装置および第2の画像処理装置を含む画像処理システムであって、前記第1の画像処理装置は、色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力する入力手段と、埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換する並べ替え手段と、前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換する変換手段と、前記第2のパレットテーブルを含む変換画像データを出力する出力手段とを備え、前記第2の画像処理装置は、前記変換画像データを入力する手段と、前記変換画像データの前記第2のパレットテーブルにおける前記インデックス値の並び順と前記所定規則とに基づき前記埋め込みデータ列を取り出す取り出し手段とを備えることを特徴とする画像処理システムが提供される。 According to an aspect of the present invention, there is provided an image processing system including a first image processing device and a second image processing device, wherein the first image processing device is associated with palette information defining color information. Input means for inputting image data including a first palette table in which a plurality of index values are arranged according to a predetermined rule; and the index values are rearranged based on an embedded data string, and the first palette table is converted into a second Rearrangement means for converting into a palette table; conversion means for converting the index value of the first palette table associated with each pixel constituting the image data into the index value of the second palette table; Output means for outputting converted image data including the second palette table, and the second image processing apparatus includes An image comprising: means for inputting image data; and means for taking out the embedded data string based on the order of the index values in the second palette table of the converted image data and the predetermined rule A processing system is provided.
本発明の他の観点によれば、色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力する入力手段と、埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換する並べ替え手段と、前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換する変換手段と、前記第2のパレットテーブルを含む変換画像データを出力する出力手段とを備えることを特徴とする画像処理装置が提供される。 According to another aspect of the present invention, an input means for inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule, and an embedded data string Reordering means for reordering the index values and converting the first pallet table into a second pallet table, and the first pallet table associated with each pixel constituting the image data. An image processing apparatus is provided, comprising: conversion means for converting an index value into the index value of the second palette table; and output means for outputting converted image data including the second palette table. The
本発明のさらに他の観点によれば、色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データにおいて、埋め込みデータ列に基づいて前記インデックス値を並べ替えることにより、前記第1のパレットテーブルを第2のパレットテーブルに変換し、前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を第2のパレットテーブルの前記インデックス値に変換した変換画像データを入力する入力手段と、前記変換画像データの前記第2のパレットテーブルにおける前記インデックス値の並び順と前記所定規則とに基づき前記埋め込みデータ列を取り出す取り出し手段とを備えることを特徴とする画像処理装置が提供される。 According to still another aspect of the present invention, in image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged in a predetermined rule, the image data is based on an embedded data string. By rearranging the index values, the first palette table is converted into a second palette table, and the index value of the first palette table associated with each pixel constituting the image data is changed to a second palette table. The embedded data string is extracted based on input means for inputting the converted image data converted into the index value of the palette table, the order of the index values in the second palette table of the converted image data, and the predetermined rule. And an image processing apparatus characterized by comprising an extraction means. .
本発明のさらに他の観点によれば、色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力するステップと、埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換するステップと、前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換するステップと、前記第2のパレットテーブルを含む変換画像データを出力するステップとを備えることを特徴とする画像処理方法が提供される。 According to still another aspect of the present invention, a step of inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule, and an embedded data string Rearranging the index values based on the first palette table, converting the first palette table into a second palette table, and the index values of the first palette table associated with each pixel constituting the image data Is converted to the index value of the second palette table, and converted image data including the second palette table is output. An image processing method is provided.
本発明のさらに他の観点によれば、色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データにおいて、埋め込みデータ列に基づいて前記インデックス値を並べ替えることにより、前記第1のパレットテーブルを第2のパレットテーブルに変換し、前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を第2のパレットテーブルの前記インデックス値に変換した変換画像データを入力するステップと、前記変換画像データの前記第2のパレットテーブルにおける前記インデックス値の並び順と前記所定規則とに基づき前記埋め込みデータ列を取り出すステップとを備えることを特徴とする画像処理方法が提供される。 According to still another aspect of the present invention, in image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged in a predetermined rule, the image data is based on an embedded data string. By rearranging the index values, the first palette table is converted into a second palette table, and the index value of the first palette table associated with each pixel constituting the image data is changed to a second palette table. A step of inputting the converted image data converted into the index value of the palette table; and a step of extracting the embedded data string based on the order of the index values in the second palette table of the converted image data and the predetermined rule An image processing method is provided.
本発明のさらに他の観点によれば、色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力するステップと、埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換するステップと、前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換するステップと、前記第2のパレットテーブルを含む変換画像データを出力するステップとを含む画像処理方法をコンピュータに実行させるためのプログラムが提供される。 According to still another aspect of the present invention, a step of inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule, and an embedded data string Rearranging the index values based on the first palette table, converting the first palette table into a second palette table, and the index values of the first palette table associated with each pixel constituting the image data Is provided for causing a computer to execute an image processing method including the step of converting the image data into the index value of the second palette table and the step of outputting converted image data including the second palette table. .
本発明によれば、画質の劣化を生じさせることなく、画像に情報を埋め込むことが可能となる。 According to the present invention, it is possible to embed information in an image without causing deterioration in image quality.
以下、図面を参照して、本発明の実施形態を説明する。
(第1の実施形態)
図1は本実施形態における画像処理システムのブロック図である。画像処理システムは、画像データに情報を埋め込むことにより変換画像データを出力する画像処理装置1、変換画像データに埋め込まれた情報を取り出す画像処理装置2を含む。画像処理装置(第1の画像処理装置)1および画像処理装置(第2の画像処理装置)2は通信回線3を介して相互に接続され得る。通信回線3は典型的にはインターネットなどのWAN(Wide Area Network)であり得るが、LAN(Local Area Network)であっても良く、また、有線、無線を問わない。さらに、通信回線3の代わりに、メモリーカード、光ディスク、磁気ディスクなどの外部記憶媒体を用いて変換画像データを画像処理装置1から画像処理装置2に受け渡しても良い。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a block diagram of an image processing system according to this embodiment. The image processing system includes an
画像処理装置1は例えばコンテンツサーバであって、著作権情報、署名情報、メッセージなどのデータをいわゆる電子透かしとして画像データに埋め込み、変換画像データを出力する。画像処理装置2はユーザのコンピュータ端末、携帯端末、メディア再生装置などであって、変換画像データに埋め込まれた電子透かし情報を取り出し、電子透かし情報に従い画像の再生、複製、記録を制限し得る。
The
図2は画像処理装置1、2のハードウェアブロック図である。画像処理装置1、2はCPU(Central Processing Unit)11、バス12、RAM(Random Access Memory)13、ストレージ14、キーボード15、ディスプレイ16、インターフェース17を含む。CPU11は予め定められたアプリケーションプログラムに基づき、画像データに対して電子透かしの埋め込みまたは取り出しを行い、バス12に接続された各装置の動作を制御する。RAM13はCPU11の動作のためのワークエリアとして用いられ、アプリケーションプログラム、画像データを一時的に保持し得る。ストレージ14は不揮発性メモリ、ハードディスク装置などのように、アプリケーションプログラム、画像データを保持可能な記憶装置である。キーボード15はユーザによって入力された文字、数字をデジタルデータとしてバスに送出する。ディスプレイ16は、液晶表示装置、有機発光装置などから構成され、画像データを表示可能である。インターフェース17は、通信回線3に接続可能であって、画像データの入力手段または出力手段として機能する。
FIG. 2 is a hardware block diagram of the
図3、図4は本実施形態における画像処理装置の機能ブロック図であって、図3は画像処理装置1によるデータ埋め込み処理の概要を表し、図4は画像処理装置2によるデータ取り出しの処理の概要を表している。
3 and 4 are functional block diagrams of the image processing apparatus according to the present embodiment. FIG. 3 shows an outline of data embedding processing by the
図3において、画像処理装置1は並べ替え部(並べ替え手段)101、変換部(変換手段)102を備え、画像データに埋め込みデータ列dを埋め込んだ変換画像データを生成する。本実施形態において、画像データはいわゆるパレット画像のフォーマットに従い記述され、画素データPx、パレット情報Paを含み得る。パレット画像のフォーマットとしては、例えばGIF(Graphics Interchange Format)、PNG(Portable Network Graphics)などが挙げられるが、本発明はこれらのフォーマットに限定されない。パレット情報Paは光の三原色(R(Red)、G(Green)、B(Blue))の組み合わせである色情報を定義し、パレット情報Paには例えば0〜255の整数で表された256個のインデックス値が関連付けられている。複数のパレット情報Paおよびインデックス値はパレットテーブル(カラーテーブル)を構成する。この例においては、パレット画像における色の最大数は256色となる。複数の画素データPxのそれぞれはインデックス値によって、パレット情報Paで定義された色彩を表し得る。埋め込みデータ列dは、例えば著作権情報、署名情報、メッセージなどであり得るが、他の情報であっても良い。
In FIG. 3, the
並べ替え部101は、入力された埋め込みデータ列dに基づき第1のパレットテーブルにおいてパレット情報Paを並べ替え、パレット情報Pa’を有する第2のパレットテーブルを生成する。パレット情報Paからパレット情報Pa’への並べ替えは、パレット情報Paに関連付けられたインデックス値を並べ替えることによって行い得る。従って、以下の説明において、インデックス値の並べ替えをパレット情報の並べ替えと表記することもある。第2のパレットテーブルは第1のパレットテーブルと同一のパレット情報を含むが、パレット情報Pa’の並び順はパレット情報Paの並び順と異なっている。並べ替えられたパレット情報Pa’のインデックス値の並び順が埋め込みデータ列dに対応している。
The
変換部102は、パレット情報Paおよびパレット情報Pa’に基づき、画素データPxのインデックス値を変換し、画素データPx’を生成する。変換画像データは、パレット情報Pa’を有する第2のパレットテーブル、画素データPx’から構成される。並べ替えられた第2のパレットテーブルは埋め込みデータ列dの情報を含む。本実施形態において、変換画像データによって再現される画像は画像データによって再現される画像と同一であって、埋め込みデータ列dによる画質の劣化は生じない。
The
図4において、画像処理装置2は並べ替え部(取り出し手段)201を備え、並べ替え部201は第2のパレットテーブルにおいてパレット情報Pa’に関連付けられたインデックス値の並び順から埋め込みデータ列dを取り出す。画像処理装置2は取り出された埋め込みデータ列dの情報に従い、変換画像データの改ざんの有無、著作権情報などを判断することができる。
In FIG. 4, the
図5は、本実施形態におけるパレット情報の並べ替えパターンを説明するための図であって、n個の要素とLehmer code、階乗進数の対応を表している。一般に、一意なn個の要素を並べ替える組合せの種類はnの階乗(n!)通り存在する。この組合せのそれぞれの並べ替えパターンは、Lehmer codeおよびその階乗進数(Factorial Number)と一意に対応付けが可能である。例えば、n=4の場合の並べ替えパターンの種類は4!=24通りであり、図5のように表される。 FIG. 5 is a diagram for explaining a pallet information rearrangement pattern in the present embodiment, and shows the correspondence between n elements, Lehmer code, and factorial number. In general, there are n factorial (n!) Types of combinations for rearranging n unique elements. Each rearrangement pattern of this combination can be uniquely associated with the Lehmer code and its factorial number. For example, when n = 4, the sort pattern type is 4! = 24 ways, represented as shown in FIG.
ここで、Lehmer codeのb(1)、b(2)、・・・、b(n)は、順列a(1)、a(2)、・・・、a(n)が存在した時に、b(i)はi+1≦j≦nの範囲でa(i)>a(j)を満たすa(j)の数と定義される。また階乗進数は、順列b(1)、b(2)、・・・、b(n)が存在したときに、b(i)で表されるそれぞれの桁に階乗を掛け合わせた総和「b(1)×(n−1)!+b(2)×(n−2)!+・・・+b(n−1)×1!+b(n)×0!」と定義される。 Here, b (1), b (2),..., B (n) of Lehmer code, when permutations a (1), a (2),. b (i) is defined as the number of a (j) that satisfies a (i)> a (j) in the range of i + 1 ≦ j ≦ n. The factorial number is a sum obtained by multiplying each digit represented by b (i) by the factorial when permutations b (1), b (2),..., B (n) exist. “B (1) × (n−1)! + B (2) × (n−2)! +... + B (n−1) × 1! + B (n) × 0!”
図6に示されたように、n個の要素を有意のパターンに並べ替えることにより、log2(n!)ビットの情報を埋め込むことができる。ここで、log2(x)は2を底とする対数を表すものとする。例えば、n=13とした場合、13個の要素を有意な特定のパターンに並べ替えることによって、32ビットの情報の埋め込みが可能である。 As shown in FIG. 6, log 2 (n!) Bits of information can be embedded by rearranging n elements into a significant pattern. Here, log2 (x) represents a logarithm with 2 as the base. For example, when n = 13, 32-bit information can be embedded by rearranging 13 elements into a significant specific pattern.
画像データのパレットテーブルにおいて、インデックス値は任意の画素の色情報(RGB)であるパレット情報に関連付けられている。従って、画素データとパレットテーブルにおけるパレット情報Paとの対応が保たれている限り、パレットテーブルにおけるパレット情報の並び順は任意に定め得る。 In the palette table of image data, the index value is associated with palette information that is color information (RGB) of an arbitrary pixel. Therefore, as long as the correspondence between the pixel data and the palette information Pa in the palette table is maintained, the arrangement order of the palette information in the palette table can be arbitrarily determined.
パレットテーブルを複数のグループに分割し、グループ毎にパレット情報Paを並べ替えることにより特定の情報を埋め込むことができる。例えば、1グループにn個のパレット情報Paが含まれる場合、1グループに埋め込み可能な情報量はM=[log2(n!)]ビットとなる。ここで、[x]はガウス記号を表し、xを超えない最大の整数を表している。パレットテーブルにおけるパレット情報Paの総数が「256」である場合、グループの個数はG=[256÷n]となり、パレットテーブル全体に埋め込み可能な情報量はG×M=[log2(n!)]×[256÷n]ビットとなる。 Specific information can be embedded by dividing the palette table into a plurality of groups and rearranging the palette information Pa for each group. For example, if n pallet information Pa is included in one group, the amount of information that can be embedded in one group is M = [log2 (n!)] Bits. Here, [x] represents a Gaussian symbol and represents the maximum integer not exceeding x. When the total number of palette information Pa in the palette table is “256”, the number of groups is G = [256 ÷ n], and the amount of information that can be embedded in the entire palette table is G × M = [log2 (n!)]. × [256 ÷ n] bits.
続いて、図7〜図12を参照しながら本実施形態における画像処理システムの動作を詳述する。以下の説明においては、1グループのパレット情報Paの個数を「13」、パレットテーブル全体のパレット情報Paの個数を「256」とするが、本発明は必ずしもこれらの個数に限定されるものではない。1グループのパレット情報Paの個数が「13」の場合、1グループのパレット情報Paに埋め込み可能な情報量Mは[log2(13!)]=32ビットである(図6参照)。また、埋め込みに利用できるグループの個数は[256÷13]=19である。従って、埋め込み可能な情報量は19×32ビット=608ビット=76バイトとなる。 Next, the operation of the image processing system in the present embodiment will be described in detail with reference to FIGS. In the following description, the number of pallet information Pa of one group is “13”, and the number of pallet information Pa of the entire pallet table is “256”, but the present invention is not necessarily limited to these numbers. . When the number of pallet information Pa of one group is “13”, the information amount M that can be embedded in the pallet information Pa of one group is [log2 (13!)] = 32 bits (see FIG. 6). The number of groups that can be used for embedding is [256 ÷ 13] = 19. Therefore, the amount of information that can be embedded is 19 × 32 bits = 608 bits = 76 bytes.
図7は本実施形態におけるデータ埋め込み処理を表すフローチャートであり、図8はデータ埋め込み処理におけるパレット情報Paの並べ替え手順を説明するための図である。ここで、画像データはインデックス値Pa(0)〜Pa(255)で示される256個のパレット情報Pa、2次元マトリクスの複数の画素データPxを有し、埋め込まれる情報は76個の埋め込みデータ列d(0)、d(1)、・・・、d(75)を有する。以下、インデックス値Pa(0)〜Pa(255)に対応するパレット情報Paを併せてパレット情報Pa(0)〜Pa(255)と表記する。画像処理装置1は、256個のパレット情報Pa(0)〜Pa(255)を、それぞれ13個のパレット情報Paからなる複数のグループに分割し、各グループ内においてパレット情報Paの並べ替えを行う。
FIG. 7 is a flowchart showing the data embedding process in this embodiment, and FIG. 8 is a diagram for explaining the rearrangement procedure of the palette information Pa in the data embedding process. Here, the image data has 256 pieces of palette information Pa indicated by index values Pa (0) to Pa (255), and a plurality of pixel data Px of a two-dimensional matrix, and information to be embedded is 76 embedded data strings. d (0), d (1),..., d (75). Hereinafter, the palette information Pa corresponding to the index values Pa (0) to Pa (255) will be collectively referred to as palette information Pa (0) to Pa (255). The
先ず、画像処理装置1のCPU11はストレージ14に保存された元画像データを読み出し、並べ替えが行われていないパレット情報がパレットテーブルにおいて13個以上あるか否かを判断する(ステップS11)。並べ替えが行われていないパレット情報Paが13個未満である場合には(ステップS11でNO)、画像処理装置1は並べ替え処理を終了する。
First, the
並べ替えが行われていないパレット情報が13個以上ある場合(ステップS11でYES)、画像処理装置1は第1のパレットテーブルの先頭から13個のインデックス値Pa(0)〜Pa(12)を1つのグループとして取り出す(ステップS12)。図8に示されたように、インデックス値Pa(0)に関連付けられたパレット情報Pa(0)はRGB(0,0,0)の値を示し、インデックス値Pa(1)に関連付けられたパレット情報Pa(1)はRGB(0,0,64)の値を示している。また、インデックス値Pa(12)に関連付けられたパレット情報Pa(12)はRGB(128,0,128)を示している。
When there are 13 or more pallet information items that have not been rearranged (YES in step S11), the
次に、画像処理装置1は、取り出したインデックス値Pa(0)〜Pa(12)を所定規則に従って並べ替える(ステップS13)。画像処理装置1と画像処理装置2との間で所定規則が予め共有される。所定規則は任意に定めることができ、例えばパレット情報Paの色成分の昇順または降順にインデックス値Paを並べ替えても良く、また、パレット情報Paの色成分の昇順の1番目、降順の1番目、昇順の2番目、降順の2番目、昇順の3番目、降順の3番目のようにインデックス値を並べ替えても良い。ここでは、図8に示されたように、インデックス値PaをR、G、Bの色成分の昇順に並べ替える例を説明する。ステップS12において取り出されたインデックス値Pa(0)〜Pa(12)のパレット情報Pa(0)〜Pa(12)は、(0,0,0)、(0,0,64)、(0,64,0)、(0,64,64)、(64,0,0)、(64,0,64)、(64,64,0)、(64,64,64)、(0,0,128)、(0,128,0)、(0,128,128)、(128,0,0)、(128,0,128)の色情報に対応する。ステップS13において、インデックス値Pa(0)〜Pa(12)のパレット情報Pa(0)〜Pa(12)は、ステップS13においてRの昇順、Gの昇順、Bの昇順に並べ替えられ、(0,0,0)、(0,0,64)、(0,0,128)、(0,64,0)、(0,64,64)、(0,128,0)、(0,128,128)、(64,0,0)、(64,0,64)、(64,64,0)、(64,64,64)、(128,0,0)、(128,0,128)に対応する。
Next, the
画像処理装置1は埋め込みデータ列dから先頭の4バイトの埋め込みデータ列d(0)、d(1)、d(2)、d(3)を取り出す(ステップS14)。ここでは、取り出された埋め込みデータ列dが32ビットで表された「1000_0000_0000_0000_0000_0000_0000_0000」であるとする。CPU11は32ビットの埋め込みデータ列dを階乗進数とみなし、対応するLehmer codeを算出し、さらにLehmer codeに対応する並べ替えパターンを取得する(ステップS15)。上述の埋め込みデータ列は十進数の「2,147,483,648」で表され、この値は図11に示されるように階乗進数の「4×12!+5×11!+8×10!+7×9!+8×8!+0×7!+0×6!+1×5!+0×4!+1×3!+1×2!+0×1!+0×0!」で表される。階乗進数における係数から、Lehmer code「4、5、8、7、8、0、0、1、0、1、1、0、0」が得られる。また、Lehmer codeに対応する並べ替えパターン「4、6、10、9、12、0、1、3、2、7、8、5、11」が得られる。このようにして、13個の数列「0、1、2、3、4、5、6、7、8、9、10、11、12」が埋め込みデータ列dに基づき並べ替えパターンの数列「4、6、10、9、12、0、1、3、2、7、8、5、11」に変換される。
The
画像処理装置1はステップS15で得られた並べ替えパターンに従い、第1のパレットテーブルにおいてインデックス値Pa(0)〜Pa(12)の並べ替えを行う(ステップS16)。例えば、並べ替えパターンにおいて「0」は元の数列の「5」の位置にあることから、インデックス値Pa(0)はインデックス値Pa’(5)に変換される。また、並べ替えパターンにおいて「1」は元の数列の「6」の位置にあることから、インデックス値Pa(1)はインデックス値Pa’(6)に変換される。同様に、インデックス値Pa(2)、Pa(3)、Pa(4)、Pa(5)、Pa(6)、Pa(7)、Pa(8)、Pa(9)、Pa(10)、Pa(11)、Pa(12)は、インデックス値Pa’(8)、Pa’(7)、Pa’(0)、Pa’(11)、Pa’(1)、Pa’(9)、Pa’(10)、Pa’(3)、Pa’(2)、Pa’(12)、Pa’(4)にそれぞれ変換される。このようにして、インデックス値Pa(0)〜Pa(12)は埋め込みデータ列d(0)〜(3)に基づき並べ替えられる。
The
画像処理装置1は、並べ替えられたインデックス値Pa’(0)〜Pa’(12)に従い画素データPxのインデックス値を変換する(ステップS17)。すなわち、画素データPxのインデックス値Pa(0)〜Pa(12)がインデックス値Pa’(0)〜Pa’(12)に置き換えられる。以上のステップS11〜S17により、第1のグループのインデックス値Pa(0)〜Pa(12)の並べ替え処理が終了する。
The
続いて、画像処理装置1はステップS11に戻り、第2のグループのインデックス値Pa(13)〜Pa(25)の並べ替え処理を実行する(ステップS12〜S17)。第2のグループのインデックス値Pa(13)〜Pa(25)は埋め込みデータ列d(4)〜d(7)に基づきインデックス値Pa’(13)〜Pa’(25)に並べ替えられ、画素データPxのインデックス値Pa(13)〜Pa(25)がインデックス値Pa’(13)〜Pa’(25)に変換される。
Subsequently, the
画像処理装置1は、並べ替えが行われていないインデックス値Paが13個未満になるまで(ステップS11でNO)、ステップS12〜S17の処理を繰り返す。以上の処理により、図12に示されたように、第1のグループのインデックス値Pa(0)〜Pa(12)から第19のグループのインデックス値Pa(234)〜Pa(246)の並べ替えが行われる。各グループのインデックス値Paは埋め込みデータの4バイト毎の埋め込みデータ列dに基づきインデックス値Pa’に並べ替えられる。なお、最後のグループのインデックス値Pa(247)〜Pa(255)は13個未満であるため、並べ替えは行われない。このようにして、第1のパレットテーブルが第2のパレットテーブルに並べ替えられる。
The
図9はデータ取り出し処理を表すフローチャートであり、図10はデータ取り出し処理におけるパレット情報の並べ替え手順を説明するための図である。画像処理装置2は図9、図10に示された処理を実行することにより、図7、図8の処理によって変換画像データに埋め込まれた埋め込みデータ列d(0)〜d(75)を取り出すことが可能となる。画像処理装置2は、変換画像データを画像処理装置1から受信する。また、画像処理装置2は、インデックス値Paの並び順の所定規則を画像処理装置1と共有しているものとする。
FIG. 9 is a flowchart showing the data extraction process, and FIG. 10 is a diagram for explaining a pallet information rearrangement procedure in the data extraction process. The
先ず、画像処理装置2は、第2のパレットテーブルにおいて並べ替えが行われていないインデックス値Pa’が13個以上あるか否かを判断する(ステップS21)。並べ替えが行われていないインデックス値が13個未満である場合には(ステップS21でNO)、画像処理装置2は並べ替え処理を終了する。
First, the
並べ替えが行われていないパレット情報が13個以上ある場合(ステップS21でYES)、画像処理装置2は第2のパレットテーブルからインデックス値Pa’(0)〜Pa’(255)の先頭から13個のインデックス値Pa’(0)〜Pa’(12)を第1のグループとして取り出す(ステップS22)。図10に示されたように、インデックス値Pa’(0)に関連付けられたパレット情報Pa’(0)はRGB(0,64,64)の値を示し、インデックス値Pa’(1)に関連付けられたパレット情報Pa’(1)はRGB(0,128,128)の値を示している。また、インデックス値Pa’(12)に関連付けられたパレット情報Pa’(12)はRGB(128,0,0)の値を示している。
When there are 13 or more pallet information items that have not been rearranged (YES in step S21), the
次に、画像処理装置2は取り出したインデックス値Pa’(0)〜Pa’(12)を所定規則に従って並べ替える(ステップS23)。上述したように、所定規則は画像処理装置1において用いられたものと同じである。すなわち、ステップS13で用いた所定規則と同様に、インデックス値Pa’をR、G、Bの色成分の昇順に並べ替えられる。従って、インデックス値Pa’(0)〜Pa’(12)は、図10に示されたように、Pa’(5)、Pa’(6)、Pa’(8)、Pa’(7)、Pa’(0)、Pa’(11)、Pa’(1)、Pa’(9)、Pa’(10)、Pa’(3)、Pa’(2)、Pa’(12)、Pa’(4)の順に並べ替えられる。
Next, the
画像処理装置2はステップS22におけるインデックス値Pa’の並び順とステップS23において並べ替えられたインデックス値Pa’の並び順とを比較し、並べ替えパターンを取得する(ステップS24)。並べ替えパターンは、並べ替えられたインデックス値Pa’(0)〜Pa’(12)の並び順(ソート順)に対応する。例えば、インデックス値Pa’(0)は0から数えて4番目に並べ替えられることから、「4」が得られる。また、インデックス値Pa’(1)は6番目に並べ替えられることから、「6」が得られる。このようにして、インデックス値Pa’(0)〜Pa’(12)の並べ替えパターン「4、6、10、9、12、0、1、3、2、7、8、5、11」が得られる。
The
続いて、画像処理装置2はステップS24において取得された並べ替えパターンからLehmer codeを求め、さらにLehmer codeから階乗進数を算出する(ステップS25)。図11に示されるように、上述の並べ替えパターンに対応するLehmer code「4、5、8、7、8、0、0、1、0、1、1、0、0」が得られ、このLehmer codeの階乗進数「2,147,483,648」が得られる。さらに、「2,147,483,648」をビット列に表すことで、32ビットのデータ列「1000_0000_0000_0000_0000_0000_0000_0000」が求められる。従って、第1のグループのインデックス値Pa’(0)〜Pa’(12)から、埋め込みデータ列d(0)、d(1)、d(2)、d(3)が取り出される(ステップS26)。
Subsequently, the
続いて、画像処理装置2はステップS21に戻り、第2のグループのインデックス値Pa’(13)〜Pa’(25)から埋め込みデータ列d(4)〜d(7)を取り出す(ステップS22〜S26)。すなわち、インデックス値Pa’(13)〜Pa’(25)に対応する並べ替えパターンLehmer code、階乗進数を算出することで、埋め込みデータ列d(4)〜d(7)が取り出される。さらに、画像処理装置2は、第2のパレットテーブルにおけるインデックス値Pa’が13個未満になるまで(ステップS21でNO)、ステップS22〜S26の処理を繰り返し、図12に示されたように、埋め込みデータ列d(0)〜d(75)を取り出すことができる。
Subsequently, the
本実施形態によれば、埋め込みデータ列に基づきパレットテーブルにおけるインデックス値を並べ替えることにより、画質を一切劣化させることなく情報の埋め込みを行うことが可能となる。また、本実施形態によれば、ファイルフォーマットに依存する追加情報領域を必要としないため、パレットテーブルのみで情報の埋め込みが行われる。このため、画像データのファイルフォーマットに依存せずに、情報を埋め込むことが可能となる。
なお、第1の画像処理装置が第2の画像処理装置の機能をも備え、第2の画像処理装置が第1の画像処理装置の機能をも備えるようにしてもよい。
According to the present embodiment, it is possible to embed information without any deterioration in image quality by rearranging the index values in the palette table based on the embedded data string. Further, according to the present embodiment, since an additional information area depending on the file format is not required, information is embedded only with the palette table. Therefore, information can be embedded without depending on the file format of the image data.
The first image processing apparatus may also have the function of the second image processing apparatus, and the second image processing apparatus may also have the function of the first image processing apparatus.
(第2の実施形態)
図13は本実施形態における画像処理システムのブロック図である。本実施形態における画像処理システムは第1の画像処理装置1、第2の画像処理装置2を含む。第1の画像処理装置1は入力手段1a、並べ替え手段1b、変換手段1c、出力手段1dを備え、第2の画像処理装置2は入力手段2a、取り出し手段2bを備える。第1の画像処理装置1において、入力手段1aは、色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力する。並べ替え手段1bは、埋め込みデータに基づいてインデックス値を並べ替え、第1のパレットテーブルを第2のパレットテーブルに変換する。変換手段1cは、画像データを構成する各画素に関連付けられた第1のパレットテーブルのインデックス値を第2のパレットテーブルのインデックス値に変換する。出力手段1dは、第2のパレットテーブルを含む変換画像データを出力する。第2の画像処理装置2において、入力手段2aは、前記変換画像データを入力する。取り出し手段2bは、前記変換画像データの第2のパレットテーブルにおけるインデックス値の並び順と所定規則とに基づき埋め込みデータを取り出す。
(Second Embodiment)
FIG. 13 is a block diagram of the image processing system in the present embodiment. The image processing system in the present embodiment includes a first
本実施形態によれば、画質を一切劣化させることなく情報の埋め込みを行うことが可能となる。また、画像データのファイルフォーマットに依存せずに、パレット情報のみで情報の埋め込みを実現することができる。
なお、第1の画像処理装置が第2の画像処理装置の機能をも備え、第2の画像処理装置が第1の画像処理装置の機能をも備えるようにしてもよい。
According to the present embodiment, it is possible to embed information without any deterioration in image quality. Further, it is possible to embed information only by palette information without depending on the file format of image data.
The first image processing apparatus may also have the function of the second image processing apparatus, and the second image processing apparatus may also have the function of the first image processing apparatus.
上述の実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下には限られない。 A part or all of the above-described embodiment can be described as in the following supplementary notes, but is not limited thereto.
(付記1)
第1の画像処理装置および第2の画像処理装置を含む画像処理システムであって、
前記第1の画像処理装置は、
色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力する入力手段と、
埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換する並べ替え手段と、
前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換する変換手段と、
前記第2のパレットテーブルを含む変換画像データを出力する出力手段とを備え、
前記第2の画像処理装置は、
前記変換画像データを入力する手段と、
前記変換画像データの前記第2のパレットテーブルにおける前記インデックス値の並び順と前記所定規則とに基づき前記埋め込みデータ列を取り出す取り出し手段とを備えることを特徴とする画像処理システム。
(Appendix 1)
An image processing system including a first image processing device and a second image processing device,
The first image processing apparatus includes:
Input means for inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule;
Reordering means for reordering the index values based on an embedded data string and converting the first pallet table to a second pallet table;
Converting means for converting the index value of the first palette table associated with each pixel constituting the image data into the index value of the second palette table;
Output means for outputting converted image data including the second palette table,
The second image processing apparatus includes:
Means for inputting the converted image data;
An image processing system comprising: extraction means for extracting the embedded data string based on the order of the index values in the second palette table of the converted image data and the predetermined rule.
(付記2)
前記並べ替え手段は、前記インデックス値を複数のグループに分割し、前記グループ毎に前記インデックス値を並べ替えることを特徴とする付記1に記載の画像処理システム。
(Appendix 2)
The image processing system according to
(付記3)
前記並べ替え手段は、n個の前記インデックス値を並べ替えることにより、Mビット(Mはlog2(n!)を超えない最大整数)の前記埋め込みデータ列を埋め込み可能であることを特徴とする付記2に記載の画像処理システム。
(Appendix 3)
The reordering unit can embed the embedded data string of M bits (M is a maximum integer not exceeding log2 (n!)) By reordering the n index values. The image processing system according to 2.
(付記4)
複数の前記グループは、それぞれがn個の前記インデックス値を有するG個のグループを含み、前記並べ替え手段は、前記グループ毎に前記インデックス値を並べ替えることにより、G×Mビットの前記埋め込みデータ列を埋め込み可能であることを特徴とする付記3に記載の画像処理システム。
(Appendix 4)
The plurality of groups include G groups each having n index values, and the rearranging unit rearranges the index values for each group, whereby the embedded data of G × M bits is obtained. The image processing system according to
(付記5)
前記並べ替え手段は、Mビットの前記埋め込みデータ列を階乗進数として算出したLehmer codeに基づき、n個の前記インデックス値を並べ替えることを特徴とする付記3または4に記載の画像処理システム。
(Appendix 5)
The image processing system according to
(付記6)
色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力する入力手段と、
埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換する並べ替え手段と、
前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換する変換手段と、
前記第2のパレットテーブルを含む変換画像データを出力する出力手段とを備えることを特徴とする画像処理装置。
(Appendix 6)
Input means for inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule;
Reordering means for reordering the index values based on an embedded data string and converting the first pallet table to a second pallet table;
Converting means for converting the index value of the first palette table associated with each pixel constituting the image data into the index value of the second palette table;
An image processing apparatus comprising: output means for outputting converted image data including the second palette table.
(付記7)
色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データにおいて、埋め込みデータ列に基づいて前記インデックス値を並べ替えることにより、前記第1のパレットテーブルを第2のパレットテーブルに変換し、前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を第2のパレットテーブルの前記インデックス値に変換した変換画像データを入力する入力手段と、
前記変換画像データの前記第2のパレットテーブルにおける前記インデックス値の並び順と前記所定規則とに基づき前記埋め込みデータ列を取り出す取り出し手段とを備えることを特徴とする画像処理装置。
(Appendix 7)
In the image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule, the index values are rearranged based on an embedded data string, thereby The pallet table is converted into a second pallet table, and the converted image obtained by converting the index value of the first pallet table associated with each pixel constituting the image data into the index value of the second pallet table An input means for inputting data;
An image processing apparatus comprising: extraction means for extracting the embedded data string based on the order of the index values of the converted image data in the second palette table and the predetermined rule.
(付記8)
色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力するステップと、
埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換するステップと、
前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換するステップと、
前記第2のパレットテーブルを含む変換画像データを出力するステップとを備えることを特徴とする画像処理方法。
(Appendix 8)
Inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule;
Rearranging the index values based on an embedded data string and converting the first palette table to a second palette table;
Converting the index value of the first palette table associated with each pixel constituting the image data into the index value of the second palette table;
And a step of outputting converted image data including the second pallet table.
(付記9)
色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データにおいて、埋め込みデータ列に基づいて前記インデックス値を並べ替えることにより、前記第1のパレットテーブルを第2のパレットテーブルに変換し、前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を第2のパレットテーブルの前記インデックス値に変換した変換画像データを入力するステップと、
前記変換画像データの前記第2のパレットテーブルにおける前記インデックス値の並び順と前記所定規則とに基づき前記埋め込みデータ列を取り出すステップとを備えることを特徴とする画像処理方法。
(Appendix 9)
In the image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule, the index values are rearranged based on an embedded data string, thereby The pallet table is converted into a second pallet table, and the converted image obtained by converting the index value of the first pallet table associated with each pixel constituting the image data into the index value of the second pallet table Entering data, and
An image processing method comprising: extracting the embedded data string based on the order of the index values in the second palette table of the converted image data and the predetermined rule.
(付記10)
色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力するステップと、
埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換するステップと、
前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換するステップと、
前記第2のパレットテーブルを含む変換画像データを出力するステップとを含む画像処理方法をコンピュータに実行させるためのプログラム。
(Appendix 10)
Inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule;
Rearranging the index values based on an embedded data string and converting the first palette table to a second palette table;
Converting the index value of the first palette table associated with each pixel constituting the image data into the index value of the second palette table;
A program for causing a computer to execute an image processing method including a step of outputting converted image data including the second palette table.
1 画像処理装置
2 画像処理装置
3 通信回線
11 CPU
12 バス
13 RAM
14 ストレージ
15 キーボード
16 ディスプレイ
17 インターフェース
101 並べ替え部
102 変換部
201 並べ替え部
DESCRIPTION OF
12
14
Claims (10)
前記第1の画像処理装置は、
色情報を定義するパレット情報に関連付けられた複数のインデックス値が所定規則で並んだ第1のパレットテーブルを含む画像データを入力する入力手段と、
埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換する並べ替え手段と、
前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換する変換手段と、
前記第2のパレットテーブルを含む変換画像データを出力する出力手段とを備え、
前記第2の画像処理装置は、
前記変換画像データを入力する手段と、
前記変換画像データの前記第2のパレットテーブルにおける前記インデックス値の並び順と前記所定規則とに基づき前記埋め込みデータ列を取り出す取り出し手段とを備えることを特徴とする画像処理システム。 An image processing system including a first image processing device and a second image processing device,
The first image processing apparatus includes:
Input means for inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule;
Reordering means for reordering the index values based on an embedded data string and converting the first pallet table to a second pallet table;
Converting means for converting the index value of the first palette table associated with each pixel constituting the image data into the index value of the second palette table;
Output means for outputting converted image data including the second palette table,
The second image processing apparatus includes:
Means for inputting the converted image data;
An image processing system comprising: extraction means for extracting the embedded data string based on the order of the index values in the second palette table of the converted image data and the predetermined rule.
埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換する並べ替え手段と、
前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換する変換手段と、
前記第2のパレットテーブルを含む変換画像データを出力する出力手段とを備えることを特徴とする画像処理装置。 Input means for inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule;
Reordering means for reordering the index values based on an embedded data string and converting the first pallet table to a second pallet table;
Converting means for converting the index value of the first palette table associated with each pixel constituting the image data into the index value of the second palette table;
An image processing apparatus comprising: output means for outputting converted image data including the second palette table.
前記変換画像データの前記第2のパレットテーブルにおける前記インデックス値の並び順と前記所定規則とに基づき前記埋め込みデータ列を取り出す取り出し手段とを備えることを特徴とする画像処理装置。 In the image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule, the index values are rearranged based on an embedded data string, thereby The pallet table is converted into a second pallet table, and the converted image obtained by converting the index value of the first pallet table associated with each pixel constituting the image data into the index value of the second pallet table An input means for inputting data;
An image processing apparatus comprising: extraction means for extracting the embedded data string based on the order of the index values of the converted image data in the second palette table and the predetermined rule.
埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換するステップと、
前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換するステップと、
前記第2のパレットテーブルを含む変換画像データを出力するステップとを備えることを特徴とする画像処理方法。 Inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule;
Rearranging the index values based on an embedded data string and converting the first palette table to a second palette table;
Converting the index value of the first palette table associated with each pixel constituting the image data into the index value of the second palette table;
And a step of outputting converted image data including the second pallet table.
前記変換画像データの前記第2のパレットテーブルにおける前記インデックス値の並び順と前記所定規則とに基づき前記埋め込みデータ列を取り出すステップとを備えることを特徴とする画像処理方法。 In the image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule, the index values are rearranged based on an embedded data string, thereby The pallet table is converted into a second pallet table, and the converted image obtained by converting the index value of the first pallet table associated with each pixel constituting the image data into the index value of the second pallet table Entering data, and
An image processing method comprising: extracting the embedded data string based on the order of the index values in the second palette table of the converted image data and the predetermined rule.
埋め込みデータ列に基づいて前記インデックス値を並べ替え、前記第1のパレットテーブルを第2のパレットテーブルに変換するステップと、
前記画像データを構成する各画素に関連付けられた前記第1のパレットテーブルの前記インデックス値を前記第2のパレットテーブルの前記インデックス値に変換するステップと、
前記第2のパレットテーブルを含む変換画像データを出力するステップとを含む画像処理方法をコンピュータに実行させるためのプログラム。 Inputting image data including a first palette table in which a plurality of index values associated with palette information defining color information are arranged according to a predetermined rule;
Rearranging the index values based on an embedded data string and converting the first palette table to a second palette table;
Converting the index value of the first palette table associated with each pixel constituting the image data into the index value of the second palette table;
A program for causing a computer to execute an image processing method including a step of outputting converted image data including the second palette table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017136840A JP6362191B1 (en) | 2017-07-13 | 2017-07-13 | Image processing system, image processing apparatus, image processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017136840A JP6362191B1 (en) | 2017-07-13 | 2017-07-13 | Image processing system, image processing apparatus, image processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6362191B1 true JP6362191B1 (en) | 2018-07-25 |
JP2019022006A JP2019022006A (en) | 2019-02-07 |
Family
ID=62976523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017136840A Active JP6362191B1 (en) | 2017-07-13 | 2017-07-13 | Image processing system, image processing apparatus, image processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6362191B1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004088565A (en) * | 2002-08-28 | 2004-03-18 | Oki Electric Ind Co Ltd | Method for embedding electronic watermark, inspecting method, embedding device, inspecting device and electronic image |
JP2009188466A (en) * | 2008-02-01 | 2009-08-20 | Sbi Net Systems Co Ltd | Digital watermark embedding method, digital watermark detecting method, digital watermark embedding device, digital watermark detecting device, program and computer-readble recording medium |
US9158847B1 (en) * | 2011-07-19 | 2015-10-13 | Kyndi Inc. | Cognitive memory encoding networks for fast semantic indexing storage and retrieval |
-
2017
- 2017-07-13 JP JP2017136840A patent/JP6362191B1/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004088565A (en) * | 2002-08-28 | 2004-03-18 | Oki Electric Ind Co Ltd | Method for embedding electronic watermark, inspecting method, embedding device, inspecting device and electronic image |
JP2009188466A (en) * | 2008-02-01 | 2009-08-20 | Sbi Net Systems Co Ltd | Digital watermark embedding method, digital watermark detecting method, digital watermark embedding device, digital watermark detecting device, program and computer-readble recording medium |
US9158847B1 (en) * | 2011-07-19 | 2015-10-13 | Kyndi Inc. | Cognitive memory encoding networks for fast semantic indexing storage and retrieval |
Also Published As
Publication number | Publication date |
---|---|
JP2019022006A (en) | 2019-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230360165A1 (en) | Method and apparatus for protecting digital photos from alteration | |
JP5558767B2 (en) | Image processing apparatus and processing method thereof | |
US11727524B2 (en) | System and method for encoding and authenticating a digital image | |
KR20040007552A (en) | Method Of Invisibly Embedding and Hiding Data Into Soft-Copy Text Documents | |
CN104392197B (en) | Method for increasing reading rate and encryption of website two-dimensional code tags | |
JP2009139722A (en) | Encryption method and encryption device using color | |
Juneja et al. | Application of LSB based steganographic technique for 8-bit color images | |
US8750605B2 (en) | Searchable color encoded file composing method and searchable color encoded file system | |
JP6362191B1 (en) | Image processing system, image processing apparatus, image processing method, and program | |
CN104573781B (en) | A kind of Quick Response Code encoding and decoding method | |
Nithyanandam et al. | An image steganography for colour images using lossless compression technique | |
Elgabar et al. | Comparison of LSB Steganography in GIF and BMP Images | |
JP2005318201A (en) | Apparatus and method for image processing | |
Choche et al. | A methodology to conceal QR codes for security applications | |
EP3158721B1 (en) | System and method for encoding and authenticating a digital image | |
CN116109465A (en) | Text document processing method and device, storage medium and electronic equipment | |
JP4183643B2 (en) | Information embedding device and information embedding program | |
JP2018195032A (en) | Code reader, code generation device, printed matter, cord reading method, code generation method, code reading program, and code generation program | |
JP3768959B2 (en) | How to make file format compatible | |
Eltyeb et al. | Comparison of LSB Steganography in BMP and JPEG Images | |
JP6160968B2 (en) | Robust index code | |
Boughaci et al. | A Variable Neighborhood Search-Based Method with Learning for Image Steganography | |
JP5891867B2 (en) | Information processing method, apparatus and program | |
Bandhyopadhyay et al. | An indirect addressing image steganographic scheme using 9× 9 sudoku matrix | |
JP4971880B2 (en) | Image encoding apparatus, image decoding apparatus, and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20180531 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180621 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6362191 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |