JP2007166227A - Apparatus, method and program for image processing - Google Patents
Apparatus, method and program for image processing Download PDFInfo
- Publication number
- JP2007166227A JP2007166227A JP2005359653A JP2005359653A JP2007166227A JP 2007166227 A JP2007166227 A JP 2007166227A JP 2005359653 A JP2005359653 A JP 2005359653A JP 2005359653 A JP2005359653 A JP 2005359653A JP 2007166227 A JP2007166227 A JP 2007166227A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- control information
- unit
- original image
- 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.)
- Pending
Links
- 238000012545 processing Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title description 10
- 230000006835 compression Effects 0.000 claims abstract description 21
- 238000007906 compression Methods 0.000 claims abstract description 21
- 238000000926 separation method Methods 0.000 claims abstract description 13
- 230000006837 decompression Effects 0.000 claims description 10
- 238000003672 processing method Methods 0.000 claims description 6
- 239000002131 composite material Substances 0.000 claims description 4
- 238000001514 detection method Methods 0.000 description 26
- 238000009825 accumulation Methods 0.000 description 11
- 238000004364 calculation method Methods 0.000 description 6
- 238000012217 deletion Methods 0.000 description 6
- 230000037430 deletion Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 239000013256 coordination polymer Substances 0.000 description 4
- 238000012937 correction Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000002194 synthesizing effect Effects 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
Description
本発明は、原稿画像の無断コピーを防止する技術に関する。 The present invention relates to a technique for preventing unauthorized copying of a document image.
近年、パーソナルコンピュータやプリンタ、複写機など、複写機能を持つ画像処理装置の普及により、書類を複製することが極めて簡単になっている。このような状況においては、著作権が付与された原稿、あるいは“コピー禁止”、“複製厳禁”、“マル秘”などといった無断複製の禁止が要求される原稿(以下まとめて“機密原稿”ともいう)に対しても容易にコピーが行われてしまうという欠点がある。換言すれば、文字列、図形、表、グラフなどを含む原稿画像であって、重要情報が漏洩することを防止する必要がある、いわゆる“機密原稿”の印刷出力(プリントアウト)の不正複製による重要情報(機密内容)の漏洩ということが問題となってきている。したがって、複写機能を持つ画像処理装置には、機密原稿の悪用複製を防止する機能を持たせることが必要である。 In recent years, copying of documents has become extremely simple due to the widespread use of image processing apparatuses having a copying function, such as personal computers, printers, and copying machines. In such a situation, a manuscript to which copyright has been granted, or a manuscript that prohibits unauthorized duplication such as “copy prohibited”, “restrict copying”, “confidential”, etc. (hereinafter collectively referred to as “confidential manuscript”) There is a drawback that copying is easily performed. In other words, it is a manuscript image containing character strings, figures, tables, graphs, etc., and it is necessary to prevent leakage of important information. The leakage of important information (confidential content) has become a problem. Therefore, it is necessary for an image processing apparatus having a copying function to have a function of preventing the abused copying of confidential documents.
例えば、特許文献1では、複写禁止情報(コピー禁止とするか否か)、複写許可条件情報(条件が合致する場合にはコピーを許可するための情報)、潜像情報(コピーすると浮き上がる潜像に関する情報)等の付加情報を画像データの背景地紋パターンとして記録しておいて、コピー可能なユーザを制限する技術を開示している。 For example, in Patent Document 1, copying prohibition information (whether copying is prohibited), copying permission condition information (information for permitting copying when the conditions are met), latent image information (a latent image that floats when copied) In this technology, additional information such as information) is recorded as a background copy-forgery-inhibited pattern pattern of image data, and a user who can copy is restricted.
しかしながら、背景地紋パターンとして記録される制御情報は、認識率を上げるために用紙の全面に埋め込まれているのが一般的である。このため、制御情報が埋め込まれた原稿を圧縮する時に、通常の原稿と比較して圧縮率が上がらず、より多くのメモリが必要となる。 However, control information recorded as a background tint pattern is generally embedded on the entire surface of the paper in order to increase the recognition rate. For this reason, when compressing a document in which control information is embedded, the compression rate does not increase as compared with a normal document, and more memory is required.
本発明は上記事情に鑑みてなされたものであり、制御情報が埋め込まれた原稿画像の圧縮率を高めることができる画像処理装置、画像処理方法及び画像処理プログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to provide an image processing apparatus, an image processing method, and an image processing program capable of increasing the compression rate of a document image in which control information is embedded.
かかる目的を達成するために本発明の画像処理装置は、原画像と、当該原画像の複製を制御する制御情報とが合成された合成画像から前記制御情報を分離して取り出す分離手段と、前記制御情報を取り出した原画像のデータを圧縮する圧縮手段と、前記圧縮された原画像データを格納する格納手段とを有する構成としている。
このように本発明は、原画像と制御情報とが合成された合成画像から制御情報を分離して、原画像のデータだけを圧縮するので、原画像のデータの圧縮率を上げることができる。従って、画像データを格納するための記憶手段に容量の大きなものを用いる必要がなくなる。
In order to achieve such an object, the image processing apparatus of the present invention includes a separating unit that separates and extracts the control information from a composite image obtained by combining the original image and the control information for controlling reproduction of the original image, The apparatus includes a compression unit that compresses original image data from which the control information has been extracted, and a storage unit that stores the compressed original image data.
As described above, according to the present invention, the control information is separated from the synthesized image obtained by synthesizing the original image and the control information, and only the original image data is compressed. Therefore, the compression rate of the original image data can be increased. Therefore, it is not necessary to use a large capacity storage means for storing image data.
上記画像処理装置において、前記制御情報と、圧縮された原画像データとを対応付けて前記格納手段に格納する格納制御手段を有しているとよい。
従って、原画像データに埋め込まれていた制御情報を簡単に認識することができる。
The image processing apparatus may include storage control means for associating the control information with the compressed original image data and storing them in the storage means.
Therefore, the control information embedded in the original image data can be easily recognized.
上記画像処理装置において、前記格納手段から圧縮された画像データを読み出して伸張する伸張手段と、前記制御情報を符号化する符号化手段と、前記伸張された画像データに前記符号化された制御情報を重畳する重畳手段と、前記制御情報が重畳された画像データの画像を形成する形成手段とを有しているとよい。 In the image processing apparatus, decompression means for reading and decompressing the compressed image data from the storage means, encoding means for encoding the control information, and the control information encoded in the decompressed image data It is preferable to have superimposing means for superimposing and forming means for forming an image of the image data on which the control information is superimposed.
本発明の画像処理方法は、原画像と、当該原画像の複製を制御する制御情報とが合成された合成画像から前記制御情報を分離して取り出す分離ステップと、前記制御情報を取り出した原画像のデータを圧縮する圧縮ステップと、前記圧縮された原画像データを格納する格納ステップとを有する。
本発明によれば、原画像と制御情報とが合成された合成画像から制御情報を分離して、原画像のデータだけを圧縮するので、原画像のデータの圧縮率を上げることができる。従って、画像データを格納するための記憶手段に容量の大きなものを用いる必要がなくなる。
The image processing method of the present invention includes a separation step of separating and extracting the control information from a combined image obtained by combining the original image and control information for controlling the reproduction of the original image, and the original image from which the control information has been extracted. And a storing step for storing the compressed original image data.
According to the present invention, since the control information is separated from the synthesized image obtained by synthesizing the original image and the control information and only the original image data is compressed, the compression rate of the original image data can be increased. Therefore, it is not necessary to use a large capacity storage means for storing image data.
上記画像処理方法において、前記制御情報と、圧縮された原画像データとを対応付けて前記格納ステップに格納する格納制御ステップとを有するとよい。
このことにより、原画像データに埋め込まれていた制御情報を簡単に認識することができる。
The image processing method may include a storage control step of storing the control information and the compressed original image data in the storage step in association with each other.
As a result, the control information embedded in the original image data can be easily recognized.
上記画像処理方法において、前記格納ステップから圧縮された画像データを読み出して伸張する伸張ステップと、前記制御情報を符号化する符号化ステップと、前記伸張された画像データに前記符号化された制御情報を重畳する重畳ステップと、前記制御情報が重畳された画像データの画像を形成する形成ステップとを有するとよい。
このことにより、原画像を再度出力する場合にも簡単に同じ画像データを出力することができる。
In the image processing method, a decompression step for reading and decompressing the compressed image data from the storing step, an encoding step for encoding the control information, and the control information encoded in the decompressed image data And a forming step of forming an image of the image data on which the control information is superimposed.
As a result, the same image data can be easily output even when the original image is output again.
本発明の画像処理プログラムは、原画像と、当該原画像の複製を制御する制御情報とが合成された合成画像から前記制御情報を分離して取り出す分離ステップと、前記制御情報を取り出した原画像のデータを圧縮する圧縮ステップと、前記圧縮された原画像データを格納する格納ステップとをコンピュータに実行させる。
本発明によれば、原画像と制御情報とが合成された合成画像から制御情報を分離して、原画像のデータだけを圧縮するので、原画像のデータの圧縮率を上げることができる。従って、画像データを格納するための記憶手段に容量の大きなものを用いる必要がなくなる。
An image processing program according to the present invention includes a separation step of separating and extracting the control information from a combined image obtained by combining the original image and control information for controlling reproduction of the original image, and the original image from which the control information has been extracted. And a storage step for storing the compressed original image data are executed by a computer.
According to the present invention, since the control information is separated from the synthesized image obtained by synthesizing the original image and the control information and only the original image data is compressed, the compression rate of the original image data can be increased. Therefore, it is not necessary to use a large capacity storage means for storing image data.
上記画像処理プログラムにおいて、前記制御情報と、圧縮された原画像データとを対応付けて前記格納ステップに格納する格納制御ステップとをさらに有するとよい。
このことにより、原画像データに埋め込まれていた制御情報を簡単に認識することができる。
The image processing program may further include a storage control step for storing the control information and the compressed original image data in the storage step in association with each other.
As a result, the control information embedded in the original image data can be easily recognized.
上記画像処理プログラムにおいて、前記格納ステップから圧縮された画像データを読み出して伸張する伸張ステップと、前記制御情報を符号化する符号化ステップと、前記伸張された画像データに前記符号化された制御情報を重畳する重畳ステップと、前記制御情報が重畳された画像データの画像を形成する形成ステップとをさらに有しているとよい。
このことにより、原画像を再度出力する場合にも簡単に同じ画像データを出力することができる。
In the image processing program, a decompression step for reading and decompressing the compressed image data from the storing step, an encoding step for encoding the control information, and the control information encoded in the decompressed image data It is preferable to further include a superimposing step for superimposing and a forming step for forming an image of the image data on which the control information is superimposed.
As a result, the same image data can be easily output even when the original image is output again.
本発明は、制御情報が埋め込まれた原稿画像の圧縮率を高めることができる。 The present invention can increase the compression rate of a document image in which control information is embedded.
添付図面を参照しながら本発明の好適な実施例を説明する。 Preferred embodiments of the present invention will be described with reference to the accompanying drawings.
本実施例の画像処理装置は、背景地紋画像が埋め込まれた機密文書から、背景地紋画像に埋め込まれた付加情報を読み取って、許可されたユーザにだけ機密文書を印刷できるように構成されている。
背景地紋画像に埋め込まれる付加情報には以下のものがある。
(A)・・・複写禁止情報(コピー禁止とするか否か)
(B)・・・複写許可条件情報(条件が合致する場合にはコピーを許可するための情報)
例えば、暗証番号、複写を許可するユーザID番号(社員番号等)、複写禁止を解除する日時、複写を許可する複写機の機械番号
(C)・・・潜像情報(コピーすると浮き上がる潜像に関する情報)
例えば、潜像の文字列、フォント種類、フォントサイズ、潜像文字列の方向(角度)、背景地紋画像色
The image processing apparatus according to the present exemplary embodiment is configured to read the additional information embedded in the background copy-forgery-inhibited image from the confidential document in which the background copy-forgery-inhibited pattern image is embedded, and to print the confidential document only to authorized users. .
Additional information embedded in the background pattern image includes the following.
(A) Copy prohibition information (whether or not to prohibit copying)
(B) ... Copy permission condition information (information for permitting copying if the conditions are met)
For example, a personal identification number, a user ID number that permits copying (employee number, etc.), a date and time for canceling copy prohibition, a machine number of a copier that permits copying (C) ... latent image information (related to a latent image that floats when copied) information)
For example, latent image character string, font type, font size, latent image character string direction (angle), background tint image color
ここで、背景地紋画像について図1を参照しながら詳細に説明する。背景地紋画像は、潜像画像IPと、出力画像Oの全面にわたる背景パターンPBとから構成される。 Here, the background copy-forgery-inhibited pattern image will be described in detail with reference to FIG. The background copy-forgery-inhibited pattern image includes a latent image IP and a background pattern PB that covers the entire surface of the output image O.
背景パターンPBと潜像画像IPとは、それぞれを構成するパターンが異なる。しかし、人間の目には全面均一のグレイ背景として見える様に、単位面積あたりの画素面積及び画素色が同一なパターンにより出力画像Oを形成する。 The background pattern PB and the latent image IP are different from each other. However, the output image O is formed with a pattern having the same pixel area and pixel color per unit area so that it can be seen by the human eye as a uniform gray background.
潜像画像IPは、複写された文書において、潜像画像IPが人間の目で識別できる程度に画像が浮かびあがるよう、他の部分のよりも細かいドットで構成されている。 The latent image IP is composed of finer dots than other portions so that the image appears to the extent that the latent image IP can be identified by human eyes in the copied document.
背景パターンPBは、コードから構成される。コードは、任意のコードデータを表す条件コードCDと、複写を制限する禁複写コードCPとから構成される。 The background pattern PB is composed of codes. The code is composed of a condition code CD representing arbitrary code data and a prohibited copy code CP that restricts copying.
コードは、任意のコードデータを表す斜線パターンPSから構成される。斜線パターンPSは、走査方向Dに対し反時計回りに45度傾いた半直線で表されるものがコードデータのビット0を、135度傾いたものがコードデータのビット1を表す。 The code is composed of a hatched pattern PS representing arbitrary code data. In the oblique line pattern PS, the one represented by a half line inclined 45 degrees counterclockwise with respect to the scanning direction D represents bit 0 of the code data, and the one inclined 135 degrees represents bit 1 of the code data.
禁複写コードCPは、全斜線パターンPSがビット0を表すものとビット1を表すものとから構成される。禁複写コードCPは、2種類の禁複写コードCPを所定個数以上検出した場合に、複写が制限された原稿であると判断する為に使用される。 The forbidden copy code CP is composed of a pattern in which the entire hatched pattern PS represents bit 0 and a bit 1. The forbidden copy code CP is used to determine that a copy is restricted when two or more types of forbidden copy codes CP are detected.
条件コードCDは、同期コード領域ASとデータコード領域ACとから構成される。
同期コード領域ASとは、データコード領域ACを囲む所定サイズの矩形領域の外周がすべてビット1を表す斜線パターンPS1で構成されているコード領域を言う。
データコード領域には、暗証番号、複写を許可するユーザID番号(社員番号等)、複写禁止を解除する日時、複写を許可する複写機の機械番号等が符号化され、条件コードCDとして埋め込まれている。
The condition code CD is composed of a synchronization code area AS and a data code area AC.
The synchronous code area AS is a code area in which the outer periphery of a rectangular area of a predetermined size surrounding the data code area AC is composed of a hatched pattern PS1 in which all bits 1 are represented.
In the data code area, a code number, a user ID number permitting copying (employee number, etc.), a date and time for canceling copying prohibition, a machine number of a copying machine permitting copying, etc. are encoded and embedded as a condition code CD. ing.
次に、図2を参照しながら本実施例の画像処理装置1の構成を説明する。図2に示す本実施例の画像処理装置1は、スキャナ部2と、分離部3と、圧縮部4と、画像蓄積部5と、伸張部6と、画像重畳部7と、プリント部8と、複写禁止情報検出部9と、複写許可条件情報検出部10と、制御部11と、蓄積部12と、複写許可条件情報符号化部13と、ユーザインターフェース部14とを有している。
Next, the configuration of the image processing apparatus 1 of the present embodiment will be described with reference to FIG. 2 includes a
スキャナ部2は、プラテンガラス上に置かれた原稿を読み取り、読み取った画像データを分離部3に出力する。
The
分離部3は、入力画像中の背景に含まれる背景地文画像のパターン部分を削除する。背景地紋画像を分離した画像データは、圧縮部4に出力される。分離部3について図3を参照しながら詳細に説明する。
先ず、スキャナ部2から出力された画像データが、グレースケール部51および色抽出部57に入力される。グレースケール変換部51は、入力画像(RGBまたはYMCK)をグレースケールに変換する。グレースケールに変換された画像データは2つの2値化処理部52、55に入力され、それぞれ所定の閾値で2値化される。第1の2値化処理部52では、以後のパターン検出処理を行うための2値化が行われる。
The
First, the image data output from the
2値化された画像データはノイズ除去処理部53に入力され、ノイズ除去処理が行われる。ノイズが除去された画像データはパターン検出処理部54に入力され、2種類の斜線パターンの検出処理が行われる。パターンが検出された場合、その結果が領域信号生成部56に出力され、検出されたパターンの位置に検出されたパターンと同一形状の2値画像が生成される。この生成された2値画像は、画像削除のための領域画像(1)となる。生成された領域画像は選択部58に出力される。
The binarized image data is input to the noise
上記処理と平行して、グレースケール変換部51から出力された画像データが第2の2値化処理部55によって2値化される。この2値化された画素は画像削除のための領域画像(2)となる。生成された2値画像は選択部58に出力される。
In parallel with the above processing, the image data output from the gray
また、上記処理と平行して、分離部3に入力された画像データは色抽出部57に入力され、あらかじめ設定された所定の範囲の色の画素を抽出する。所定範囲の色の画素であれば画素値’1’、そうでなければ画素値’0’の2値画像が生成される。この2値画像は画像削除のための領域画像(3)となる。生成された2値画像は選択部58に出力される。
In parallel with the above processing, the image data input to the
選択部58には、領域画像(1)、領域画像(2)、領域画像(3)が平行して入力される。また、選択部58には、制御部11からの選択信号が入力されており、その選択信号に従って3つの領域信号のうちの1つを選択し、画像削除部59へ出力する。
A region image (1), a region image (2), and a region image (3) are input to the
画像削除部59には、分離部3への入力画像データと選択部58から入力される領域画像が入力されている。画像削除部59は、領域信号(2値画像)の画素値‘1’に対応する入力画像の画素を削除する(白画素に置き換える)。
The
以上の処理によって、入力画像中の背景に含まれる背景地紋画像のパターン部分(または高濃度背景画素部分、または特定色画素部分)が削除される。 Through the above processing, the pattern portion (or high-density background pixel portion or specific color pixel portion) of the background tint block image included in the background in the input image is deleted.
圧縮部4は、膨大な画像データを容量の限られた蓄積装置内に有効に蓄積するために画像データを圧縮する装置である。圧縮の手法には各種のアルゴリズムを使用することが可能であるが、一例として適応予測符号化方式によってデータを圧縮処理することができる。圧縮した画像データは、画像蓄積制御部5の制御に従って、蓄積部12に蓄積される。このとき、画像蓄積制御部5は、複写禁止情報検出部9、複写許可条件情報検出部10で検出された複写禁止情報、複写許可条件情報、潜像情報と画像データとを関連づけして、蓄積部12に蓄積する。
なお、複写禁止情報、複写許可条件情報、潜像情報は、制御部11から画像蓄積制御部5に入力される。
The
Copy prohibition information, copy permission condition information, and latent image information are input from the
また、画像蓄積制御部5は、蓄積部12に蓄積された画像データを読み出して伸張部6に出力する。伸張部6は、画像データをプリント部8に供給するために、圧縮された画像データを元の画像データに復元する。復元された画像データは、画像重畳部7に出力される。
Further, the image accumulation control unit 5 reads out the image data accumulated in the
画像重畳部7は、伸張された画像データをプリント部8に出力する。また、制御部11によって背景地紋画像を合成するように設定されている場合、伸張後の画像データに、複写許可条件情報符号化部13で符号化された符号化データを重畳してプリント部8に出力する。画像重畳部7は、画像データの所定の色プレーンに論理和(OR)合成を行い、合成画像データをプリント部8へ出力する。プリント部8は、画像重畳部7から出力される合成画像データ、または画像データを用紙上に記録する。
The image superimposing unit 7 outputs the decompressed image data to the printing unit 8. If the
次に、複写禁止情報検出部9について図4を参照しながら説明する。図4には、複写禁止情報検出部9の詳細な構成を示す。
スキャナ部2から出力された画像データは、グレースケール変換部21に入力され、フルカラーからグレースケールに変換される。その後、2値化処理部22によって2値化される。
Next, the copy prohibition
The image data output from the
2値化された画像データは、ノイズ除去処理部23に入力され、ノイズ除去処理が行われる。具体的には、黒画素が連結している画素塊を求め、その画素塊の大きさ(連結画素数)が所定の範囲に収まっていない画素塊の各画素を白画素に置き換える。上記所定の範囲は、斜線パターンは削除されず、それ以外のパターン(孤立ドットパターンや文書ン中の文字や図形等)が削除されるように適切な範囲が設定されている。
The binarized image data is input to the noise
ノイズ除去された画像データは、パターン検出部24に入力され、2種類の斜線パターンの検出処理が行われ、その結果が1画素2ビットの画像データとして出力される。具体的には、画像データ中の各画素の位置で図5(A)、(B)のパターンを当てはめて、テンプレートマッチングによって検出を行う。ここで、図5に示すパターン(A)が検出された場合、画素値0を出力し、図5に示すパターン(B)が検出された場合、画素値1を出力し、パターンが検出されない場合、画素値2を出力する。
The image data from which noise has been removed is input to the
パターン検出処理部24から出力された画像データは、ブロック化処理部25に入力される。ここで、ブロックサイズは、複写禁止コード、条件コードのサイズの半分よりも小さいサイズとし、コードの中に1個以上のブロックが完全に含まれるようなサイズに設定されている。ブロック化処理部25は、入力された画像データを所定サイズのブロックに分割し、個数算出部26に出力する。
The image data output from the pattern
個数算出部26は、ブロック内に画素値0の画素の個数、および画素値1の画素をそれぞれ算出し、その結果を比率算出部27へ出力する。また、その合計を判定処理部28へ出力する。比率算出部27は、画素値0の画素の比率を算出し、その結果を判定処理部28へ出力する。
The
判定処理部28は、個数算出部26から入力された合計個数および比率算出部27から入力された比率を元にして、判定処理を行う。
The
ここで、今処理しているブロックの内部が全ビット0の複写禁止コードの内部に位置している場合、ブロック内部には所定個数以上のビット0に対応する斜線パターンが検出され、かつビット1に対応する斜線パターンはほとんど検出されないため、ビット0に対応する斜線パターンの比率が高くほとんど1.0に近いはずである。 Here, when the inside of the block being processed is located inside the copy prohibition code of all bits 0, a diagonal line pattern corresponding to a predetermined number of bits 0 or more is detected in the block, and bit 1 Since the hatched pattern corresponding to is hardly detected, the ratio of the hatched pattern corresponding to bit 0 should be high and almost close to 1.0.
また、今処理しているブロックの内部が全ビット1の複写禁止コードの内部に位置している場合、ブロック内部には所定個数以上のビット1に対応する斜線パターンが検出され、かつビット0に対応する斜線パターンはほとんど検出されないため、ビット0に対応する斜線パターンの比率は低くほとんど0.0に近いはずである。 If the block currently being processed is located inside the copy prohibition code of all bits 1, a hatched pattern corresponding to a predetermined number of bits 1 or more is detected in the block, and bit 0 is set. Since the corresponding diagonal pattern is hardly detected, the ratio of the diagonal pattern corresponding to bit 0 should be low and almost close to 0.0.
また、今処理しているブロックが条件コードの少なくとも一部を含む場合、ブロック内部には複数のビット0に対応する斜線パターンおよび複数のビット1に対応する斜線パターンが検出されるため、ビット0に対応する斜線パターンの比率は1.0よりもかなり低く、0よりもかなり高くなるはずである。 If the block currently being processed includes at least a part of the condition code, a diagonal line pattern corresponding to a plurality of bits 0 and a diagonal line pattern corresponding to a plurality of bits 1 are detected in the block. The ratio of the hatched pattern corresponding to 1 should be much lower than 1.0 and much higher than 0.
また、もし入力された画像データが複写禁止情報を埋め込まれた画像であれば、画像中には、ブロックの内部が全ビット0の複写禁止コードと、ブロックの内部が全ビット1の複写禁止コードとがそれぞれ複数個埋め込まれているはずである。 If the input image data is an image in which copy prohibition information is embedded, a copy prohibition code with all bits 0 in the block and a copy prohibition code with all bits 1 in the block are included in the image. There should be more than one embedded.
以上の特性を利用して、下記のような判定処理を行う。
合計個数>第1しきい値、かつ、比率>第2しきい値の場合は、そのブロックは複写禁止コード0と判定する。
合計個数>第1しきい値、かつ、(1−比率)>第2しきい値の場合は、そのブロックは複写禁止コード1と判定する。
上記以外の場合は、そのブロックは複写禁止コードではないと判定する。また、第1しきい値は、ブロックサイズとパターンサイズからブロックに含まれる値論的なパターン個数にマージンを加味して設定する。第2しきい値は、1.0に近い値を設定する。
The following determination process is performed using the above characteristics.
If the total number> the first threshold value and the ratio> the second threshold value, the block is determined to be the copy prohibition code 0.
If the total number> the first threshold value and (1-ratio)> the second threshold value, the block is determined to be the copy prohibition code 1.
In cases other than the above, it is determined that the block is not a copy prohibition code. Also, the first threshold value is set by adding a margin to the number of theoretical patterns included in the block from the block size and pattern size. The second threshold value is set to a value close to 1.0.
判定処理部28は、複写禁止コード0と判定されたブロック数、および複写禁止コード1と判定されたブロック数をそれぞれ別々にカウントする。複写禁止コード0と判定されたブロック数が第3しきい値以上となり、かつ複写禁止コード0と判定されたブロック数が第3しきい値以上となった場合、その画像を複写禁止文書と判定し、その判定結果を制御部11へ出力する。
The
次に、複写許可条件情報検出部10の詳細について図6を参照しながら説明する。
スキャナ部2から出力された画像データはグレースケール変換部31に入力され、フルカラーからグレースケールに変換された後に、2値化処理部32によって2値化される。
Next, details of the copy permission condition
The image data output from the
2値化された画像データはノイズ除去処理部33に入力され、ノイズ除去処理33が行われる。ノイズが除去された画像データは、パターン検出処理部34に入力され、2種類の斜線パターンの検出処理が行われ、その処理結果のデータがバッファメモリ35に格納される。この画像データは、ビット0に対応する斜線パターンが検出された位置の画素値は0、ビット1に対応する斜線パターンが検出された位置の画素値は1、それ以外は2の値を持った1画素2ビットの画像データとなっている。
The binarized image data is input to the noise
バッファメモリ35に格納された画像データは、スキュー角検出処理部36に入力され、スキュー角度の検出が行われる。ここでは、入力画像データのスキュー角度を求める。具体的な方式としては、画素値0または1のみの画素のハフ変換を行い、その角度軸上への投影分布のピークを求めることによって行われる。求めたスキュー角度はコード検出部37へ出力される。
The image data stored in the
また、バッファメモリ35に格納された画像データが読み出されてコード検出部37へ入力され、2次元コードの検出が行われる。具体的には、求めたスキュー角度に画像をスキャンして0または1の画素値(ビットの0または1に対応している)を取り出す。取り出されたビット列から同期コードを見つけ出す。同期コードは、所定の縦横サイズの矩形領域の外周がすべてビット1で構成されているコードとして定義されている。この同期コードに囲まれたビット配列が2次元コード(条件コード)となっている。このビット配列を1次元のビット列に並べ替えて誤り訂正復号部38へ出力する。
Further, the image data stored in the
誤り訂正復号部38では、入力されたビット列に対して、所定の誤り訂正復号処理を行い、条件情報として復号する。復号された複写許可条件情報は制御部11へ出力される。
The error
次に、図7を参照しながら付加条件符号化部13について説明する。
付加条件符号化部13には、制御部11から付加情報(複写禁止情報、条件情報、潜像情報)が入力される。制御部11は、復号する画像データの付加情報を、蓄積部12から読み出して複写許可条件情報符号化部13に供給する。このうち複写禁止情報と複写許可条件情報は付加情報符号化部42へ入力され、潜像情報は潜像生成部41に入力される。
Next, the additional
Additional information (copy prohibition information, condition information, latent image information) is input from the
潜像生成部41は、入力された潜像情報を元に潜像画像を生成する。潜像情報とは、パターン画像の中にどのような潜像文字を埋め込むかを示す情報であり、具体的には潜像の文字列、フォント種類、フォントサイズ、潜像文字列の方向(角度)等の情報からなる。潜像生成部41は、潜像情報を受け取ると、指定されたフォント種類、フォントサイズで、指定された方向に潜像文字列の描画を行い、2値の潜像画像として生成する。生成した潜像画像は付加情報符号化部42へ出力される。なお、潜像画像の解像度は、プリンタの解像度を後述するパターンのサイズで割った解像度となる。例えば、プリンタ解像度が600dpi、パターンのサイズが12画素×12画素の場合、潜像画像の解像度は50dpiとなる。
The latent
付加情報符号化部42は、入力された複写禁止情報及び条件情報の符号化を行う。まず、複写禁止情報がプリント出力を行った文書を画像処理装置で複写させないようにすること示す場合、図8(A)、(B)に示す2種類の複写禁止コードを生成する。ここで、図8(A)の複写禁止コードは、コード内部が全てビット0となっており、図8(B)の複写禁止コードは、コード内部が全てビット1となっていることが特徴である。複写禁止情報が入力されない場合、もしくはプリント出力を行った文書を画像処理装置で複写させないようにすることを示すものではない場合、図8(A)および(B)に示す2種類のコードの生成は行われない。
The additional
次に、条件情報が入力されている場合、その条件情報に対して誤り訂正符号を行い、図8(C)に示すような条件コードを生成する。図8(C)のコードは、ビット0およびビット1の配列によって、符号化された条件情報のビット列を表している。コードの外周は、コードの位置決めを容易にするために特殊なビットパターンとなっている。 Next, when condition information is input, an error correction code is applied to the condition information to generate a condition code as shown in FIG. The code in FIG. 8C represents a bit string of the encoded condition information by the arrangement of bit 0 and bit 1. The outer periphery of the cord has a special bit pattern for facilitating the positioning of the cord.
次に、生成したコードを図9(A)に示すように複数個繰り返し配置し、潜像画像の大きさと同じ大きさのパターン番号配列を生成する。ここで、図の斜線ハッチングされた矩形が図8(A)の複写禁止コード、縦線ハッチングされた矩形が図8(B)の複写禁止コード、ドットハチングされた矩形が図8(C)の条件コードとなっている。もし、複写禁止コードが生成されなかった場合には、図中の複写禁止コードの部分には条件コードを配置する。また、もし条件コードが生成されなかった場合には、図中の条件コードの部分には複写禁止コードを配置する。この時点で、パターン番号配列の各要素の値は0または1になっている。 Next, a plurality of generated codes are repeatedly arranged as shown in FIG. 9A to generate a pattern number array having the same size as the latent image. Here, the hatched rectangle in the figure is the copy prohibition code of FIG. 8A, the vertical hatched rectangle is the copy prohibition code of FIG. 8B, and the dot hatched rectangle is FIG. 8C. This is the condition code. If a copy prohibition code is not generated, a condition code is placed in the copy prohibition code portion in the figure. If the condition code is not generated, a copy prohibition code is placed in the condition code portion in the figure. At this time, the value of each element of the pattern number array is 0 or 1.
次に、潜像画像を参照し、潜像画像中の黒画素の座標に対応するパターン番号配列の要素のパターン番号を2に変更する。これを潜像画像中の全ての黒画素について行うと、パターン番号配列は、複写禁止コード、条件コードが並べて配置された背景にパターン番号2で潜像文字が描かれた状態となる。この状態を図9(B)に示す。図中の黒色の「COPY」の部分が、パターン配列番号を2に変更された部分を示す。このパターン番号配列をパターン画像生成部44へ出力する。
Next, referring to the latent image, the pattern number of the element of the pattern number array corresponding to the coordinates of the black pixels in the latent image is changed to 2. If this is performed for all the black pixels in the latent image, the pattern number arrangement is such that the latent image characters are drawn with the
パターン画像生成部44は、入力されたパターン番号配列の各要素を参照し、そのパターン番号に対応したパターンをパターン格納部43から読み出してパターン画像に変換することで、背景地紋画像を生成する。生成された背景地紋画像は、画像合成部18内のメモリ(不図示)に格納される。
The pattern
本実施例の手順を図10、11を参照しながら説明する。
まず、図10に示すフローチャートを参照しながら画像蓄積時の動作を説明する。
画像データを入力すると(ステップ1)、まず分離部3で画像データから付加情報を取り出す(ステップS2)。付加情報を分離した画像データは圧縮部4に出力される。付加情報が取り出された画像データを圧縮部4で圧縮し、画像蓄積制御部5に出力する。またスキャナ部2から入力した付加情報付きの画像データを、複写禁止情報検出部9、複写許可条件情報検出部10に入力する。複写禁止情報検出部9、複写許可条件情報検出部10は、それぞれ複写禁止情報、複写許可条件情報とを取り出し、制御部11に出力する。制御部11はこれらの情報を画像蓄積制御部5に出力する。画像蓄積制御部5は、圧縮された画像データと、付加情報とを対応付けて蓄積部12に蓄積する。
The procedure of this embodiment will be described with reference to FIGS.
First, the operation during image accumulation will be described with reference to the flowchart shown in FIG.
When the image data is input (step 1), first, the separating
次に、図11に示すフローチャートを参照しながら画像を伸張して出力する時の動作を説明する。
画像蓄積制御部5は、蓄積部12から圧縮された画像データを取り出し、伸張部6に出力する。また付加情報を制御部11に出力する。伸張部6は圧縮された画像データの伸張処理を行う(ステップS12)。付加情報は、付加許可条件情報符号化部13に出力され、ここで符号化される(ステップS13)。伸張された画像データと、符号化された付加情報とを画像重畳部7で重畳し(ステップS14)、プリント部8で画像を形成する(ステップS15)。
Next, an operation when an image is decompressed and output will be described with reference to the flowchart shown in FIG.
The image accumulation control unit 5 takes out the compressed image data from the
このように本実施例は、原画像データに埋め込まれている付加情報を分離して、原画像データだけを符号化するので、画像データの圧縮率を高めることができる。 As described above, the present embodiment separates the additional information embedded in the original image data and encodes only the original image data, so that the compression rate of the image data can be increased.
また、本発明の画像処理プログラムは、コンピュータを制御して実行するプログラムとして実現することができる。このプログラムは、磁気ディスクや光ディスク、半導体メモリ、その他の記録媒体に格納して配布したり、ネットワークを介して配信したりすることにより、提供することができる。 The image processing program of the present invention can be realized as a program that is executed by controlling a computer. This program can be provided by being stored and distributed in a magnetic disk, an optical disk, a semiconductor memory, or other recording media, or distributed via a network.
上述した実施例は本発明の好適な実施例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。 The embodiment described above is a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.
1 画像処理装置
2 スキャナ部
3 分離部
4 圧縮部
5 画像蓄積制御部
6 伸張部
7 画像重畳部
8 プリント部
9 複写禁止情報検出部
10 複写許可条件情報検出部
11 制御部
12 蓄積部
13 複写許可条件情報符号化部
14 ユーザインターフェース部
DESCRIPTION OF SYMBOLS 1
Claims (9)
前記制御情報を取り出した原画像のデータを圧縮する圧縮手段と、
前記圧縮された原画像データを格納する格納手段と、を有することを特徴とする画像処理装置。 Separating means for separating and extracting the control information from a combined image obtained by combining the original image and the control information for controlling reproduction of the original image;
Compression means for compressing original image data from which the control information has been extracted;
An image processing apparatus comprising: storage means for storing the compressed original image data.
前記制御情報を符号化する符号化手段と、
前記伸張された画像データに前記符号化された制御情報を重畳する重畳手段と、
前記制御情報が重畳された画像データの画像を形成する形成手段と、を有することを特徴とする請求項1又は2記載の画像処理装置。 Decompression means for reading and decompressing the compressed image data from the storage means;
Encoding means for encoding the control information;
Superimposing means for superimposing the encoded control information on the decompressed image data;
The image processing apparatus according to claim 1, further comprising a forming unit that forms an image of the image data on which the control information is superimposed.
前記制御情報を取り出した原画像のデータを圧縮する圧縮ステップと、
前記圧縮された原画像データを格納する格納ステップと、を有することを特徴とする画像処理方法。 A separation step of separating and extracting the control information from a composite image obtained by combining the original image and the control information for controlling reproduction of the original image;
A compression step of compressing original image data from which the control information has been extracted;
A storage step for storing the compressed original image data.
前記制御情報を符号化する符号化ステップと、
前記伸張された画像データに前記符号化された制御情報を重畳する重畳ステップと、
前記制御情報が重畳された画像データの画像を形成する形成ステップと、を有することを特徴とする請求項4又は5記載の画像処理方法。 A decompression step of reading and decompressing the compressed image data from the storage step;
An encoding step for encoding the control information;
A superimposing step of superimposing the encoded control information on the decompressed image data;
6. The image processing method according to claim 4, further comprising a forming step of forming an image of the image data on which the control information is superimposed.
前記制御情報を取り出した原画像のデータを圧縮する圧縮ステップと、
前記圧縮された原画像データを格納する格納ステップとをコンピュータに実行させることを特徴とする画像処理プログラム。 A separation step of separating and extracting the control information from a composite image obtained by combining the original image and the control information for controlling reproduction of the original image;
A compression step of compressing original image data from which the control information has been extracted;
An image processing program for causing a computer to execute a storing step for storing the compressed original image data.
前記制御情報を符号化する符号化ステップと、
前記伸張された画像データに前記符号化された制御情報を重畳する重畳ステップと、
前記制御情報が重畳された画像データの画像を形成する形成ステップと、をさらに実行することを特徴とする請求項7又は8記載の画像処理プログラム。
A decompression step of reading and decompressing the compressed image data from the storage step;
An encoding step for encoding the control information;
A superimposing step of superimposing the encoded control information on the decompressed image data;
The image processing program according to claim 7, further comprising: a forming step of forming an image of the image data on which the control information is superimposed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005359653A JP2007166227A (en) | 2005-12-13 | 2005-12-13 | Apparatus, method and program for image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005359653A JP2007166227A (en) | 2005-12-13 | 2005-12-13 | Apparatus, method and program for image processing |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007166227A true JP2007166227A (en) | 2007-06-28 |
Family
ID=38248618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005359653A Pending JP2007166227A (en) | 2005-12-13 | 2005-12-13 | Apparatus, method and program for image processing |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007166227A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009077271A (en) * | 2007-09-21 | 2009-04-09 | Ricoh Co Ltd | Image processor, image processing system, image processing method, program, and storage medium |
JP2011061455A (en) * | 2009-09-09 | 2011-03-24 | Sharp Corp | Image processor, image forming apparatus, computer program, recording medium, and image processing method |
JP2012157055A (en) * | 2012-04-06 | 2012-08-16 | Canon Inc | Image processing system |
-
2005
- 2005-12-13 JP JP2005359653A patent/JP2007166227A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009077271A (en) * | 2007-09-21 | 2009-04-09 | Ricoh Co Ltd | Image processor, image processing system, image processing method, program, and storage medium |
JP2011061455A (en) * | 2009-09-09 | 2011-03-24 | Sharp Corp | Image processor, image forming apparatus, computer program, recording medium, and image processing method |
JP2012157055A (en) * | 2012-04-06 | 2012-08-16 | Canon Inc | Image processing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3879552B2 (en) | Image generating apparatus, image reading apparatus, unauthorized duplication prevention system, program, and output medium manufacturing method | |
JP4039093B2 (en) | Image reading apparatus, copying apparatus, and program | |
US7536026B2 (en) | Image processing apparatus and method | |
JP3997720B2 (en) | Image processing apparatus and image forming apparatus | |
JP2008154106A (en) | Concealing method, image processor and image forming apparatus | |
US8654404B2 (en) | Image processing apparatus, image processing method and memory medium | |
US20070133035A1 (en) | Image-forming apparatus, image-processing apparatus, confidential document reading method, image-processing method, and image-forming method | |
US7911649B2 (en) | Image outputting apparatus and control method thereof with output of color copy despite setting for black and white copy | |
JP4135758B2 (en) | Image forming apparatus, image forming system, and program | |
JP2007166229A (en) | Image reading apparatus | |
JP2007166221A (en) | Apparatus and method for processing image | |
JP4182998B2 (en) | Image generating apparatus, image reading apparatus, unauthorized duplication prevention system, program, and output medium manufacturing method | |
JP2007166227A (en) | Apparatus, method and program for image processing | |
JP2007166225A (en) | Image-forming device and authentication method | |
JP2008022175A (en) | Image forming apparatus and method of canceling copy restriction | |
JP4461487B2 (en) | Image processing method, image processing apparatus, and authenticity determination method | |
JP4587123B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2007306090A (en) | Image processing apparatus, image forming apparatus, copy inhibit code detection method, and image forming method | |
JP4692422B2 (en) | Image processing apparatus and display control method | |
JP4604999B2 (en) | Image forming apparatus and confidential document printing method | |
JP2007166344A (en) | Image processing apparatus and image processing method | |
JP4650250B2 (en) | Image processing apparatus and image processing method | |
JP2007306091A (en) | Image processor and copy inhibit code detection method | |
JP2008017271A (en) | Image forming apparatus and method thereof | |
JP2007166335A (en) | Image processing apparatus, image processing method, and image processing program |