JP4949356B2 - Image processing method, image processing apparatus, image forming apparatus, program, and recording medium - Google Patents
Image processing method, image processing apparatus, image forming apparatus, program, and recording medium Download PDFInfo
- Publication number
- JP4949356B2 JP4949356B2 JP2008293712A JP2008293712A JP4949356B2 JP 4949356 B2 JP4949356 B2 JP 4949356B2 JP 2008293712 A JP2008293712 A JP 2008293712A JP 2008293712 A JP2008293712 A JP 2008293712A JP 4949356 B2 JP4949356 B2 JP 4949356B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- pattern
- determination
- specific
- 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
Landscapes
- Color Image Communication Systems (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
本発明は、例えば紙幣、有価証券および機密書類などの印刷を禁止すべき画像中に含まれる印刷禁止パターンを検出する画像処理方法、画像処理装置、画像形成装置、プログラムおよび記録媒体に関するものである。 The present invention relates to an image processing method, an image processing apparatus, an image forming apparatus, a program, and a recording medium for detecting a print prohibition pattern included in an image that should be prohibited from printing such as banknotes, securities, and confidential documents. .
近年、カラー複写装置は、印刷性能の向上に伴い、出力する印刷画像を原稿画像に対する高い忠実度にて再現可能となっている。これに伴い、カラー複写装置には、スキャナ、デジタルカメラあるいはカメラ付き携帯電話にて撮影した紙幣、有価証券および機密書類などの印刷禁止画像を印刷して偽造する行為に対して、高い防止機能が求められている。 2. Description of the Related Art In recent years, color copying apparatuses can reproduce an output print image with high fidelity to a document image as printing performance is improved. Along with this, the color copying machine has a high prevention function against the act of printing and forging printing prohibited images such as banknotes, securities and confidential documents taken with a scanner, digital camera or camera-equipped mobile phone. It has been demanded.
従来の複写装置における複写防止技術には、記録紙に印刷する原稿の画像を画像読取装置により読み取って得られた画像データ(読取り画像データ)と、予め複写装置に登録されている複写防止対象となる特定画像の画像データ(登録画像データ)とを比較して、読取り画像データについての印刷を行うか否かを判断するものが知られている。さらに、この技術では、読取り画像データについての印刷を行わないと判断すると、単純に印刷を中止する、あるいは読取り画像データをその読取り画像データとは異なる画像データに変更して印刷するといった処理が行われる。 In the conventional copy apparatus, copy prevention technology includes image data (read image data) obtained by reading an image of a document to be printed on a recording sheet by an image reading apparatus, and copy prevention objects registered in advance in the copying apparatus. It is known that the image data of a specific image (registered image data) is compared to determine whether to print the read image data. Further, in this technique, when it is determined that printing of the read image data is not performed, a process of simply stopping printing or changing the read image data to image data different from the read image data and performing printing is performed. Is called.
具体的なこの種の従来の技術としては、特許文献1〜3に記載されたものが知られている。特許文献1に記載の技術では、原稿面に複写を禁止するための特定パターンを形成しておき、この原稿の画像を読み取り、検出部にて上記特定パターンを検出すると、この検出部からの検出信号により複写機の複写機能を停止するようになっている。
As specific conventional techniques of this type, those described in
特許文献2に記載の技術では、画像処理装置が、第1および第2の色抽出ブロックを有する2値化処理部、OR回路、記憶装置、マーク検出部、原稿切り出し部並びにマッチング部を備えている。この画像処理装置では、入力画像データに対して2値化処理部の第1および第2の色抽出ブロックによりそれぞれ黒と赤による個別の2値化処理を行い、これら二つのデータをOR回路にて一つのデータにまとめて記憶装置に記憶する。次に、マーク検出部により、テンプレートを使用して入力画像データに含まれる正方形マークを検出し、画像切り出し部にて正方形マークで囲まれるマークを切り出し、切り出したマークの複写禁止判定マーク(特定マーク)に対する適合度をマッチング部にて求め、その結果を出力する。
In the technique described in
特許文献3に記載の技術では、画像処理装置が、入力された原稿画像に応じた画像信号と、ROMに記憶されている特定画像の有する色味分布情報との類似度を、第1の色空間類似度判定回路により判定し、その判定結果に基づき類似画素数をカウントし、類似画素数に応じて原稿画像と記憶されている特定画像との類似度を判定するようになっている。
特許文献1に記載の技術は、特定パターンが例えばバーコードである場合、原稿にバーコードを印刷して管理する上では有効である。しかしながら、そのような特定パターンでは、特定パターンが非常に目立ってしまい、それらが印刷禁止パターンであることが容易に知られてしまうことになる。したがって、それら特定マークに何らかの改ざんを加えて検出されないようにすることで、コピー禁止原稿を容易に複写することができるようになる。
The technique described in
また、特許文献2に記載の技術は、二つの色フィルタを有することにより、二つの色の複写禁止判定マーク(特定マーク)を検出することができる。また、OR回路にて二つの色の検出信号を一つにまとめていることにより、回路規模を小さくすることができる。したがって、このような構成は、スキャナを備え、そのスキャナにて読み取った画像を印刷するデジタル複写機に対しては有効である。しかしながら、上記のような構成を備えた場合であっても、一般に解像度の低いカメラ付き携帯電話で撮影して得られた画像に関しては特定マークの検出が難しく、また、色数の少ない画像データに関しては色の抽出が難しい。
In addition, the technique described in
したがって、特許文献2に記載の技術において、画像中の特定マークの検出を確実に行えるようにするために検出の閾値を低く設定すれば、特定マークのない一般画像を特定マーク付き画像として検出する誤検出が増加することになる。一方、特定マークのない一般画像に対する誤検知を防止するために検出の閾値を高く設定すれば、特定マーク付き画像の検出率が低下することになる。
Therefore, in the technique described in
また、特許文献3に記載の技術は、色数の多い原稿画像に対する特定マークの検出においては有効なものである。一方、特許文献2に記載の技術と同様、デジタルカメラにて撮影して得られた解像度の低い画像や、カメラ付き携帯電話にて撮影して得られた色数の少ない画像に対する特定マークの検出に対しては、効果が低いものとなる。
The technique described in
このように、上記従来の構成では、印刷禁止画像に対する認識機能(特定マークの検出機能)を有する複写装置が、その複写装置に備えられたスキャナにて読み取った画像について印刷禁止画像を認識する機能は良好である。しかしながら、印刷禁止画像に対する認識機能を備えていない、デジタルカメラあるいはカメラ付き携帯電話などで撮影した画像について印刷禁止画像を認識する機能については、印刷禁止原稿についての高い認識機能と一般原稿を誤って印刷禁止原稿と認識するご認識に対する高い防止機能との両立が困難であるという問題点を有している。 As described above, in the conventional configuration, the copying apparatus having a recognition function (specific mark detection function) for the printing prohibited image recognizes the printing prohibited image with respect to the image read by the scanner provided in the copying apparatus. Is good. However, with regard to the function that recognizes print-prohibited images for images taken with a digital camera or camera-equipped mobile phone that does not have a recognition function for print-prohibited images, a high recognition function for print-prohibited originals and a general original are mistakenly recognized. There is a problem that it is difficult to achieve both a high prevention function with respect to recognition for recognizing a print-prohibited document.
したがって、本発明は、画質が高い画像データおよび画質が低い画像データの両者に対して、印刷禁止パターンを含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止機能との両立が可能となる画像処理方法、画像処理装置、画像形成装置、プログラムおよび記録媒体の提供を目的としている。 Therefore, the present invention provides a function for preventing a specific image including a print prohibition pattern from being used illegally for both high-quality image data and low-quality image data, and a print prohibition pattern. For the purpose of providing an image processing method, an image processing apparatus, an image forming apparatus, a program, and a recording medium that can be compatible with an erroneous determination prevention function that determines that a general image not included is a specific image including a print prohibition pattern Yes.
本発明の画像処理装置は、画像データから印刷禁止パターンに類似する画像パターンを検出し、検出した画像パターンの前記印刷禁止パターンに対する類似度を判定する類似度判定手段と、特定画像判定手段とを備え、前記特定画像判定手段は、前記類似度を所定の閾値と比較して、前記画像パターンを含む画像データが、前記印刷禁止パターンを含む特定画像のものであるか否かを判定する判定部と、前記閾値として第1の閾値もしくはこの第1の閾値よりも高い第2の閾値を設定可能であり、前記画像データの画質の高低を決定する画質決定情報を取得し、この画質決定情報により示される前記画像データの画質が所定の基準値よりも高い場合に前記第1の閾値を設定し、前記画質が前記基準値以下である場合に前記第2の閾値を設定する閾値設定部とを備えていることを特徴としている。 An image processing apparatus according to the present invention detects an image pattern similar to a print prohibition pattern from image data, and includes a similarity determination unit that determines the similarity of the detected image pattern to the print prohibition pattern, and a specific image determination unit. A determination unit configured to determine whether the image data including the image pattern is that of the specific image including the print prohibition pattern by comparing the similarity with a predetermined threshold value; And a first threshold value or a second threshold value higher than the first threshold value can be set as the threshold value, and image quality determination information for determining the image quality level of the image data is acquired. The first threshold value is set when the image quality of the displayed image data is higher than a predetermined reference value, and the second threshold value is set when the image quality is equal to or lower than the reference value. It is characterized by comprising a threshold setting unit.
本発明の画像処理方法は、画像データから印刷禁止パターンに類似する画像パターンを検出し、検出した画像パターンの前記印刷禁止パターンに対する類似度を判定する類似度判定工程と、特定画像判定工程とを備え、前記特定画像判定工程は、前記類似度を所定の閾値と比較して、前記画像パターンを含む画像データが、前記印刷禁止パターンを含む特定画像のものであるか否かを判定する判定工程と、前記閾値として第1の閾値もしくはこの第1の閾値よりも高い第2の閾値を設定可能であり、前記画像データの画質の高低を決定する画質決定情報を取得し、この画質決定情報により示される前記画像データの画質が所定の基準値よりも高い場合に前記第1の閾値を設定し、前記画質が前記基準値以下である場合に前記第2の閾値を設定する閾値設定工程とを備えていることを特徴としている。 The image processing method of the present invention includes a similarity determination step of detecting an image pattern similar to a print prohibition pattern from image data, and determining a similarity of the detected image pattern to the print prohibition pattern, and a specific image determination step. And the specific image determination step determines whether the image data including the image pattern is that of the specific image including the print prohibition pattern by comparing the similarity with a predetermined threshold. And a first threshold value or a second threshold value higher than the first threshold value can be set as the threshold value, and image quality determination information for determining the image quality level of the image data is acquired. The first threshold value is set when the image quality of the displayed image data is higher than a predetermined reference value, and the second threshold value is set when the image quality is equal to or lower than the reference value. It is characterized in that a that the threshold setting step.
上記の構成によれば、類似度判定手段は(類似度判定工程では)、画像データから印刷禁止パターンに類似する画像パターンを検出し、検出した画像パターンの印刷禁止パターンに対する類似度を判定する。特定画像判定手段(特定画像判定工程)の閾値設定部は(閾値設定工程では)、第1の閾値もしくはこの第1の閾値よりも高い第2の閾値を設定可能であり、画像データの画質の高低を決定する画質決定情報を取得し、この画質決定情報により示される画像データの画質が所定の基準値よりも高い場合に第1の閾値を設定し、前記画質が前記基準値以下である場合に第2の閾値を設定する。特定画像判定手段(特定画像判定工程)の判定部は(判定工程では)、類似度判定手段(類似度判定工程)から得た類似度を閾値設定部(閾値設定工程)により設定された閾値、すなわち第1の閾値もしくは第2の閾値と比較して、前記画像パターンを含む画像データが、前記印刷禁止パターンを含む特定画像のものであるか否かを判定する。 According to the above configuration, the similarity determination unit (in the similarity determination step) detects an image pattern similar to the print prohibition pattern from the image data, and determines the similarity of the detected image pattern to the print prohibition pattern. The threshold value setting unit of the specific image determination means (specific image determination step) can set the first threshold value or a second threshold value higher than the first threshold value (in the threshold value setting step). When the image quality determination information for determining the height is acquired, the first threshold is set when the image quality of the image data indicated by the image quality determination information is higher than a predetermined reference value, and the image quality is equal to or less than the reference value A second threshold value is set for. The determination unit of the specific image determination unit (specific image determination step) (in the determination step) is a threshold set by the threshold setting unit (threshold setting step) with the similarity obtained from the similarity determination unit (similarity determination step), That is, it is compared with the first threshold value or the second threshold value to determine whether the image data including the image pattern is of a specific image including the print prohibition pattern.
ここで、印刷禁止パターン有無の判定対象となる画像データは、原稿画像を画像形成装置のスキャナ部で読み取り得られた相対的に高画質の画像データ、もしくは原稿画像をデジタルカメラやカメラ付き携帯電話などで撮影して得られた相対的に低画質の画像データである。印刷禁止パターンは、この印刷禁止パターンが付記された画像についての印刷の禁止を指示するものであり、例えば、特定の色を有し、特定の形状を持った複数個のマークが特定の位置関係にて並んでいるものである。また、特定画像判定手段(特定画像判定工程)の閾値設定部(閾値設定工程)が取得する画質決定情報は、例えば画像データの解像度、画像データがカラー画像データである場合の色数、あるいは画像データが圧縮されたものである場合の圧縮率などである。 Here, the image data to be subjected to determination of the presence or absence of the print prohibition pattern is relatively high-quality image data obtained by reading the document image with the scanner unit of the image forming apparatus, or the document image is converted into a digital camera or a camera-equipped mobile phone. This is image data of relatively low image quality obtained by photographing with the above. The print prohibition pattern is an instruction to prohibit printing of an image with the print prohibition pattern added. For example, a plurality of marks having a specific color and having a specific shape have a specific positional relationship. Are in line. The image quality determination information acquired by the threshold value setting unit (threshold value setting step) of the specific image determination unit (specific image determination step) is, for example, the resolution of the image data, the number of colors when the image data is color image data, or the image For example, the compression rate when the data is compressed.
相対的に高画質の画像データは、相対的に低画質の画像データよりも、印刷禁止パターンを含む画像データとそれ以外の画像データ(印刷禁止パターンを含まない画像データ)との判別を行い易い。これは、相対的に高画質の画像データでは、画像データに含まれる画像パターンが印刷禁止パターンである場合とそうでない場合とで、類似度判定手段(類似度判定工程)から得られる類似度の相違が顕著であることによる。したがって、特定画像判定手段(特定画像判定工程)の判定部(判定工程)は、相対的に低い閾値(第1の閾値)によっても、印刷禁止パターンを含む特定画像とそれ以外の一般画像との判定を正確に行うことができる。しかも、相対的に低い閾値(第1の閾値)を使用することにより、特定画像をそれ以外の一般画像と判定してしまう誤判定を低減することができる。 Relatively high-quality image data is easier to discriminate between image data including a print prohibition pattern and other image data (image data not including a print prohibition pattern) than image data of a relatively low image quality. . This is because, in relatively high-quality image data, the similarity obtained from the similarity determination means (similarity determination step) is different depending on whether the image pattern included in the image data is a print prohibition pattern or not. This is because the difference is remarkable. Therefore, the determination unit (determination step) of the specific image determination unit (specific image determination step) determines whether the specific image including the print prohibition pattern and the other general images are included even with a relatively low threshold (first threshold). Judgment can be made accurately. In addition, by using a relatively low threshold value (first threshold value), it is possible to reduce erroneous determinations that determine a specific image as another general image.
一方、相対的に低画質の画像データは、相対的に高画質の画像データよりも、印刷禁止パターンを含む画像データとそれ以外の画像データとの判別を行い難い。これは、相対的に低画質の画像データでは、画像データに含まれる画像パターンが印刷禁止パターンである場合とそうでない場合とで、類似度判定手段(類似度判定工程)から得られる類似度の相違が小さくなり、画像パターンが印刷禁止パターンでない場合であっても、類似度が高くなり勝ちであることによる。したがって、特定画像判定手段(特定画像判定工程)の判定部(判定工程)は、相対的に高い閾値(第2の閾値)を使用することにより、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定を低減することができる。なお、この場合、相対的に高い閾値(第2の閾値)を使用することにより、印刷禁止パターンを含む特定画像をそれ以外の一般画像と判定してしまう誤判定が増加することになる。しかしながら、そのような場合であっても、印刷を禁止されずに印刷された画像は、低画質の画像データに基づくものであるから、不正使用ができず、問題が生じ難い。 On the other hand, image data with relatively low image quality is more difficult to discriminate between image data including a print inhibition pattern and other image data than image data with relatively high image quality. This is because, in image data with relatively low image quality, the similarity obtained from the similarity determination means (similarity determination step) is different depending on whether the image pattern included in the image data is a print prohibition pattern or not. This is because even if the difference is small and the image pattern is not a print prohibition pattern, the degree of similarity is high and it is likely to win. Therefore, the determination unit (determination step) of the specific image determination unit (specific image determination step) uses a relatively high threshold value (second threshold value) to print a general image that does not include the print prohibition pattern. It is possible to reduce misjudgment that is judged as a specific image including. In this case, by using a relatively high threshold value (second threshold value), misjudgments that determine a specific image including a print prohibition pattern as a general image other than that increase. However, even in such a case, an image printed without being prohibited from being printed is based on low-quality image data, so that it cannot be used illegally and a problem does not easily occur.
上記のように、本願発明では、不正使用された場合の影響が高い、相対的に高画質の画像データに対しては、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止よりも、印刷禁止パターンを含む特定画像の検出を優先している。一方、不正使用された場合の影響が低い、相対的に低画質の画像データに対しては、印刷禁止パターンを含む特定画像の検出よりも、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止を優先している。これにより、画質が高い画像データおよび画質が低い画像データの両者に対して、印刷禁止パターンを含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止機能との両立が可能となっている。 As described above, in the present invention, for relatively high-quality image data that is highly affected by unauthorized use, a general image that does not include a print prohibition pattern is determined as a specific image that includes a print prohibition pattern. The detection of a specific image including a print prohibition pattern is prioritized over the prevention of erroneous determination. On the other hand, for relatively low-quality image data that is less affected by unauthorized use, a general print image that does not include a print prohibition pattern is used as a print prohibition pattern rather than detection of a specific image that includes a print prohibition pattern. Priority is given to prevention of misjudgment that is judged as a specific image to be included. As a result, for both high-quality image data and low-quality image data, a function that prevents a specific image including a print prohibition pattern from being used illegally and a print prohibition pattern not included in general It is possible to achieve compatibility with an erroneous determination prevention function that determines an image as a specific image including a print prohibition pattern.
上記の画像処理装置において、前記画質決定情報は前記画像データの解像度を示すものであってもよい。 In the image processing apparatus, the image quality determination information may indicate a resolution of the image data.
上記の構成によれば、解像度が高い画像データおよび解像度が低い画像データの両者に対して、印刷禁止パターンを含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止機能との両立が可能である。 According to the above configuration, a function for preventing a specific image including a print prohibition pattern from being used illegally for both high-resolution image data and low-resolution image data, and a print prohibition pattern It is possible to achieve compatibility with a function of preventing an erroneous determination that determines that a general image that does not include a specific image including a print prohibition pattern.
すなわち、解像度が高い画像データ(例えば解像度が100DPIよりも高い画像データ)は、解像度が低い画像データ(解像度が例えば100DPI以下の画像データ)よりも高画質であるため、画像データに含まれる画像パターンが印刷禁止パターンである場合とそうでない場合とで、類似度判定手段から得られる類似度の相違が顕著である。したがって、特定画像判定手段の判定部は、相対的に低い閾値(第1の閾値)によっても、印刷禁止パターンを含む特定画像とそれ以外の一般画像との判定を正確に行うことができる。しかも、相対的に低い閾値(第1の閾値)を使用することにより、特定画像をそれ以外の一般画像と判定してしまう誤判定を低減することができる。 That is, since image data with high resolution (for example, image data with a resolution higher than 100 DPI) has higher image quality than image data with low resolution (for example, image data with a resolution of 100 DPI or less), the image pattern included in the image data The difference in the degree of similarity obtained from the degree-of-similarity determination means is remarkable between when the pattern is a print prohibition pattern and when it is not. Therefore, the determination unit of the specific image determination unit can accurately determine the specific image including the print prohibition pattern and the other general image even with a relatively low threshold (first threshold). In addition, by using a relatively low threshold value (first threshold value), it is possible to reduce erroneous determinations that determine a specific image as another general image.
一方、解像度が低い画像データは、解像度が高い画像データよりも低画質であるため、画像データに含まれる画像パターンが印刷禁止パターンでない場合であっても、類似度が高くなる。したがって、特定画像判定手段の判定部は、相対的に高い閾値(第2の閾値)を使用することにより、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定を低減することができる。 On the other hand, since image data with a low resolution has a lower image quality than image data with a high resolution, the degree of similarity is high even when the image pattern included in the image data is not a print inhibition pattern. Therefore, the determination unit of the specific image determination unit uses a relatively high threshold value (second threshold value) to determine that a general image that does not include a print prohibition pattern is a specific image that includes a print prohibition pattern. Judgment can be reduced.
なお、偽造を防止すべき例えば紙幣や有価証券では、画像データの解像度が100DPI以下の画像の場合、画像が劣化しているので仮に印刷したとしても偽造物として通用しない。 For example, in the case of banknotes and securities that should be prevented from forgery, if the resolution of the image data is 100 DPI or less, the image is deteriorated, so even if it is printed, it cannot be used as a forgery.
上記の画像処理装置において、前記画像データはカラーの画像データであり、前記画質決定情報は前記画像データの色数を示すものであってもよい。 In the image processing apparatus, the image data may be color image data, and the image quality determination information may indicate the number of colors of the image data.
上記の構成によれば、色数が多い画像データおよび色数が少ない画像データの両者に対して、印刷禁止パターンを含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止機能との両立が可能である。 According to the above configuration, a function for printing a specific image including a print prohibition pattern and preventing unauthorized use on both image data with a large number of colors and image data with a small number of colors, and printing It is possible to achieve compatibility with a misjudgment preventing function that determines a general image that does not include a prohibition pattern as a specific image that includes a print prohibition pattern.
すなわち、色数が多い画像データ(色数が例えば262144色(RGBの各々6bit)よりも多い画像データ)は、色数が少ない画像データ(色数が例えば262144色(RGBの各々6bit)以下の画像データ)よりも高画質であるため、画像データに含まれる画像パターンが印刷禁止パターンである場合とそうでない場合とで、類似度判定手段から得られる類似度の相違が顕著である。したがって、特定画像判定手段の判定部は、相対的に低い閾値(第1の閾値)によっても、印刷禁止パターンを含む特定画像とそれ以外の一般画像との判定を正確に行うことができる。しかも、相対的に低い閾値(第1の閾値)を使用することにより、特定画像をそれ以外の一般画像と判定してしまう誤判定を低減することができる。 That is, image data with a large number of colors (image data with more colors than, for example, 262144 colors (6 bits for each of RGB)) is less than image data with a small number of colors (for example, 262144 colors (for each of 6 bits of RGB)). Since the image quality is higher than that of (image data), the difference in similarity obtained from the similarity determination means is significant between the case where the image pattern included in the image data is a print inhibition pattern and the case where it is not. Therefore, the determination unit of the specific image determination unit can accurately determine the specific image including the print prohibition pattern and the other general image even with a relatively low threshold (first threshold). In addition, by using a relatively low threshold value (first threshold value), it is possible to reduce erroneous determinations that determine a specific image as another general image.
一方、色数が少ない画像データは、色数が多い画像データよりも低画質であるため、画像データに含まれる画像パターンが印刷禁止パターンでない場合であっても、類似度が高くなる。したがって、特定画像判定手段の判定部は、相対的に高い閾値(第2の閾値)を使用することにより、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定を低減することができる。 On the other hand, image data with a small number of colors has a lower image quality than image data with a large number of colors, so that the degree of similarity is high even when the image pattern included in the image data is not a print inhibition pattern. Therefore, the determination unit of the specific image determination unit uses a relatively high threshold value (second threshold value) to determine that a general image that does not include a print prohibition pattern is a specific image that includes a print prohibition pattern. Judgment can be reduced.
上記の画像処理装置において、前記画像データは圧縮された状態で入力されたものであり、前記画質決定情報は前記画像データが入力されたときの圧縮率を示すものであってもよい。 In the image processing apparatus, the image data may be input in a compressed state, and the image quality determination information may indicate a compression rate when the image data is input.
上記の構成によれば、圧縮率が低い画像データおよび圧縮率が高い画像データの両者に対して、印刷禁止パターンを含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止機能との両立が可能である。 According to the above configuration, a function for printing a specific image including a print prohibition pattern and preventing unauthorized use on both image data with a low compression rate and image data with a high compression rate, and printing It is possible to achieve compatibility with a misjudgment preventing function that determines a general image that does not include a prohibition pattern as a specific image that includes a print prohibition pattern.
すなわち、圧縮率が低い画像データ(例えば、圧縮率>1/300の画像データ)は、圧縮率が高い画像データ(例えば、圧縮率≦1/300の画像データ)よりも高画質であるため、画像データに含まれる画像パターンが印刷禁止パターンである場合とそうでない場合とで、類似度判定手段から得られる類似度の相違が顕著である。したがって、特定画像判定手段の判定部は、相対的に低い閾値(第1の閾値)によっても、印刷禁止パターンを含む特定画像とそれ以外の一般画像との判定を正確に行うことができる。しかも、相対的に低い閾値(第1の閾値)を使用することにより、特定画像をそれ以外の一般画像と判定してしまう誤判定を低減することができる。 That is, image data with a low compression rate (for example, image data with a compression rate> 1/300) has higher image quality than image data with a high compression rate (for example, image data with a compression rate ≦ 1/300). The difference in the degree of similarity obtained from the degree-of-similarity determination unit is significant between the case where the image pattern included in the image data is a print prohibition pattern and the case where it is not. Therefore, the determination unit of the specific image determination unit can accurately determine the specific image including the print prohibition pattern and the other general image even with a relatively low threshold (first threshold). In addition, by using a relatively low threshold value (first threshold value), it is possible to reduce erroneous determinations that determine a specific image as another general image.
一方、圧縮率が高い画像データは、圧縮率が低い画像データよりも低画質であるため、画像データに含まれる画像パターンが印刷禁止パターンでない場合であっても、類似度が高くなる。したがって、特定画像判定手段の判定部は、相対的に高い閾値(第2の閾値)を使用することにより、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定を低減することができる。 On the other hand, since image data with a high compression rate has a lower image quality than image data with a low compression rate, the degree of similarity is high even when the image pattern included in the image data is not a print inhibition pattern. Therefore, the determination unit of the specific image determination unit uses a relatively high threshold value (second threshold value) to determine that a general image that does not include a print prohibition pattern is a specific image that includes a print prohibition pattern. Judgment can be reduced.
上記の画像処理装置において、前記印刷禁止パターンは、所定の位置関係に配置された複数のマークを含むものであり、前記類似度判定手段は、前記画像データから前記画像パターンについての特定色の画像データを検出し、その画像データを2値データとして出力する特定色検出部と、前記2値データから、前記画像パターンにおける前記複数のマークの相対的位置関係を検出し、検出結果を位置データとして出力する特定形状検出部と、前記位置データが示す前記複数のマークの相対的位置関係と実際の印刷禁止パターンにおける複数のマークの相対的位置関係とを比較し、前記印刷禁止パターンに対する前記画像パターンの類似度を算出する位置関係算出部とを備えている構成としてもよい。 In the above image processing apparatus, the print prohibition pattern includes a plurality of marks arranged in a predetermined positional relationship, and the similarity determination unit is configured to output an image of a specific color for the image pattern from the image data. A specific color detection unit that detects data and outputs the image data as binary data; detects a relative positional relationship between the plurality of marks in the image pattern from the binary data; and uses the detection result as position data The specific shape detection unit to be output is compared with the relative positional relationship between the plurality of marks indicated by the position data and the relative positional relationship between the plurality of marks in the actual print prohibition pattern, and the image pattern with respect to the print prohibition pattern It is good also as a structure provided with the positional relationship calculation part which calculates the similarity of these.
上記の構成によれば、類似度判定手段は特定色検出部、特定形状検出部および位置関係算出部を備える。特定色検出部は、画像データから特定色の画像データを検出し、その画像データを2値データとして出力する。特定形状検出部は、特定色検出手段から出力される2値データから複写禁止パターンにおける複数のマークの相対的位置関係を検出し、検出結果を位置データとして出力する。位置関係算出部は、特定色検出手段から出力される位置データが示す複数のマークの相対的位置関係と実際の印刷禁止パターンにおける複数のマークの相対的位置関係とを比較し、印刷禁止パターンに対する画像パターンの類似度を算出する。これにより、印刷禁止パターンが所定の位置関係に配置された複数のマークを含むものである場合に、画像データに含まれる画像パターンの印刷禁止パターンに対する類似度を適切に求めることができる。 According to said structure, a similarity determination means is provided with a specific color detection part, a specific shape detection part, and a positional relationship calculation part. The specific color detection unit detects image data of a specific color from the image data, and outputs the image data as binary data. The specific shape detection unit detects the relative positional relationship between a plurality of marks in the copy prohibition pattern from the binary data output from the specific color detection unit, and outputs the detection result as position data. The positional relationship calculation unit compares the relative positional relationship of the plurality of marks indicated by the positional data output from the specific color detection unit with the relative positional relationship of the plurality of marks in the actual printing prohibited pattern, and compares the relative positional relationship of the plurality of marks with respect to the printing prohibited pattern. The similarity between image patterns is calculated. Thereby, when the print prohibition pattern includes a plurality of marks arranged in a predetermined positional relationship, the similarity of the image pattern included in the image data to the print prohibition pattern can be appropriately obtained.
前記類似度判定手段は、前記特定形状検出部において前記2値データから前記印刷禁止パターンの前記複数のマークが検出された場合に、前記2値データの前記複数のマークの検出位置から所定範囲までの領域を検出結果を出力しないマスク領域とするにじみ補正部を備えている構成としてもよい。 When the specific shape detection unit detects the plurality of marks of the print prohibition pattern from the binary data, the similarity determination unit is configured to extend from a detection position of the plurality of marks of the binary data to a predetermined range. It is good also as a structure provided with the blur correction | amendment part which makes this area | region the mask area | region which does not output a detection result.
上記の構成によれば、にじみ補正部は、特定形状検出部において2値データから印刷禁止パターンの複数のマークが検出された場合に、複数のマークの検出位置から所定範囲までの領域を検出結果を出力しないマスク領域とする。したがって、例えば原稿画像の印刷やスキャナーでの画像読み取り段階において発生する画像のにじみにより、所定範囲内において印刷禁止パターンが複数検出される事態を防止することができる。 According to the above configuration, the blur correction unit detects a region from the detection position of the plurality of marks to the predetermined range when the specific shape detection unit detects a plurality of marks of the print prohibition pattern from the binary data. Is set as a mask area where no is output. Therefore, for example, it is possible to prevent a situation in which a plurality of print prohibition patterns are detected within a predetermined range due to blurring of an image generated at the time of printing an original image or reading an image with a scanner.
本発明の画像形成装置は、上記いずれかの画像処理装置と画像データに基づいて印刷を行う印刷手段とを備えている構成である。 An image forming apparatus of the present invention includes any one of the above-described image processing apparatuses and a printing unit that performs printing based on image data.
上記の構成によれば、印刷手段は、印刷を指示された画像データについて、その画像データが印刷禁止パターンを含む特定画像のものであるか否かという画像処理装置からの判定結果に基づき、印刷の可否を決定することができる。これにより、印刷手段において不正な印刷が行われる事態を防止することができる。 According to the above configuration, the printing unit performs printing based on the determination result from the image processing apparatus regarding whether or not the image data for which printing is instructed is that of the specific image including the print prohibition pattern. Can be determined. Thereby, it is possible to prevent a situation where unauthorized printing is performed in the printing unit.
以上のように、本発明の構成によれば、不正使用された場合の影響が高い、相対的に高画質の画像データに対しては、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止よりも、印刷禁止パターンを含む特定画像の検出を優先している。一方、不正使用された場合の影響が低い、相対的に低画質の画像データに対しては、印刷禁止パターンを含む特定画像の検出よりも、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止を優先している。これにより、画質が高い画像データおよび画質が低い画像データの両者に対して、印刷禁止パターンを含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止機能との両立が可能となっている。 As described above, according to the configuration of the present invention, a general image that does not include a print prohibition pattern is included in a print prohibition pattern with respect to relatively high-quality image data that is highly affected by unauthorized use. The detection of the specific image including the print prohibition pattern is prioritized over the prevention of the erroneous determination that the image is determined as the specific image. On the other hand, for relatively low-quality image data that is less affected by unauthorized use, a general print image that does not include a print prohibition pattern is used as a print prohibition pattern rather than detection of a specific image that includes a print prohibition pattern. Priority is given to prevention of misjudgment that is judged as a specific image to be included. As a result, for both high-quality image data and low-quality image data, a function that prevents a specific image including a print prohibition pattern from being used illegally and a print prohibition pattern not included in general It is possible to achieve compatibility with an erroneous determination prevention function that determines an image as a specific image including a print prohibition pattern.
本発明の実施の形態を図面に基づいて以下に説明する。
本発明の実施の形態における画像処理装置は、入力された画像データに含まれる画像パターンについて、印刷禁止パターン(特定パターン)との類似度を判定し、この類似度に基づいて、画像データが印刷禁止パターンを含む特定画像のものであるか否かを判定する機能を有する。この特定画像であるか否かの判定においては、判定の閾値として複数の閾値(第1の閾値、この第1の閾値よりも高い第2の閾値)のうちのいずれかを設定する。すなわち、前記画像データの画質の高低に基づき、画質が所定の基準値よりも高い場合に相対的には低い値の閾値(相対的に特定画像と判定され易い閾値:第1の閾値)を設定する。一方、画質が基準値以下である場合には相対的に高い閾値(相対的に特定画像と判定され難い閾値:第2の閾値)を設定する。
Embodiments of the present invention will be described below with reference to the drawings.
The image processing apparatus according to the embodiment of the present invention determines the similarity between an image pattern included in input image data and a print inhibition pattern (specific pattern), and the image data is printed based on the similarity. It has a function of determining whether the image is a specific image including a prohibited pattern. In determining whether the image is the specific image, one of a plurality of threshold values (first threshold value, second threshold value higher than the first threshold value) is set as a determination threshold value. That is, based on the level of image quality of the image data, when the image quality is higher than a predetermined reference value, a relatively low threshold value (a threshold value that is relatively easy to determine a specific image: a first threshold value) is set. To do. On the other hand, when the image quality is less than or equal to the reference value, a relatively high threshold (a threshold that is relatively difficult to determine as a specific image: a second threshold) is set.
図1は、本発明の実施の形態の画像処理装置が備える類似度判定部42の構成を示すブロック図である。この類似度判定部42は、入力された画像データにおいて印刷禁止パターン(複写刷禁止パターン)に類似する画像パターンを検出し、検出した画像パターンの印刷禁止パターンに対する類似度を算出して出力するものである。
FIG. 1 is a block diagram illustrating a configuration of a
印刷禁止パターンは、例えば紙幣、有価証券および機密書類などの印刷(複写)を禁止すべき原稿の画像中に含まれ、例えば、特定の色を有し、かつ印刷禁止パターンを構成する複数のマークが特定の位置関係に配置されている。 The print prohibition pattern is included in an image of a document that should be prohibited from printing (copying) such as banknotes, securities, and confidential documents. For example, a plurality of marks having a specific color and constituting the print prohibition pattern Are arranged in a specific positional relationship.
上記印刷禁止パターンの具体例を図2に示す。図2は、印刷禁止パターン71が付加された原稿73の一例を示す平面図である。図2に示すように、印刷禁止パターン71は、複数のマーク71aを有し、これらマーク71aが所定の位置関係を有して配置されている。図2の例では、印刷禁止パターン71は、原稿73に印刷された画像(図3では左側領域)の上部において、斜め1直線上に並んだ5個の正方形として記されている。この印刷禁止パターン71はカラー原稿では黄色にて記されている。なお、上記の複写禁止パターン71は一例であり、マーク71aの形状、数、配置間隔および並び方向、並びに色は上記のものに限定されない。
A specific example of the print inhibition pattern is shown in FIG. FIG. 2 is a plan view showing an example of a
類似度判定部42は、図18に示すように、特定画像判定部43とともに画像処理部41を構成する。この画像処理部41は、例えばカラースキャナおよびプリンタと接続して使用され、カラースキャナから入力した画像データを処理し、その画像データをプリンタに出力する。また、デジタルカメラなどの撮像装置から入力した画像データを処理し、その画像データをプリンタに出力する。このうち、画像処理部41は、特に後者の使用形態において良好な機能を有する。
As illustrated in FIG. 18, the
図3は、本実施の形態の画像処理部41を備えた複写機等の画像形成装置49の構成を示すブロック図である。この画像形成装置49は、カラースキャナ30、画像処理部41、操作部31、プリンタコントローラ36、各種のインターフェース(I/F)37、画像加工部33、印刷制御部34および印刷部35を備えている。
FIG. 3 is a block diagram illustrating a configuration of an
画像処理部41には、カラースキャナ30にて読み取られた原稿の画像データ(RGBのデータ)が入力される。また、例えばデジタルカメラにより撮影して得られた画像がインターフェース37およびプリンタコントローラ36を介して入力される。画像加工部33は、画像処理部41にて処理された画像データを印刷用の画像データに加工する。印刷部35は、プリンタとしての機能を有し、画像加工部33から出力された画像データを用紙上に印刷する。印刷制御部34は印刷部35の動作を制御する。
Image data (RGB data) of a document read by the
印刷制御部34は、具体的には、印刷を指示された画像データについて、図18に示す画像処理部41から印刷禁止パターン71を含む特定画像との判定結果を得た場合、印刷部35による印刷動作を停止する、例えば操作パネルにおいて警告を表示する、並びに画像メモリ(HDD(ハードディスクドライブ)38およびメモリ39)が記憶する対象画像データを消去するなどの処理を行う。
Specifically, when the
類似度判定部42は、図1に示すように、画像伸張部9、色変換部10、解像度変換部23、特定色検出部1、特定形状検出部2および位置関係算出部3を備えている。
As shown in FIG. 1, the
画像伸張部9は、図3に示したすプリンタコントローラ36から送られてきた画像データ(例えばデジタルカメラにより撮影して得られた画像データ)がJPEGなどの圧縮データであった場合に、その画像データを伸張しビットマップデータに変換する。
When the image data sent from the
色変換部10は、上記プリントコントローラ36から送られてきた画像データが、YMC(黄・マゼンタ・シアン)やYMCK(黄・マゼンタ・シアン・黒)など、RGBでなかった場合に、RGB(赤・緑・青)各々8ビット(bit)の画像に変換する。
When the image data sent from the
解像度変換部23は、例えば図3に示すカラースキャナ30あるいはデジタルカメラなどの画像入力装置から入力した画像データを一定の解像度に変換し、特定色検出部1に出力する。図1に示す例では、プリンタコントローラ36からRGBそれぞれ8ビットの画像データが解像度変換部23に入力されている。なお、解像度変換部23による解像度変換処理では、入力画像データの解像度が本実施の形態の画像処理装置が画像データを処理する上での基準解像度の300DPI(DOT PER INCH)でなかった場合に、300DPIに変換する。
The
特定色検出部1は、解像度変換部23より入力した画像データから特定色の画像データを検出し、その画像データを2値化して特定形状検出部2に出力する。ここで、上記特定色の画像データとは、入力画像データに含まれる、特定の色を有する印刷禁止パターン71の画像データである。本実施の形態の画像処理装置では、黄色の印刷禁止パターン71を検出する1個の特定色検出部1を備えた構成としているが、黄色の印刷禁止パターン71に加えて赤色の印刷禁止パターン71を検出する場合には、検出対象の色の印刷禁止パターン71に応じて、2個の特定色検出部1を備える構成としてもよい。特定色検出部1は、特定色を検出するために、色差分演算部6、比較器7および設定レジスタ8を備えている。
The specific
特定形状検出部2は、特定色検出部1より入力した2値の画像データから印刷禁止パターン71を示す特定形状およびその位置を検出し、特定形状についての位置データとして位置関係算出部3に出力する。この特定形状検出部2は、検出動作部14、にじみ補正部18およびメモリ19を備えている。
The specific
検出動作部14は形状識別部13およびメモリ12を備えている。形状識別部13は、印刷禁止パターン71のマーク71aを示す例えば薄い特定色の2値の画像データから特定形状(本実施の形態では正方向)およびその位置を検出する。メモリ12は、形状識別部13が上記処理を行う場合に、複数ラインの画像データを一時的に記憶する。
The
なお、形状識別部13は、上記のように、特定色検出部1が印刷禁止パターン71の色数に応じて複数個設けられている場合には、各色の特定色検出部1に対応して複数個設けられる。この場合、印刷禁止パターン71は小さな形状の複数のマーク71aからなるので、メモリ12は、複数個の形状識別部13が設けられていても回路規模が大きくなることはない。また、形状識別部13が複数個設けられている場合、各形状識別部13の検出結果は、位置関係算出部に送られる。
As described above, the
にじみ補正部18は、検出動作部14にて特定形状(印刷禁止パターン71を構成するマーク71aの形状(本実施の形態では正方向))が検出された場合に、その特定形状の位置から所定範囲内の領域の画像データ(画素)をマスク領域とする。これにより、本来1個の特定形状(印刷禁止パターン71)が、例えば画像を読み取ったときの撮像機器の画像読み取り段階において手振れなどによって発生する画像のにじみにより、所定範囲内において複数検出される事態を防止する。メモリ19は、にじみ補正部18が上記処理を行う場合に、複数ラインの画像データを一時的に記憶する。なお、にじみ補正部18は、特定形状検出部2が複数個設けられている場合には、それら複数個の特定形状検出部2により1個を共有する構成としてもよい。
When the
位置関係算出部3は、メモリ20、ベクトル演算部21および類似度算出部22を備えている。ベクトル演算部21は、特定形状検出部2から入力された特定形状(印刷禁止パターン71)の位置データに基づいてベクトル演算を行い、その位置データが印刷禁止パターン71を示すものであるか否かを判定する。メモリ20は、ベクトル演算部21が上記動作を行う場合の作業領域となる。類似度算出部22は、ベクトル演算部21において上記位置データが印刷禁止パターン71を示すものと判定された場合に、上記特定形状の印刷禁止パターン71に対する類似度を算出して出力する。
The positional
次に、類似度判定部42の上記の各部についてさらに詳細に説明する。
図4は、図1に示した解像度変換部23の構成を示すブロック図である。
Next, each part of the
FIG. 4 is a block diagram showing a configuration of the
解像度変換部23は、図4に示すように、主走査変換部61、副走査変換部62、メモリ63および設定レジスタ64を備えている。
As shown in FIG. 4, the
主走査変換部61は、画像データについて主走査方向の解像度を一定の解像度に変換する。例えば、600DPIのRGB各々8bit(256階調)の画像データを、2画素の平均値を取ることによって300DPIに変換する。
The main
副走査変換部62は、同様に画像データについて副走査方向の解像度を一定の解像度に変換する。主走査方向と同様、例えば、600DPIのRGB各々8bitの画像データを、2画素の平均値を取ることによって300DPIに変換する。ただし、副走査方向においては、光学系の移動速度の設定により画像を変倍することがあり、解像度変換の倍率が一定ではない。このため、副走査方向においては、解像度を設定レジスタ64に設定された倍率に従って変倍する。メモリ63は、副走査変換部62による副走査方向の解像度変換動作の際に、副走査方向の複数ラインのデータを一時的に記憶する。
Similarly, the
次に、特定色検出部1を図5に基づいて説明する。図5は、特定色検出部1の構成を示すブロック図である。
Next, the specific
特定色検出部1の色差分演算部6は、解像度変換部23より入力したR(赤)、G(緑)、B(青)の各々8bitの画像データから、G−R(緑と赤の色差)、G−B(緑と青の色差)、R−B(赤と青の色差)を計算する。これにより得られたデータ(色差信号)は負になることがあるので9bitになる。そして、色差分演算部6は、R、G、B、G−R、G−B、R−Bの6種類のデータを比較器7に出力する。
The color
設定レジスタ8は、R、G、B、G−R、G−B、R−Bの6個のパラメータのそれぞれについて、特定色を検出するための濃度の最大値(上限の閾値)および最小値(下限の閾値)を設定する。
The
比較器7は、色差分演算部6から入力した画像データの6個のパラメータと、設定レジスタ8において各パラメータ毎に設定されている最大値および最小値とを比較し、比較結果を2値データとして出力する。すなわち、6個のパラメータの全てが、対応する最大値以下かつ最大値以上である場合には1を出力し、それ以外の場合には0を出力する。このように、出力値を2値化することで、RGB各々8bitの画像データは、1bitとなり、データ量が1/24となる。
The
ここで、設定レジスタ8に設定される上記最大値および最小値の具体例を示す。255が薄い色、0が濃い色、特定色が黄色の場合、特定色を検出するには、R_min=160,R_max=230、G_min=160,G_max=215、B_min=90,B_max=150、G−R_min=−25,G−R_max=10、G−B_min=20,G−B_max=105、R−B_min=50,R−B_max=130に設定する。
Here, specific examples of the maximum value and the minimum value set in the
また、図6には、黄色についての設定レジスタ8に設定される上記最大値および最小値、すなわち黄色の色フィルタ閾値の一例を示す。図6は、具体的には、印刷禁止パターン71が黄色域である場合に対応するものであり、6個の範囲は、上から順番に、薄い黄色域、濃い黄色域、赤域、薄い黒域、濃い黒域を示している。
FIG. 6 shows an example of the maximum value and the minimum value set in the
特定形状検出部2では、特定色検出部1から入力した2値データに基づいて、特定形状(印刷禁止パターン71)を検出する。
The specific
図7は、形状識別部13がテンプレートマッチングに使用するテンプレートの一例を示す説明図である。上記特定形状検出動作において、特定形状検出部2の形状識別部13は、図7に示すように、例えば15(主走査方向15画素)×15(副走査方向15ライン)のテンプレートを使用する。
FIG. 7 is an explanatory diagram illustrating an example of a template used by the
図8は、特定形状検出部2の検出動作部14における形状識別部13のテンプレートマッチングによる特定形状検出動作を示す説明図である。形状識別部13は、上記特定形状検出動作において、図8に示すように、テンプレート51を主走査方向に1画素ずつずらしながらテンプレートマッチングを行う。左端から右端までの主走査方向の処理が終了すると、テンプレート51の位置を1ライン下のラインに移動し、同様にしてテンプレートマッチングを行う。なお、図8におけるエリアEは、印刷禁止パターンが検出される可能性があるエリアであり、エリアFは、印刷禁止パターンが一切検出されないエリアである。
FIG. 8 is an explanatory diagram illustrating a specific shape detection operation by template matching of the
図8の例では、印刷1枚分(300DPI:H4000画素×V9450画素)のデータ処理として、主走査方向へは15画素のウインドで(4000−15)回のスキャンを行い、副走査方向へは15画素×15ラインのウインドで(9450−15)回のスキャンを行う。 In the example of FIG. 8, as data processing for one print (300 DPI: H4000 pixels × V9450 pixels), scanning in the main scanning direction is performed (4000-15) times with a window of 15 pixels, and in the sub-scanning direction. A (9450-15) scan is performed in a window of 15 pixels × 15 lines.
次に、形状識別部13による特定形状(印刷禁止パターン71)を検出するためのテンプレートマッチングについてさらに詳細に説明する。
Next, template matching for detecting a specific shape (printing prohibition pattern 71) by the
図9(a)〜図9(e)は、15(主走査方向15画素)×15(副走査方向15ライン)のテンプレート51において、印刷禁止パターン71を検出するために設定されている複数の処理領域を示す説明図である。すなわち、テンプレート51は、図9(a)に示す周辺部白判定領域51a、図9(b)に示す周辺部カウント領域51b、図9(c)に示す第1中心部カウント領域51c、図9(d)に示す第2中心部カウント領域51d、および図9(e)に示す第3中心部カウント領域51eを有する。形状識別部13では、印刷禁止パターン71を検出するためのテンプレートマッチングにおいて、これら各領域における、2値データの1の数、すなわち例えば特定色の画素の数(2値データでは黒画素の数)をカウントし、そのカウント値を設定値と比較することで、特定形状(印刷禁止パターン71)が含まれているか否かを判別する。
FIGS. 9A to 9E show a plurality of
図10(a)は、テンプレート51の周辺部白判定領域51aを示す説明図であり、図10(b)は、形状識別部13における上記周辺部白判定領域51aを使用した周辺部白判定動作のための具体的構成を示す説明図である。図10(b)に示すように、形状識別部13は、周辺部白判定動作のためにNOR回路52を備えている。この周辺部白判定動作では、周辺部白判定領域51aにおいて特定色の画素の数(2値データでは黒画素の数)が例えば0の場合に特定形状(印刷禁止パターン71)有りの条件を満たす。
FIG. 10A is an explanatory diagram showing the peripheral
図11(a)は、テンプレート51の周辺部カウント領域51bを示す説明図であり、図11(b)は、形状識別部13における上記周辺部カウント領域51bを使用した周辺部カウント動作のための具体的構成を示す説明図である。図11(b)に示すように、形状識別部13は、周辺部カウント動作のために、カウンタ53および比較器54を備える。この周辺部カウント動作では、周辺部カウント領域51bにおいてカウンタ53が計数する特定色の画素の数(2値データでは黒画素の数)Aが例えばレジスタ設定値B以下の場合に特定形状(印刷禁止パターン71)有りの条件を満たす。
FIG. 11A is an explanatory diagram showing a
図12(a)は、テンプレート51の第1中心部カウント領域51cを示す説明図であり、図12(b)は、形状識別部13における上記第1中心部カウント領域51cを使用した第1中心部カウント動作のための具体的構成を示す説明図である。図12(b)に示すように、形状識別部13は、第1中心部カウント動作のために、カウンタ55および比較器56を備える。この第1中心カウント動作では、第1中心部カウント領域51cにおいてカウンタ55が計数する特定色の画素の数(2値データでは黒画素の数)Aが例えばレジスタ設定値B以下の場合に特定形状(印刷禁止パターン71)有りの条件を満たす。
FIG. 12A is an explanatory view showing the first
図13(a)は、テンプレート51の第2中心部カウント領域51dを示す説明図であり、図13(b)は、形状識別部13における上記第2中心部カウント領域51dを使用した第2中心部カウント動作のための具体的構成を示す説明図である。図13(b)に示すように、形状識別部13は、第2中心部カウント動作のために、カウンタ57および比較器58を備える。この第2中心カウント動作では、第2中心部カウント領域51dにおいてカウンタ57が計数する特定色の画素の数(2値データでは黒画素の数)Aが例えばレジスタ設定値B以下かつレジスタ設定値C以上の場合に特定形状(印刷禁止パターン71)有りの条件を満たす。
FIG. 13A is an explanatory diagram showing the second
図14(a)は、テンプレートの第3中心部カウント領域51eを示す説明図であり、図14(b)は、形状識別部13における上記第3中心部カウント領域51eを使用した第3中心部カウント動作のための具体的構成を示す説明図である。図14(b)に示すように、形状識別部13は、第3中心部カウント動作のために、カウンタ59および比較器60を備える。この第3中心カウント動作では、第3中心部カウント領域51eにおいてカウンタ59が計数する特定色の画素の数(2値データでは黒画素の数)Aが例えばレジスタ設定値B以上の場合に特定形状(印刷禁止パターン71)有りの条件を満たす。
FIG. 14A is an explanatory view showing a third central
そして、形状識別部13では、周辺部白判定、周辺部カウント、第1中心部カウント、第2中心部カウントおよび第3中心部カウントの全ての動作において、特定形状(印刷禁止パターン71)有りの条件が満たされた場合に、画像データ中に特定形状(印刷禁止パターン71)有りと判定する。
The
特定形状検出部2は、テンプレートマッチングが成立した場合、すなわち画像データ中に特定形状(印刷禁止パターン71)有りと判定した場合に、そのときのテンプレート51の左上の画素位置の座標が1になるようなデータを位置関係算出部3に出力する。
When the template matching is established, that is, when it is determined that there is a specific shape (printing prohibition pattern 71) in the image data, the specific
図15はにじみ補正部18の動作の説明図である。にじみ補正部18は、特定形状検出部2において特定形状(印刷禁止パターン71)が検出された場合に、その印刷禁止パターン71の位置をテンプレートマッチングポイントとして記す。そして、このテンプレートマッチングポイントから、例えば後ろ14画素および副走査方向の後ろ14ラインをマスク領域とする。これにより、特定形状検出部2からは、上記マスク領域内において特定形状(印刷禁止パターン71)が検出されても位置関係算出部3に対して特定形状(印刷禁止パターン71)有りの検出結果(位置データ)が出力されない。この結果、所定領域内において本来一つの印刷禁止パターン71が複数個の印刷禁止パターン71として検出される事態を防止する。
FIG. 15 is an explanatory diagram of the operation of the
図16は、位置関係算出部3が使用するテンプレート72の説明図である。図2に示したように、本実施の形態において、印刷禁止パターン71は5個のマーク71aが直線状に並んでいる。そこで、位置関係算出部3は、図16に示すような101(主走査方向画素数)×101(副走査方向画素数)のテンプレートを使用する。このテンプレート72では、印刷禁止パターン71の5個のマーク71aの位置が、P0、P1、P2、P3、P4となっている。これら、5個の位置P0、P1、P2、P3、P4は直線状に並んでおり、位置P2を中心とし、位置P0、P1、P3、P4を通る4個のリングパターンを有する。
FIG. 16 is an explanatory diagram of the
位置関係算出部3のベクトル演算部21は、上記テンプレート72を使用し、特定形状検出部2から入力された位置データについて、1個のマーク71aを中心とし、他の4個のマーク71aが4個のリング上に位置する条件に適合するか否かを判断する。次に、上記位置データが上記条件に適合する場合に、上記位置データに対してベクトル演算を行い、上記位置データによって示されるマーク(マーク71aに対応)が直線状に配置されている条件に適合するか否かを判断する。そして、この条件に適合する場合、位置関係算出部3の類似度算出部22は、印刷禁止パターン71に対しての上記位置データによって示される特定形状の類似度を算出し、算出結果を図3に示す印刷制御部34に出力する。
The
印刷制御部34は、例えば本実施の形態の特定画像判定部41が備えられている複写機等の画像形成装置49における印刷動作(複写動作)を制御するものである。具体的には、印刷制御部34は、位置関係算出部3の類似度算出部22から入力した類似度に応じて、画像形成装置49の印刷動作を停止する処理、例えば操作パネルにおいて警告を表示する処理、並びに画像メモリが記憶する対象画像データを消去する処理などを行う。
The
図17は、上記画像形成装置49を備えた画像形成システム90の構成を示す模式図である。図17に示すように、画像形成システム90は、画像形成装置49とデジタルカメラ92、ノート形パーソナルコンピュータ(以下、ノートPCと称する)93およびパーソナルコンピュータ(以下、PCと称する)94とがネットワーク91を介して接続されている。
FIG. 17 is a schematic diagram illustrating a configuration of an
画像形成装置49には、カラースキャナ42にて読み取られた画像、デジタルカメラ92にて撮影された画像、並びに例えばインターネットなどのコンピュータネットワークを介してノートPC93やPC94に取り込まれた画像などの処理対象画像がネットワーク91を介して入力され、要求に応じて適宜印刷される。この場合、画像形成装置49では、特定画像判定部41による印刷禁止パターン検出機能(印刷禁止パターンに類似する画像パターンの有無判定機能)により、上記処理対象画像における印刷禁止パターン71の有無を判別し、印刷禁止パターン71有りと判定した処理対象画像については、印刷を禁止し、かつその画像データを図3に示した画像加工部33のHDD(ハードディスクドライブ)38およびメモリ39から消去する。これにより、紙幣および有価証券を偽造したり、機密書類を複写したりすることを防止できる。
The
図18は、図1に示した類似度判定部42、および特定画像判定部43を備えた画像処理部41の構成を示すブロック図である。類似度判定部42は、前述のように、入力された画像データにおいて印刷禁止パターン71に類似する画像パターンを検出し、検出した画像パターンの印刷禁止パターン71に対する類似度を算出するものである。
FIG. 18 is a block diagram illustrating a configuration of the
特定画像判定部43は、判定部44および閾値設定部45を備えている。判定部44は、類似度判定部42から提供される、判定対象である画像データについての類似度を所定の閾値と比較して、その画像データが印刷禁止パターン71を含む特定画像のものであるか否かを判定する。
The specific
閾値設定部45は、判定部44が使用する閾値として第1の閾値もしくはこの第1の閾値よりも高い第2の閾値を設定する。この場合、閾値設定部45は、画像データの画質の高低を決定する画質決定情報を取得し、この画質決定情報により示される上記画像データの画質が所定の基準値よりも高い場合に第1の閾値を設定し、画質が基準値以下である場合に第2の閾値を設定する。
The
なお、図3に示した画像形成装置49において、特定画像判定部43は、画像処理部41ではなく、画質決定情報34が備えていてもよい。
In the
上記画質決定情報とは、例えば画像データの解像度、画像データがカラー画像データである場合の色数、あるいは画像データが圧縮されたものである場合の圧縮率などである。
このうち、画像データの解像度は画像データのヘッダー部から取得することができ、画像データの色数は画像データのヘッダー部から取得することができ、画像データの圧縮率は画像データのヘッダー部から取得することができる。
The image quality determination information is, for example, the resolution of image data, the number of colors when the image data is color image data, or the compression rate when the image data is compressed.
Among these, the resolution of the image data can be obtained from the header portion of the image data, the number of colors of the image data can be obtained from the header portion of the image data, and the compression rate of the image data can be obtained from the header portion of the image data. Can be acquired.
例えば、画像データの画質を解像度から判断した場合、相対的に解像度が高い画像データは、解像度が低い画像データよりも高画質である。このため、画像データに含まれる画像パターンが印刷禁止パターン71である場合とそうでない場合とで、類似度判定部42から得られる類似度の相違は顕著である。したがって、特定画像判定部43の判定部44は、相対的に低い閾値(第1の閾値)によっても、印刷禁止パターン71を含む特定画像とそれ以外の一般画像との判定を正確に行うことができる。しかも、相対的に低い閾値(第1の閾値)を使用することにより、特定画像をそれ以外の一般画像と判定してしまう誤判定を低減することができる。
For example, when the image quality of image data is determined from the resolution, image data with a relatively high resolution has higher image quality than image data with a low resolution. For this reason, the difference in the degree of similarity obtained from the degree-of-
一方、解像度が低い画像データは、解像度が高い画像データよりも低画質である。このため、画像データに含まれる画像パターンが印刷禁止パターン71でない場合であっても、類似度判定部42にて判定される類似度が高くなる。したがって、特定画像判定部43の判定部44は、相対的に高い閾値(第2の閾値)を使用することにより、印刷禁止パターン71を含まない一般画像を印刷禁止パターン71を含む特定画像と判定してしまう誤判定を低減することができる。
On the other hand, image data with a low resolution has lower image quality than image data with a high resolution. For this reason, even when the image pattern included in the image data is not the
なお、偽造を防止すべき例えば紙幣や有価証券では、画像データの解像度が低い場合(例えば100DPI以下の場合)、画像が劣化しているので仮に印刷したとしても偽造物として通用しない。 Note that, for example, banknotes and securities that should be prevented from forgery, when the resolution of the image data is low (for example, 100 DPI or less), the image is degraded, so even if it is temporarily printed, it cannot be used as a forgery.
これにより、解像度が高い画像データおよび解像度が低い画像データの両者に対して、印刷禁止パターンを含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターンを含まない一般画像を印刷禁止パターンを含む特定画像と判定してしまう誤判定の防止機能との両立が可能である。 As a result, for both high-resolution image data and low-resolution image data, a function that prevents a specific image including a print prohibition pattern from being used illegally and a print prohibition pattern not included in general It is possible to achieve compatibility with an erroneous determination prevention function that determines an image as a specific image including a print prohibition pattern.
また、画像データの画質を画像データの色数から判断した場合、色数が多い画像データは、色数が少ない画像データよりも高画質である。このため、画像データに含まれる画像パターンが印刷禁止パターン71である場合とそうでない場合とで、類似度判定部42から得られる類似度の相違は顕著である。したがって、特定画像判定部43の判定部44は、相対的に低い閾値(第1の閾値)によっても、印刷禁止パターン71を含む特定画像とそれ以外の一般画像との判定を正確に行うことができる。しかも、相対的に低い閾値(第1の閾値)を使用することにより、特定画像をそれ以外の一般画像と判定してしまう誤判定を低減することができる。
Further, when the image quality of the image data is determined from the number of colors of the image data, the image data having a large number of colors has higher image quality than the image data having a small number of colors. For this reason, the difference in the degree of similarity obtained from the degree-of-
一方、色数が少ない画像データは、色数が多い画像データよりも低画質であるため、画像データに含まれる画像パターンが印刷禁止パターン71でない場合であっても、類似度が高くなる。したがって、特定画像判定部43の判定部44は、相対的に高い閾値(第2の閾値)を使用することにより、印刷禁止パターン71を含まない一般画像を印刷禁止パターン71を含む特定画像と判定してしまう誤判定を低減することができる。
On the other hand, image data with a small number of colors has a lower image quality than image data with a large number of colors, and therefore the degree of similarity is high even when the image pattern included in the image data is not the
これにより、色数が多い画像データおよび色数が少ない画像データの両者に対して、印刷禁止パターン71を含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターン71を含まない一般画像を印刷禁止パターン71を含む特定画像と判定してしまう誤判定の防止機能との両立が可能である。
As a result, a function for preventing a specific image including the
また、画像データの画質を画像データの圧縮率から判断した場合、圧縮率が低い画像データは、圧縮率が高い画像データよりも高画質である。このため、画像データに含まれる画像パターンが印刷禁止パターン71である場合とそうでない場合とで、類似度判定部42から得られる類似度の相違は顕著である。したがって、特定画像判定部43の判定部44は、相対的に低い閾値(第1の閾値)によっても、印刷禁止パターン71を含む特定画像とそれ以外の一般画像との判定を正確に行うことができる。しかも、相対的に低い閾値(第1の閾値)を使用することにより、特定画像をそれ以外の一般画像と判定してしまう誤判定を低減することができる。
Further, when the image quality of the image data is determined from the compression rate of the image data, the image data with a low compression rate has higher image quality than the image data with a high compression rate. For this reason, the difference in the degree of similarity obtained from the degree-of-
一方、圧縮率が高い画像データは、圧縮率が低い画像データよりも低画質であるため、画像データに含まれる画像パターンが印刷禁止パターン71でない場合であっても、類似度が高くなる。したがって、特定画像判定部43の判定部44は、相対的に高い閾値(第2の閾値)を使用することにより、印刷禁止パターン71を含まない一般画像を印刷禁止パターン71を含む特定画像と判定してしまう誤判定を低減することができる。
On the other hand, since image data with a high compression rate has a lower image quality than image data with a low compression rate, even if the image pattern included in the image data is not the
これにより、圧縮率が低い画像データおよび圧縮率が高い画像データの両者に対して、印刷禁止パターン71を含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターン71を含まない一般画像を印刷禁止パターン71を含む特定画像と判定してしまう誤判定の防止機能との両立が可能である。
As a result, a function for preventing a specific image including the
図19から図21は、画像処理部41を備える図3に示した画像形成装置49の動作を示すフローチャートである。図19は、上記画質決定情報が画像データの解像度を示すものである場合の画像形成装置49の動作を示すものである。
19 to 21 are flowcharts showing the operation of the
図19に示すように、画像形成装置49においては、操作部31へのユーザの操作により各種モード設定が行われる(S1)。このモード設定は、画像形成装置49を、例えばモノクロモード、フルカラーモードあるいは自動モードに設定するものである。
As shown in FIG. 19, in the
次に、操作部31のスタートキーがオンされると(S2)、画像形成装置49では一連の印刷動作を開始する(S3)。
Next, when the start key of the
次に、画像処理部41の類似度判定部42では、カラースキャナ30、またはインターフェース37およびプリンタコントローラ36を介して入力された画像データを処理対象画像データとし、この処理対象画像データにおいて、印刷禁止パターン71に類似する画像パターンを検出する。そして、検出した画像パターンの印刷禁止パターン71に対する類似度を算出する。次に、画像処理部41の特定画像判定部43では、上記類似度が第1の閾値以上であるか否かを判定部44が判定する(S4)。この判定の結果、類似度が第1の閾値未満であれば、処理がS8に進む。
Next, the
一方、S4の判定において、上記類似度が第1の閾値以上であれば、特定画像判定部43の閾値設定部45は、画質決定情報によって示される処理対象画像データの解像度が所定の基準値(100DPI)以下であるか否かを判定する(S5)。
On the other hand, in the determination of S4, if the similarity is greater than or equal to the first threshold, the
S5での判定の結果、処理対象画像データの解像度が上記基準値よりも高ければ、処理がS7に進む。一方、S5での判定の結果、処理対象画像データの解像度が上記基準値以下であれば、閾値設定部45は判定部44が使用する閾値として、第1の閾値よりも高い第2の閾値を設定する。その後、判定部44は第2の閾値を使用して、上記類似度が第2の閾値以上であるか否かを判定する(S6)。
As a result of the determination in S5, if the resolution of the processing target image data is higher than the reference value, the process proceeds to S7. On the other hand, as a result of the determination in S5, if the resolution of the processing target image data is equal to or lower than the reference value, the
S6での判定の結果、上記類似度が第2の閾値未満であれば、処理がS8に進む一方、S6での判定の結果、上記類似度が第2の閾値以上であれば、処理がS7に進む。 As a result of the determination in S6, if the similarity is less than the second threshold, the process proceeds to S8. On the other hand, as a result of the determination in S6, if the similarity is equal to or greater than the second threshold, the process proceeds to S7. Proceed to
S7では、判定部44は、処理対象画像データは特定画像のものであるという判定結果を出力する。この判定結果を受けた印刷制御部34は、画像加工部33および印刷部35に特定画像検知コマンドを発行し、印刷動作を停止させる。
In S <b> 7, the
画像加工部33では、特定画像検知コマンドを受信すると(S8)、処理対象画像データに対する処理を中断し、HDD38およびメモリ39に格納されている処理対象画像データを消去し(S9)、処理を終了する。
When receiving the specific image detection command (S8), the
一方、画像加工部33では、S8において、印刷制御部34から特定画像検出コマンドを受信しなければ、処理対象画像データをHDD38に保存するとともに、保存した画像データを読み出す(S10)。
On the other hand, if the specific image detection command is not received from the
次に、画像加工部33は、読み出した処理対象画像データに対して、印刷のための所定の画像処理を行い、印刷部35に出力する。印刷部34では、画像加工部33から入力された処理対象画像データを用紙上に可視像として印刷する。
Next, the
なお、上記の処理では、S5での判定の結果、処理対象画像データの解像度が上記基準値よりも高い場合、およびS5での判定の結果、処理対象画像データの解像度が上記基準値以下であり、かつS6での判定の結果、類似度が第2の閾値以上である場合に、S7においていずれも同様に印刷動作を停止する構成となっている。しかしながら、これに代えて、S5での判定の結果、処理対象画像データの解像度が上記基準値よりも高い場合には、印刷動作を停止し、かつ管理者に警告メールを送信する一方、S5での判定の結果、処理対象画像データの解像度が上記基準値以下であり、かつ類似度が第2の閾値以上である場合には、印刷動作を停止せず、管理者に警告メールを送信する構成としてもよい。このように、処理対象画像データの解像度が上記基準値以下の場合に印刷を許可するのは、その画像データを印刷しても印刷物を不正使用することが困難であることによる。 In the above process, when the resolution of the processing target image data is higher than the reference value as a result of the determination in S5, and as a result of the determination in S5, the resolution of the processing target image data is less than the reference value. When the similarity is equal to or greater than the second threshold as a result of the determination in S6, the printing operation is similarly stopped in S7. However, instead of this, if the resolution of the processing target image data is higher than the reference value as a result of the determination in S5, the printing operation is stopped and a warning mail is sent to the administrator, while in S5 As a result of the determination, if the resolution of the processing target image data is equal to or lower than the reference value and the similarity is equal to or higher than the second threshold value, a warning mail is transmitted to the administrator without stopping the printing operation. It is good. As described above, the reason why printing is permitted when the resolution of the processing target image data is equal to or lower than the reference value is that it is difficult to illegally use the printed matter even if the image data is printed.
図20は、上記画質決定情報が画像データの色数を示すものである場合の画像形成装置49の動作を示すものである。
FIG. 20 shows the operation of the
図20に示すように、画像形成装置49においては、操作部31への各種モード設定(S21)、スタートキーのオンが行われると(S22)、一連の印刷動作を開始する(S23)。
As shown in FIG. 20, in the
次に、画像処理部41の類似度判定部42では、処理対象画像データにおいて、印刷禁止パターン71に類似する画像パターンを検出し、検出した画像パターンの印刷禁止パターン71に対する類似度を算出する。次に、画像処理部41の特定画像判定部43では、上記類似度が第1の閾値以上であるか否かを判定部44が判定する(S24)。この判定の結果、類似度が第1の閾値未満であれば、処理がS28に進む。
Next, the
一方、S24の判定において、上記類似度が第1の閾値以上であれば、特定画像判定部43の閾値設定部45は、画質決定情報によって示される処理対象画像データの色数が所定の基準値(262144色)以下であるか否かを判定する(S25)。
On the other hand, if it is determined in S24 that the similarity is equal to or greater than the first threshold, the
S25での判定の結果、処理対象画像データの色数が上記基準値よりも多ければ、処理がS27に進む。一方、S25での判定の結果、処理対象画像データの色数が上記基準値以下であれば、閾値設定部45は判定部44が使用する閾値として、第1の閾値よりも高い第2の閾値を設定する。その後、判定部44は第2の閾値を使用して、上記類似度が第2の閾値以上であるか否かを判定する(S26)。
As a result of the determination in S25, if the number of colors of the processing target image data is larger than the reference value, the process proceeds to S27. On the other hand, if the number of colors of the processing target image data is equal to or smaller than the reference value as a result of the determination in S25, the
S26での判定の結果、上記類似度が第2の閾値未満であれば、処理がS28に進む一方、S26での判定の結果、上記類似度が第2の閾値以上であれば、処理がS7に進む。 As a result of the determination in S26, if the similarity is less than the second threshold, the process proceeds to S28. On the other hand, if the similarity is not less than the second threshold as a result of the determination in S26, the process proceeds to S7. Proceed to
S27では、判定部44は、処理対象画像データは特定画像のものであるという判定結果を出力する。この判定結果を受けた印刷制御部34は、画像加工部33および印刷部35に特定画像検知コマンドを発行し、印刷動作を停止させる(S27)。
In S <b> 27, the
画像加工部33では、特定画像検知コマンドを受信すると(S28)、処理対象画像データに対する処理を中断し、HDD38およびメモリ39に格納されている処理対象画像データを消去し(S29)、処理を終了する。
When receiving the specific image detection command (S28), the
一方、画像加工部33では、S28において、印刷制御部34から特定画像検出コマンドを受信しなければ、処理対象画像データをHDD38に保存するとともに、保存した画像データを読み出す(S30)。それ以降の動作は、図19に基づき説明した場合と同様である。
On the other hand, if the specific image detection command is not received from the
なお、上記の処理では、S25での判定の結果、処理対象画像データの色数が上記基準値よりも多い場合、およびS25での判定の結果、処理対象画像データの色数が上記基準値以下であり、かつS26での判定の結果、類似度が第2の閾値以上である場合に、S27においていずれも同様に印刷動作を停止する構成となっている。しかしながら、これに代えて、S25での判定の結果、処理対象画像データの色数が上記基準値よりも多い場合には、印刷動作を停止し、かつ管理者に警告メールを送信する一方、S25での判定の結果、処理対象画像データの色数が上記基準値以下であり、かつ類似度が第2の閾値以上である場合には、印刷動作を停止せず、管理者に警告メールを送信する構成としてもよい。このように、処理対象画像データの色数が上記基準値以下の場合に印刷を許可するのは、その画像データを印刷しても印刷物を不正使用することが困難であることによる。 In the above process, as a result of the determination in S25, when the number of colors of the processing target image data is larger than the reference value, and as a result of the determination in S25, the number of colors of the processing target image data is equal to or less than the reference value. If the similarity is equal to or greater than the second threshold as a result of the determination in S26, the printing operation is similarly stopped in S27. However, instead of this, if the number of colors of the processing target image data is larger than the reference value as a result of the determination in S25, the printing operation is stopped and a warning mail is transmitted to the administrator. When the number of colors of the processing target image data is equal to or less than the reference value and the similarity is equal to or greater than the second threshold as a result of the determination in step (b), a warning mail is sent to the administrator without stopping the printing operation It is good also as composition to do. As described above, the reason why the printing is permitted when the number of colors of the processing target image data is equal to or smaller than the reference value is that it is difficult to illegally use the printed matter even if the image data is printed.
図21は、上記画質決定情報が画像データの圧縮率を示すものである場合の画像形成装置49の動作を示すものである。
FIG. 21 shows the operation of the
図21に示すように、画像形成装置49においては、操作部31への各種モード設定(S41)、スタートキーのオンが行われると(S42)、一連の印刷動作を開始する(S43)。
As shown in FIG. 21, in the
次に、画像処理部41の類似度判定部42では、処理対象画像データにおいて、印刷禁止パターン71に類似する画像パターンを検出し、検出した画像パターンの印刷禁止パターン71に対する類似度を算出する。次に、画像処理部41の特定画像判定部43では、上記類似度が第1の閾値以上であるか否かを判定部44が判定する(S44)。この判定の結果、類似度が第1の閾値未満であれば、処理がS48に進む。
Next, the
一方、S44の判定において、上記類似度が第1の閾値以上であれば、特定画像判定部43の閾値設定部45は、画質決定情報によって示される処理対象画像データの圧縮率が所定の基準値(1/300)以下であるか否か(圧縮率≦1/300であるか否か)、すなわち圧縮の程度が基準値と同等かあるいは基準値よりも大きいか否かを判定する(S45)。
On the other hand, in the determination of S44, if the similarity is equal to or higher than the first threshold, the
S45での判定の結果、処理対象画像データの圧縮率が、圧縮率>1/300であれば、すなわち圧縮の程度が基準値よりも小さければ、処理がS47に進む。一方、S45での判定の結果、処理対象画像データの圧縮率が、圧縮率≦1/300であれば、すなわち圧縮の程度が基準値と同等かあるいは基準値よりも大きければ、閾値設定部45は判定部44が使用する閾値として、第1の閾値よりも高い第2の閾値を設定する。その後、判定部44は第2の閾値を使用して、上記類似度が第2の閾値以上であるか否かを判定する(S46)。
As a result of the determination in S45, if the compression ratio of the processing target image data is compression ratio> 1/300, that is, if the degree of compression is smaller than the reference value, the process proceeds to S47. On the other hand, as a result of the determination in S45, if the compression rate of the processing target image data is compression rate ≦ 1/300, that is, if the degree of compression is equal to or greater than the reference value, the
S46での判定の結果、上記類似度が第2の閾値未満であれば、処理がS48に進む一方、S46での判定の結果、上記類似度が第2の閾値以上であれば、処理がS47に進む。 As a result of the determination in S46, if the similarity is less than the second threshold, the process proceeds to S48. On the other hand, if the similarity is not less than the second threshold as a result of the determination in S46, the process proceeds to S47. Proceed to
S47では、判定部44は、処理対象画像データは特定画像のものであるという判定結果を出力する。この判定結果を受けた印刷制御部34は、画像加工部33および印刷部35に特定画像検知コマンドを発行し、印刷動作を停止させる(S47)。
In S47, the
画像加工部33では、特定画像検知コマンドを受信すると(S48)、処理対象画像データに対する処理を中断し、HDD38およびメモリ39に格納されている処理対象画像データを消去し(S49)、処理を終了する。
When receiving the specific image detection command (S48), the
一方、画像加工部33では、S48において、印刷制御部34から特定画像検出コマンドを受信しなければ、処理対象画像データをHDD38に保存するとともに、保存した画像データを読み出す(S50)。それ以降の動作は、図19に基づき説明した場合と同様である。
On the other hand, if the specific image detection command is not received from the
なお、上記の処理では、S45での判定の結果、処理対象画像データの圧縮率が、圧縮率>1/300である場合、およびS45での判定の結果、処理対象画像データの圧縮率が、圧縮率≦1/300であり、かつS46での判定の結果、類似度が第2の閾値以上である場合に、S47においていずれも同様に印刷動作を停止する構成となっている。しかしながら、これに代えて、S45での判定の結果、処理対象画像データの圧縮率が、圧縮率>1/300である場合には、印刷動作を停止し、かつ管理者に警告メールを送信する一方、S45での判定の結果、処理対象画像データの圧縮率が、圧縮率≦1/300であり、かつS46での判定の結果、類似度が第2の閾値以上である場合には、印刷動作を停止せず、管理者に警告メールを送信する構成としてもよい。このように、処理対象画像データの圧縮率が、圧縮率≦1/300の場合に印刷を許可するのは、その画像データを印刷しても印刷物を不正使用することが困難であることによる。 In the above processing, as a result of the determination in S45, when the compression rate of the processing target image data is compression ratio> 1/300, and as a result of the determination in S45, the compression rate of the processing target image data is If the compression ratio ≦ 1/300 and the result of determination in S46 is that the similarity is equal to or greater than the second threshold value, the printing operation is similarly stopped in S47. However, instead of this, if the result of determination in S45 is that the compression rate of the processing target image data is compression rate> 1/300, the printing operation is stopped and a warning mail is sent to the administrator. On the other hand, if the result of determination in S45 is that the compression rate of the processing target image data is compression rate ≦ 1/300 and the result of determination in S46 is that the similarity is greater than or equal to the second threshold, printing is performed. It is good also as a structure which transmits a warning mail to an administrator, without stopping operation | movement. As described above, the reason why printing is permitted when the compression rate of the processing target image data is compression rate ≦ 1/300 is that it is difficult to illegally use the printed matter even if the image data is printed.
また、本実施形態の画像処理装置における画像処理部41の各部や各処理ステップは、CPUなどの演算手段が、ROM(Read Only Memory)やRAMなどの記憶手段に記憶されたプログラムを実行し、キーボードなどの入力手段、ディスプレイなどの出力手段、あるいは、インターフェース回路などの通信手段を制御することにより実現することができる。したがって、これらの手段を有するコンピュータが、上記プログラムを記録した記録媒体を読み取り、当該プログラムを実行するだけで、本実施形態の画像処理装置の各種機能および各種処理を実現することができる。また、上記プログラムをリムーバブルな記録媒体に記録することにより、任意のコンピュータ上で上記の各種機能および各種処理を実現することができる。
In addition, in each unit and each processing step of the
この記録媒体としては、マイクロコンピュータで処理を行うために図示しないメモリ、例えばROMのようなものがプログラムメディアであっても良いし、また、図示していないが外部記憶装置としてプログラム読取り装置が設けられ、そこに記録媒体を挿入することにより読取り可能なプログラムメディアであっても良い。 As this recording medium, a program medium such as a memory (not shown) such as a ROM may be used for processing by the microcomputer, or a program reader is provided as an external storage device (not shown). It may be a program medium that can be read by inserting a recording medium therein.
また、何れの場合でも、格納されているプログラムは、マイクロプロセッサがアクセスして実行される構成であることが好ましい。さらに、プログラムを読み出し、読み出されたプログラムは、マイクロコンピュータのプログラム記憶エリアにダウンロードされて、そのプログラムが実行される方式であることが好ましい。なお、このダウンロード用のプログラムは予め本体装置に格納されているものとする。 In any case, the stored program is preferably configured to be accessed and executed by the microprocessor. Furthermore, it is preferable that the program is read out, and the read program is downloaded to a program storage area of the microcomputer and the program is executed. It is assumed that this download program is stored in advance in the main unit.
また、上記プログラムメディアとしては、本体と分離可能に構成される記録媒体であり、磁気テープやカセットテープ等のテープ系、フレキシブルディスクやハードディスク等の磁気ディスクやCD/MO/MD/DVD等のディスクのディスク系、ICカード(メモリカードを含む)等のカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等による半導体メモリを含めた固定的にプログラムを担持する記録媒体等がある。 The program medium is a recording medium configured to be separable from the main body, such as a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a flexible disk or a hard disk, or a disk such as a CD / MO / MD / DVD. Fixed disk system, card system such as IC card (including memory card), or semiconductor memory such as mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash ROM, etc. In particular, there are recording media that carry programs.
また、インターネットを含む通信ネットワークを接続可能なシステム構成であれば、通信ネットワークからプログラムをダウンロードするように流動的にプログラムを担持する記録媒体であることが好ましい。 In addition, if the system configuration is capable of connecting to a communication network including the Internet, the recording medium is preferably a recording medium that fluidly carries the program so as to download the program from the communication network.
さらに、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別な記録媒体からインストールされるものであることが好ましい。 Further, when the program is downloaded from the communication network as described above, it is preferable that the download program is stored in the main device in advance or installed from another recording medium.
本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.
1 特定色検出部
2 特定形状検出部
3 位置関係算出部
6 色差分演算部
7 比較器
8 設定レジスタ
9 画像伸張部
10 色変換部
13 形状識別部
14 検出動作部
18 にじみ補正部
21 ベクトル演算
22 類似度算出部
23 解像度変換部
30 カラースキャナ
31 操作部
33 画像加工部
34 印刷機構制御部
35 印刷部
36 プリンタコントローラ
37 インターフェース
41 画像処理部41
42 類似度判定部
43 特定画像判定部
44 判定部
45 閾値設定部
61 主走査変換部
62 副走査変換部
71 印刷禁止パターン(特定パターン)
71a マーク
92 デジタルカメラ
93 ノート形パーソナルコンピュータ
94 パーソナルコンピュータ
DESCRIPTION OF
33
42
Claims (10)
特定画像判定手段とを備え、
前記特定画像判定手段は、
前記類似度を所定の閾値と比較して、前記画像パターンを含む画像データが、前記印刷禁止パターンを含む特定画像のものであるか否かを判定する判定部と、
前記閾値として第1の閾値およびこの第1の閾値よりも高い第2の閾値を設定可能であり、前記画像データの画質の高低を決定する画質決定情報を取得し、この画質決定情報により示される前記画像データの画質が所定の基準値以下である場合の前記閾値として、前記第2の閾値を設定する閾値設定手段とを備え、
前記判定部は、前記第1の閾値を使用して前記判定を行い、この判定により前記画像パターンを含む画像データが、前記印刷禁止パターンを含む特定画像のものであるとの判定結果を得た場合、かつ前記画質決定情報により示される前記画像データの画質が所定の基準値以下である場合に、前記第2の閾値を使用して前記判定を行うことを特徴とする画像処理装置。 Similarity determination means for detecting an image pattern similar to a print prohibition pattern from image data and determining the similarity of the detected image pattern to the print prohibition pattern;
Specific image determination means,
The specific image determination means includes
A determination unit that compares the similarity with a predetermined threshold value and determines whether the image data including the image pattern is that of a specific image including the print inhibition pattern;
As the threshold value, a first threshold value and a second threshold value higher than the first threshold value can be set, and image quality determination information for determining the image quality of the image data is acquired and indicated by the image quality determination information. A threshold value setting means for setting the second threshold value as the threshold value when the image quality of the image data is equal to or lower than a predetermined reference value ;
The determination unit performs the determination using the first threshold, and obtains a determination result that the image data including the image pattern is of a specific image including the print prohibition pattern based on the determination. The image processing apparatus performs the determination using the second threshold value when the image quality of the image data indicated by the image quality determination information is equal to or less than a predetermined reference value .
前記類似度判定手段は、
前記画像データから前記画像パターンについての特定色の画像データを検出し、その画像データを2値データとして出力する特定色検出部と、
前記2値データから、前記画像パターンにおける前記複数のマークの相対的位置関係を検出し、検出結果を位置データとして出力する特定形状検出部と、
前記位置データが示す前記複数のマークの相対的位置関係と実際の印刷禁止パターンにおける複数のマークの相対的位置関係とを比較し、前記印刷禁止パターンに対する前記画像パターンの類似度を算出する位置関係算出部とを備えていることを特徴とする請求項1から4のいずれか1項に記載の画像処理装置。 The print prohibition pattern includes a plurality of marks arranged in a predetermined positional relationship,
The similarity determination means includes:
A specific color detection unit that detects image data of a specific color for the image pattern from the image data, and outputs the image data as binary data;
A specific shape detection unit that detects a relative positional relationship between the plurality of marks in the image pattern from the binary data and outputs a detection result as position data;
A positional relationship in which the relative positional relationship between the plurality of marks indicated by the positional data is compared with the relative positional relationship between the plurality of marks in an actual printing prohibited pattern, and the similarity of the image pattern with respect to the printing prohibited pattern is calculated. The image processing apparatus according to claim 1, further comprising a calculation unit.
特定画像判定工程とを備え、
前記特定画像判定工程は、
前記類似度を所定の閾値と比較して、前記画像パターンを含む画像データが、前記印刷禁止パターンを含む特定画像のものであるか否かを判定する判定工程と、
前記閾値として第1の閾値およびこの第1の閾値よりも高い第2の閾値を設定可能であり、前記画像データの画質の高低を決定する画質決定情報を取得し、この画質決定情報により示される前記画像データの画質が所定の基準値以下である場合の前記閾値として、前記第2の閾値を設定する閾値設定工程とを備え、
前記判定工程は、前記第1の閾値を使用して前記判定を行い、この判定により前記画像パターンを含む画像データが、前記印刷禁止パターンを含む特定画像のものであるとの判定結果を得た場合、かつ前記画質決定情報により示される前記画像データの画質が所定の基準値以下である場合に、前記第2の閾値を使用して前記判定を行うことを特徴とする画像処理方法。 A similarity determination step of detecting an image pattern similar to a print prohibition pattern from image data and determining a similarity of the detected image pattern to the print prohibition pattern;
A specific image determination step,
The specific image determination step includes
A step of determining whether the image data including the image pattern is that of a specific image including the print prohibition pattern by comparing the similarity with a predetermined threshold;
As the threshold value, a first threshold value and a second threshold value higher than the first threshold value can be set, and image quality determination information for determining the image quality of the image data is acquired and indicated by the image quality determination information. A threshold value setting step for setting the second threshold value as the threshold value when the image quality of the image data is equal to or lower than a predetermined reference value ;
The determination step performs the determination using the first threshold value, and obtained a determination result that the image data including the image pattern is that of a specific image including the print inhibition pattern. In the case where the image quality of the image data indicated by the image quality determination information is equal to or less than a predetermined reference value, the determination is performed using the second threshold value .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008293712A JP4949356B2 (en) | 2008-11-17 | 2008-11-17 | Image processing method, image processing apparatus, image forming apparatus, program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008293712A JP4949356B2 (en) | 2008-11-17 | 2008-11-17 | Image processing method, image processing apparatus, image forming apparatus, program, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010124069A JP2010124069A (en) | 2010-06-03 |
JP4949356B2 true JP4949356B2 (en) | 2012-06-06 |
Family
ID=42325032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008293712A Active JP4949356B2 (en) | 2008-11-17 | 2008-11-17 | Image processing method, image processing apparatus, image forming apparatus, program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4949356B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3273416B1 (en) | 2015-03-19 | 2024-05-01 | Toppan Printing Co., Ltd. | Identification device, identification method, identification program, and computer-readable medium containing identification program |
JP6679999B2 (en) * | 2016-03-10 | 2020-04-15 | コニカミノルタ株式会社 | Image processing device and program |
JP2020155884A (en) * | 2019-03-19 | 2020-09-24 | コニカミノルタ株式会社 | Image formation device, control method of them, and program |
JP2020203461A (en) * | 2019-06-19 | 2020-12-24 | コニカミノルタ株式会社 | Image forming device, control method for the same, and program |
JP7382260B2 (en) * | 2020-03-12 | 2023-11-16 | シャープ株式会社 | Image output device, control program and control method for image output device |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07160888A (en) * | 1993-12-08 | 1995-06-23 | Ricoh Co Ltd | Picture forming device |
JP3060902B2 (en) * | 1995-06-30 | 2000-07-10 | オムロン株式会社 | Image processing apparatus and image processing method |
JPH10210285A (en) * | 1997-01-16 | 1998-08-07 | Omron Corp | Image recognizing method, device therefor and copying machine |
JP2000076458A (en) * | 1998-08-31 | 2000-03-14 | Fuji Xerox Co Ltd | Color picture recognizing device, its method, and recording medium |
JP2002109542A (en) * | 2000-09-29 | 2002-04-12 | Canon Inc | Image processing system and data processing device and method |
JP4521197B2 (en) * | 2004-01-23 | 2010-08-11 | 日立オムロンターミナルソリューションズ株式会社 | Paper sheet transaction equipment |
JP2006025187A (en) * | 2004-07-08 | 2006-01-26 | Fuji Xerox Co Ltd | Image forming device |
JP4028542B2 (en) * | 2004-10-05 | 2007-12-26 | 日本電信電話株式会社 | Digital watermark verification method, system, and program |
JP2006229645A (en) * | 2005-02-18 | 2006-08-31 | Fuji Xerox Co Ltd | Image processing apparatus |
JP2008271508A (en) * | 2007-03-28 | 2008-11-06 | Sharp Corp | Image processing apparatus, image forming apparatus, image transmitting device, image reading device, image processing system, image processing method, image processing program, and recording medium therefor |
-
2008
- 2008-11-17 JP JP2008293712A patent/JP4949356B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2010124069A (en) | 2010-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101873403B (en) | Control apparatus, image reading apparatus, image forming apparatus, and control method | |
US6801636B2 (en) | Image processing apparatus and method, and storage medium | |
US8237993B2 (en) | Apparatus and method for image processing of ground pattern | |
US8081348B2 (en) | Image processing device, method and program product processing barcodes with link information corresponding to other barcodes | |
US20080267464A1 (en) | Image processing apparatus, image processing method, and recording medium recorded with program thereof | |
CN102469230B (en) | Image processing device and method, image forming device, and image reading device | |
JP4810413B2 (en) | Image processing apparatus and image processing method | |
JPH09274660A (en) | Method, device for recognizing image, copy machine mounting the same and scanner | |
US20100033742A1 (en) | Image processing apparatus and method for controlling the same | |
US8427708B2 (en) | Apparatus and method for controlling printing of information embedded in a document | |
JP4949356B2 (en) | Image processing method, image processing apparatus, image forming apparatus, program, and recording medium | |
JP2008301476A (en) | Image processing apparatus, image forming apparatus, image reading apparatus, image processing system, and image processing method, image processing program and recording medium therefor | |
JP2011008549A (en) | Image processor, image reader, multifunctional machine, image processing method, program, and recording medium | |
JP4949488B2 (en) | Image processing method, image processing apparatus, image forming apparatus, program, and recording medium | |
US8285043B2 (en) | Image processing apparatus and image processing method | |
US20170339295A1 (en) | Information processing apparatus and image forming apparatus | |
JP4587123B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP4267029B2 (en) | Image processing apparatus, image processing method, image processing method program, and storage medium therefor | |
JP4263156B2 (en) | Image processing apparatus, method, and program | |
JP2010273119A (en) | Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium | |
JP5143638B2 (en) | Image processing method, image processing apparatus, image forming apparatus, program, and recording medium | |
JP3804590B2 (en) | Image processing device | |
JPH07143335A (en) | Copy-inhibited original copying preventing device/method for color copying machine | |
JP4235352B2 (en) | Image discrimination apparatus, copying machine, and image discrimination method | |
JP2011182126A (en) | Image processing apparatus, image forming apparatus, determination method, program and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110223 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111129 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120120 |
|
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: 20120207 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120307 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150316 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4949356 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |