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 PDF

Info

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
Application number
JP2008293712A
Other languages
Japanese (ja)
Other versions
JP2010124069A (en
Inventor
嘉之 中井
浩一 角田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2008293712A priority Critical patent/JP4949356B2/en
Publication of JP2010124069A publication Critical patent/JP2010124069A/en
Application granted granted Critical
Publication of JP4949356B2 publication Critical patent/JP4949356B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 Patent Documents 1 to 3 are known. In the technique described in Patent Document 1, a specific pattern for prohibiting copying is formed on the original surface, an image of the original is read, and the detection unit detects the specific pattern. The copying function of the copying machine is stopped by a signal.

特許文献2に記載の技術では、画像処理装置が、第1および第2の色抽出ブロックを有する2値化処理部、OR回路、記憶装置、マーク検出部、原稿切り出し部並びにマッチング部を備えている。この画像処理装置では、入力画像データに対して2値化処理部の第1および第2の色抽出ブロックによりそれぞれ黒と赤による個別の2値化処理を行い、これら二つのデータをOR回路にて一つのデータにまとめて記憶装置に記憶する。次に、マーク検出部により、テンプレートを使用して入力画像データに含まれる正方形マークを検出し、画像切り出し部にて正方形マークで囲まれるマークを切り出し、切り出したマークの複写禁止判定マーク(特定マーク)に対する適合度をマッチング部にて求め、その結果を出力する。   In the technique described in Patent Document 2, the image processing apparatus includes a binarization processing unit having first and second color extraction blocks, an OR circuit, a storage device, a mark detection unit, a document cutout unit, and a matching unit. Yes. In this image processing apparatus, input image data is individually binarized with black and red by the first and second color extraction blocks of the binarization processing unit, and these two data are input to an OR circuit. Are stored together in a storage device. Next, the mark detection unit detects a square mark included in the input image data using the template, the image cutout unit cuts out a mark surrounded by the square mark, and the copy prohibition determination mark (specific mark) of the cut out mark ) Is determined by the matching unit, and the result is output.

特許文献3に記載の技術では、画像処理装置が、入力された原稿画像に応じた画像信号と、ROMに記憶されている特定画像の有する色味分布情報との類似度を、第1の色空間類似度判定回路により判定し、その判定結果に基づき類似画素数をカウントし、類似画素数に応じて原稿画像と記憶されている特定画像との類似度を判定するようになっている。
特開昭54−32322号(昭和54年3月9日公開) 特開平9−16043号(平成9年1月17日公開) 特開平9−44669号(平成9年2月14日公開)
In the technique described in Patent Document 3, the image processing apparatus uses the first color to determine the similarity between the image signal corresponding to the input document image and the color distribution information of the specific image stored in the ROM. The determination is made by the spatial similarity determination circuit, the number of similar pixels is counted based on the determination result, and the similarity between the original image and the stored specific image is determined according to the number of similar pixels.
JP 54-32322 (published March 9, 1979) JP-A-9-16043 (published January 17, 1997) JP 9-44669 (published February 14, 1997)

特許文献1に記載の技術は、特定パターンが例えばバーコードである場合、原稿にバーコードを印刷して管理する上では有効である。しかしながら、そのような特定パターンでは、特定パターンが非常に目立ってしまい、それらが印刷禁止パターンであることが容易に知られてしまうことになる。したがって、それら特定マークに何らかの改ざんを加えて検出されないようにすることで、コピー禁止原稿を容易に複写することができるようになる。   The technique described in Patent Document 1 is effective in managing a barcode by printing it on a document when the specific pattern is, for example, a barcode. However, in such a specific pattern, the specific pattern becomes very conspicuous, and it is easily known that these are print prohibition patterns. Therefore, the copy-prohibited document can be easily copied by making some alterations to the specific marks so that they are not detected.

また、特許文献2に記載の技術は、二つの色フィルタを有することにより、二つの色の複写禁止判定マーク(特定マーク)を検出することができる。また、OR回路にて二つの色の検出信号を一つにまとめていることにより、回路規模を小さくすることができる。したがって、このような構成は、スキャナを備え、そのスキャナにて読み取った画像を印刷するデジタル複写機に対しては有効である。しかしながら、上記のような構成を備えた場合であっても、一般に解像度の低いカメラ付き携帯電話で撮影して得られた画像に関しては特定マークの検出が難しく、また、色数の少ない画像データに関しては色の抽出が難しい。   In addition, the technique described in Patent Document 2 can detect two-color copy prohibition determination marks (specific marks) by having two color filters. Further, by combining the two color detection signals into one by the OR circuit, the circuit scale can be reduced. Therefore, such a configuration is effective for a digital copying machine that includes a scanner and prints an image read by the scanner. However, even in the case of having the above-described configuration, it is difficult to detect a specific mark with respect to an image obtained by shooting with a camera phone with a low resolution in general, and with respect to image data with a small number of colors. Is difficult to extract colors.

したがって、特許文献2に記載の技術において、画像中の特定マークの検出を確実に行えるようにするために検出の閾値を低く設定すれば、特定マークのない一般画像を特定マーク付き画像として検出する誤検出が増加することになる。一方、特定マークのない一般画像に対する誤検知を防止するために検出の閾値を高く設定すれば、特定マーク付き画像の検出率が低下することになる。   Therefore, in the technique described in Patent Document 2, if a detection threshold is set low in order to reliably detect a specific mark in an image, a general image without a specific mark is detected as an image with a specific mark. False detection will increase. On the other hand, if the detection threshold is set high in order to prevent erroneous detection of a general image without a specific mark, the detection rate of the image with the specific mark is lowered.

また、特許文献3に記載の技術は、色数の多い原稿画像に対する特定マークの検出においては有効なものである。一方、特許文献2に記載の技術と同様、デジタルカメラにて撮影して得られた解像度の低い画像や、カメラ付き携帯電話にて撮影して得られた色数の少ない画像に対する特定マークの検出に対しては、効果が低いものとなる。   The technique described in Patent Document 3 is effective in detecting a specific mark for a document image having a large number of colors. On the other hand, as with the technique described in Patent Document 2, detection of specific marks for images with low resolution obtained by photographing with a digital camera or images with few colors obtained by photographing with a mobile phone with a camera. Is less effective.

このように、上記従来の構成では、印刷禁止画像に対する認識機能(特定マークの検出機能)を有する複写装置が、その複写装置に備えられたスキャナにて読み取った画像について印刷禁止画像を認識する機能は良好である。しかしながら、印刷禁止画像に対する認識機能を備えていない、デジタルカメラあるいはカメラ付き携帯電話などで撮影した画像について印刷禁止画像を認識する機能については、印刷禁止原稿についての高い認識機能と一般原稿を誤って印刷禁止原稿と認識するご認識に対する高い防止機能との両立が困難であるという問題点を有している。   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 similarity determination unit 42 included in the image processing apparatus according to the embodiment of the present invention. The similarity determination unit 42 detects an image pattern similar to a print prohibition pattern (copying prohibition pattern) in the input image data, calculates the similarity of the detected image pattern with respect to the print prohibition pattern, and outputs the similarity. It is.

印刷禁止パターンは、例えば紙幣、有価証券および機密書類などの印刷(複写)を禁止すべき原稿の画像中に含まれ、例えば、特定の色を有し、かつ印刷禁止パターンを構成する複数のマークが特定の位置関係に配置されている。   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 document 73 to which a print prohibition pattern 71 is added. As shown in FIG. 2, the print prohibition pattern 71 has a plurality of marks 71a, and these marks 71a are arranged with a predetermined positional relationship. In the example of FIG. 2, the print prohibition pattern 71 is described as five squares arranged on one diagonal line at the top of the image printed on the original 73 (the left region in FIG. 3). This print prohibition pattern 71 is written in yellow on a color document. The copy prohibition pattern 71 is an example, and the shape, number, arrangement interval, arrangement direction, and color of the mark 71a are not limited to those described above.

類似度判定部42は、図18に示すように、特定画像判定部43とともに画像処理部41を構成する。この画像処理部41は、例えばカラースキャナおよびプリンタと接続して使用され、カラースキャナから入力した画像データを処理し、その画像データをプリンタに出力する。また、デジタルカメラなどの撮像装置から入力した画像データを処理し、その画像データをプリンタに出力する。このうち、画像処理部41は、特に後者の使用形態において良好な機能を有する。   As illustrated in FIG. 18, the similarity determination unit 42 configures an image processing unit 41 together with the specific image determination unit 43. The image processing unit 41 is used in connection with, for example, a color scanner and a printer, processes image data input from the color scanner, and outputs the image data to the printer. It also processes image data input from an imaging device such as a digital camera and outputs the image data to a printer. Among these, the image processing unit 41 has a good function particularly in the latter usage mode.

図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 image forming apparatus 49 such as a copying machine including the image processing unit 41 according to the present embodiment. The image forming apparatus 49 includes a color scanner 30, an image processing unit 41, an operation unit 31, a printer controller 36, various interfaces (I / F) 37, an image processing unit 33, a print control unit 34, and a printing unit 35. Yes.

画像処理部41には、カラースキャナ30にて読み取られた原稿の画像データ(RGBのデータ)が入力される。また、例えばデジタルカメラにより撮影して得られた画像がインターフェース37およびプリンタコントローラ36を介して入力される。画像加工部33は、画像処理部41にて処理された画像データを印刷用の画像データに加工する。印刷部35は、プリンタとしての機能を有し、画像加工部33から出力された画像データを用紙上に印刷する。印刷制御部34は印刷部35の動作を制御する。   Image data (RGB data) of a document read by the color scanner 30 is input to the image processing unit 41. For example, an image obtained by photographing with a digital camera is input via the interface 37 and the printer controller 36. The image processing unit 33 processes the image data processed by the image processing unit 41 into image data for printing. The printing unit 35 has a function as a printer, and prints the image data output from the image processing unit 33 on paper. The print control unit 34 controls the operation of the printing unit 35.

印刷制御部34は、具体的には、印刷を指示された画像データについて、図18に示す画像処理部41から印刷禁止パターン71を含む特定画像との判定結果を得た場合、印刷部35による印刷動作を停止する、例えば操作パネルにおいて警告を表示する、並びに画像メモリ(HDD(ハードディスクドライブ)38およびメモリ39)が記憶する対象画像データを消去するなどの処理を行う。   Specifically, when the print control unit 34 obtains a determination result of a specific image including the print prohibition pattern 71 from the image processing unit 41 illustrated in FIG. For example, the printing operation is stopped, a warning is displayed on the operation panel, and the target image data stored in the image memory (HDD (hard disk drive) 38 and memory 39) is deleted.

類似度判定部42は、図1に示すように、画像伸張部9、色変換部10、解像度変換部23、特定色検出部1、特定形状検出部2および位置関係算出部3を備えている。   As shown in FIG. 1, the similarity determination unit 42 includes an image expansion unit 9, a color conversion unit 10, a resolution conversion unit 23, a specific color detection unit 1, a specific shape detection unit 2, and a positional relationship calculation unit 3. .

画像伸張部9は、図3に示したすプリンタコントローラ36から送られてきた画像データ(例えばデジタルカメラにより撮影して得られた画像データ)がJPEGなどの圧縮データであった場合に、その画像データを伸張しビットマップデータに変換する。   When the image data sent from the printer controller 36 shown in FIG. 3 (for example, image data obtained by photographing with a digital camera) is compressed data such as JPEG, the image decompression unit 9 Decompress data and convert it to bitmap data.

色変換部10は、上記プリントコントローラ36から送られてきた画像データが、YMC(黄・マゼンタ・シアン)やYMCK(黄・マゼンタ・シアン・黒)など、RGBでなかった場合に、RGB(赤・緑・青)各々8ビット(bit)の画像に変換する。   When the image data sent from the print controller 36 is not RGB such as YMC (yellow / magenta / cyan) or YMCK (yellow / magenta / cyan / black), the color conversion unit 10 performs RGB (red (Green / Blue) Each image is converted into an 8-bit (bit) image.

解像度変換部23は、例えば図3に示すカラースキャナ30あるいはデジタルカメラなどの画像入力装置から入力した画像データを一定の解像度に変換し、特定色検出部1に出力する。図1に示す例では、プリンタコントローラ36からRGBそれぞれ8ビットの画像データが解像度変換部23に入力されている。なお、解像度変換部23による解像度変換処理では、入力画像データの解像度が本実施の形態の画像処理装置が画像データを処理する上での基準解像度の300DPI(DOT PER INCH)でなかった場合に、300DPIに変換する。   The resolution conversion unit 23 converts image data input from an image input device such as a color scanner 30 or a digital camera shown in FIG. 3 into a predetermined resolution and outputs it to the specific color detection unit 1. In the example shown in FIG. 1, RGB image data of 8 bits is input from the printer controller 36 to the resolution conversion unit 23. In the resolution conversion process by the resolution conversion unit 23, when the resolution of the input image data is not 300 DPI (DOT PER INCH), which is the reference resolution for the image processing apparatus of the present embodiment to process the image data, Convert to 300 DPI.

特定色検出部1は、解像度変換部23より入力した画像データから特定色の画像データを検出し、その画像データを2値化して特定形状検出部2に出力する。ここで、上記特定色の画像データとは、入力画像データに含まれる、特定の色を有する印刷禁止パターン71の画像データである。本実施の形態の画像処理装置では、黄色の印刷禁止パターン71を検出する1個の特定色検出部1を備えた構成としているが、黄色の印刷禁止パターン71に加えて赤色の印刷禁止パターン71を検出する場合には、検出対象の色の印刷禁止パターン71に応じて、2個の特定色検出部1を備える構成としてもよい。特定色検出部1は、特定色を検出するために、色差分演算部6、比較器7および設定レジスタ8を備えている。   The specific color detection unit 1 detects specific color image data from the image data input from the resolution conversion unit 23, binarizes the image data, and outputs the binarized image data to the specific shape detection unit 2. Here, the specific color image data is image data of the print prohibition pattern 71 having a specific color, which is included in the input image data. The image processing apparatus according to the present embodiment includes one specific color detection unit 1 that detects the yellow print prohibition pattern 71. In addition to the yellow print prohibition pattern 71, the red print prohibition pattern 71 is provided. 2 may be provided with two specific color detectors 1 in accordance with the print prohibition pattern 71 of the color to be detected. The specific color detection unit 1 includes a color difference calculation unit 6, a comparator 7, and a setting register 8 in order to detect a specific color.

特定形状検出部2は、特定色検出部1より入力した2値の画像データから印刷禁止パターン71を示す特定形状およびその位置を検出し、特定形状についての位置データとして位置関係算出部3に出力する。この特定形状検出部2は、検出動作部14、にじみ補正部18およびメモリ19を備えている。   The specific shape detection unit 2 detects the specific shape indicating the print prohibition pattern 71 and its position from the binary image data input from the specific color detection unit 1, and outputs the specific shape to the positional relationship calculation unit 3 as position data regarding the specific shape. To do. The specific shape detection unit 2 includes a detection operation unit 14, a blur correction unit 18, and a memory 19.

検出動作部14は形状識別部13およびメモリ12を備えている。形状識別部13は、印刷禁止パターン71のマーク71aを示す例えば薄い特定色の2値の画像データから特定形状(本実施の形態では正方向)およびその位置を検出する。メモリ12は、形状識別部13が上記処理を行う場合に、複数ラインの画像データを一時的に記憶する。   The detection operation unit 14 includes a shape identification unit 13 and a memory 12. The shape identification unit 13 detects a specific shape (in the present embodiment, the positive direction) and its position from binary image data of a thin specific color, for example, indicating the mark 71a of the print prohibition pattern 71. The memory 12 temporarily stores a plurality of lines of image data when the shape identification unit 13 performs the above processing.

なお、形状識別部13は、上記のように、特定色検出部1が印刷禁止パターン71の色数に応じて複数個設けられている場合には、各色の特定色検出部1に対応して複数個設けられる。この場合、印刷禁止パターン71は小さな形状の複数のマーク71aからなるので、メモリ12は、複数個の形状識別部13が設けられていても回路規模が大きくなることはない。また、形状識別部13が複数個設けられている場合、各形状識別部13の検出結果は、位置関係算出部に送られる。   As described above, the shape identifying unit 13 corresponds to the specific color detecting unit 1 for each color when a plurality of specific color detecting units 1 are provided according to the number of colors of the print prohibition pattern 71. A plurality are provided. In this case, since the print prohibition pattern 71 is composed of a plurality of marks 71a having a small shape, the circuit scale of the memory 12 does not increase even if a plurality of shape identification units 13 are provided. When a plurality of shape identifying units 13 are provided, the detection result of each shape identifying unit 13 is sent to the positional relationship calculating unit.

にじみ補正部18は、検出動作部14にて特定形状(印刷禁止パターン71を構成するマーク71aの形状(本実施の形態では正方向))が検出された場合に、その特定形状の位置から所定範囲内の領域の画像データ(画素)をマスク領域とする。これにより、本来1個の特定形状(印刷禁止パターン71)が、例えば画像を読み取ったときの撮像機器の画像読み取り段階において手振れなどによって発生する画像のにじみにより、所定範囲内において複数検出される事態を防止する。メモリ19は、にじみ補正部18が上記処理を行う場合に、複数ラインの画像データを一時的に記憶する。なお、にじみ補正部18は、特定形状検出部2が複数個設けられている場合には、それら複数個の特定形状検出部2により1個を共有する構成としてもよい。   When the detection operation unit 14 detects a specific shape (the shape of the mark 71a (in the positive direction in the present embodiment)), the blur correction unit 18 determines a predetermined shape from the position of the specific shape. Image data (pixels) in an area within the range is set as a mask area. As a result, a situation in which a single specific shape (printing prohibition pattern 71) is originally detected within a predetermined range due to blurring of an image caused by hand shake at the image reading stage of the imaging device when the image is read, for example. To prevent. The memory 19 temporarily stores a plurality of lines of image data when the blur correction unit 18 performs the above processing. In the case where a plurality of specific shape detection units 2 are provided, the blur correction unit 18 may be configured to share one specific shape detection unit 2.

位置関係算出部3は、メモリ20、ベクトル演算部21および類似度算出部22を備えている。ベクトル演算部21は、特定形状検出部2から入力された特定形状(印刷禁止パターン71)の位置データに基づいてベクトル演算を行い、その位置データが印刷禁止パターン71を示すものであるか否かを判定する。メモリ20は、ベクトル演算部21が上記動作を行う場合の作業領域となる。類似度算出部22は、ベクトル演算部21において上記位置データが印刷禁止パターン71を示すものと判定された場合に、上記特定形状の印刷禁止パターン71に対する類似度を算出して出力する。   The positional relationship calculation unit 3 includes a memory 20, a vector calculation unit 21, and a similarity calculation unit 22. The vector calculation unit 21 performs vector calculation based on the position data of the specific shape (printing prohibition pattern 71) input from the specific shape detection unit 2, and whether the position data indicates the printing prohibition pattern 71 or not. Determine. The memory 20 serves as a work area when the vector calculation unit 21 performs the above operation. When the vector calculation unit 21 determines that the position data indicates the print prohibition pattern 71, the similarity calculation unit 22 calculates and outputs a similarity to the print prohibition pattern 71 having the specific shape.

次に、類似度判定部42の上記の各部についてさらに詳細に説明する。
図4は、図1に示した解像度変換部23の構成を示すブロック図である。
Next, each part of the similarity determination unit 42 will be described in more detail.
FIG. 4 is a block diagram showing a configuration of the resolution conversion unit 23 shown in FIG.

解像度変換部23は、図4に示すように、主走査変換部61、副走査変換部62、メモリ63および設定レジスタ64を備えている。   As shown in FIG. 4, the resolution conversion unit 23 includes a main scanning conversion unit 61, a sub scanning conversion unit 62, a memory 63, and a setting register 64.

主走査変換部61は、画像データについて主走査方向の解像度を一定の解像度に変換する。例えば、600DPIのRGB各々8bit(256階調)の画像データを、2画素の平均値を取ることによって300DPIに変換する。   The main scanning conversion unit 61 converts the resolution of the image data in the main scanning direction to a fixed resolution. For example, image data of 600 DPI RGB each of 8 bits (256 gradations) is converted to 300 DPI by taking an average value of two pixels.

副走査変換部62は、同様に画像データについて副走査方向の解像度を一定の解像度に変換する。主走査方向と同様、例えば、600DPIのRGB各々8bitの画像データを、2画素の平均値を取ることによって300DPIに変換する。ただし、副走査方向においては、光学系の移動速度の設定により画像を変倍することがあり、解像度変換の倍率が一定ではない。このため、副走査方向においては、解像度を設定レジスタ64に設定された倍率に従って変倍する。メモリ63は、副走査変換部62による副走査方向の解像度変換動作の際に、副走査方向の複数ラインのデータを一時的に記憶する。   Similarly, the sub-scanning conversion unit 62 converts the resolution in the sub-scanning direction with respect to image data to a fixed resolution. Similar to the main scanning direction, for example, 600 DPI RGB 8-bit image data is converted to 300 DPI by taking an average value of two pixels. However, in the sub-scanning direction, the image may be scaled by setting the moving speed of the optical system, and the resolution conversion magnification is not constant. Therefore, in the sub-scanning direction, the resolution is scaled according to the magnification set in the setting register 64. The memory 63 temporarily stores data of a plurality of lines in the sub-scanning direction when the sub-scanning conversion unit 62 performs the resolution conversion operation in the sub-scanning direction.

次に、特定色検出部1を図5に基づいて説明する。図5は、特定色検出部1の構成を示すブロック図である。   Next, the specific color detection unit 1 will be described with reference to FIG. FIG. 5 is a block diagram illustrating a configuration of the specific color detection unit 1.

特定色検出部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 difference calculation unit 6 of the specific color detection unit 1 receives G-R (green and red) from 8-bit image data of R (red), G (green), and B (blue) input from the resolution conversion unit 23. Color difference), GB (green and blue color difference), and RB (red and blue color difference) are calculated. Since the data (color difference signal) thus obtained may be negative, it becomes 9 bits. Then, the color difference calculation unit 6 outputs six types of data of R, G, B, GR, GB, and RB to the comparator 7.

設定レジスタ8は、R、G、B、G−R、G−B、R−Bの6個のパラメータのそれぞれについて、特定色を検出するための濃度の最大値(上限の閾値)および最小値(下限の閾値)を設定する。   The setting register 8 has a maximum density value (upper limit threshold value) and a minimum value for detecting a specific color for each of the six parameters R, G, B, GR, GB, and RB. Set the (lower threshold).

比較器7は、色差分演算部6から入力した画像データの6個のパラメータと、設定レジスタ8において各パラメータ毎に設定されている最大値および最小値とを比較し、比較結果を2値データとして出力する。すなわち、6個のパラメータの全てが、対応する最大値以下かつ最大値以上である場合には1を出力し、それ以外の場合には0を出力する。このように、出力値を2値化することで、RGB各々8bitの画像データは、1bitとなり、データ量が1/24となる。   The comparator 7 compares the six parameters of the image data input from the color difference calculation unit 6 with the maximum value and the minimum value set for each parameter in the setting register 8, and the comparison result is binary data. Output as. That is, 1 is output when all of the 6 parameters are equal to or less than the corresponding maximum value and equal to or greater than the maximum value, and 0 is output otherwise. In this way, by binarizing the output value, RGB 8-bit image data becomes 1 bit and the data amount becomes 1/24.

ここで、設定レジスタ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 setting register 8 will be shown. When 255 is a light color, 0 is a dark color, and the specific color is yellow, in order to detect the specific color, 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, GB-min = 20, GB-max = 105, RB_min = 50, RB_max = 130.

また、図6には、黄色についての設定レジスタ8に設定される上記最大値および最小値、すなわち黄色の色フィルタ閾値の一例を示す。図6は、具体的には、印刷禁止パターン71が黄色域である場合に対応するものであり、6個の範囲は、上から順番に、薄い黄色域、濃い黄色域、赤域、薄い黒域、濃い黒域を示している。   FIG. 6 shows an example of the maximum value and the minimum value set in the setting register 8 for yellow, that is, a yellow color filter threshold value. FIG. 6 specifically corresponds to the case where the print prohibition pattern 71 is a yellow region, and the six ranges are, in order from the top, a light yellow region, a dark yellow region, a red region, and a light black region. Indicates a dark black area.

特定形状検出部2では、特定色検出部1から入力した2値データに基づいて、特定形状(印刷禁止パターン71)を検出する。   The specific shape detection unit 2 detects the specific shape (print prohibited pattern 71) based on the binary data input from the specific color detection unit 1.

図7は、形状識別部13がテンプレートマッチングに使用するテンプレートの一例を示す説明図である。上記特定形状検出動作において、特定形状検出部2の形状識別部13は、図7に示すように、例えば15(主走査方向15画素)×15(副走査方向15ライン)のテンプレートを使用する。   FIG. 7 is an explanatory diagram illustrating an example of a template used by the shape identification unit 13 for template matching. In the specific shape detection operation, as shown in FIG. 7, the shape identification unit 13 of the specific shape detection unit 2 uses, for example, a template of 15 (15 pixels in the main scanning direction) × 15 (15 lines in the sub scanning direction).

図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 shape identification unit 13 in the detection operation unit 14 of the specific shape detection unit 2. In the specific shape detection operation, the shape identification unit 13 performs template matching while shifting the template 51 one pixel at a time in the main scanning direction as shown in FIG. When the processing in the main scanning direction from the left end to the right end is completed, the position of the template 51 is moved down by one line, and template matching is performed in the same manner. An area E in FIG. 8 is an area where a print prohibition pattern may be detected, and an area F is an area where no print prohibition pattern is detected.

図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 shape identification unit 13 will be described in more detail.

図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 templates 51 that are set to detect the print inhibition pattern 71 in the template 51 of 15 (15 pixels in the main scanning direction) × 15 (15 lines in the sub scanning direction). It is explanatory drawing which shows a process area | region. That is, the template 51 includes a peripheral white determination area 51a shown in FIG. 9A, a peripheral count area 51b shown in FIG. 9B, a first central count area 51c shown in FIG. It has the 2nd center part count area | region 51d shown in (d), and the 3rd center part count area | region 51e shown in FIG.9 (e). In the template matching for detecting the print prohibition pattern 71, the shape identification unit 13 is the number of binary data 1 in each of these areas, that is, the number of pixels of a specific color (for example, the number of black pixels in the binary data). And the count value is compared with the set value to determine whether or not the specific shape (printing prohibition pattern 71) is included.

図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 white determination region 51a of the template 51, and FIG. 10B is a peripheral white determination operation using the peripheral white determination region 51a in the shape identification unit 13. It is explanatory drawing which shows the specific structure for. As shown in FIG. 10B, the shape identification unit 13 includes a NOR circuit 52 for the peripheral white determination operation. In this peripheral white determination operation, when the number of pixels of a specific color (the number of black pixels in binary data) is, for example, 0 in the peripheral white determination region 51a, the condition that there is a specific shape (print prohibition pattern 71) is satisfied. .

図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 peripheral count area 51b of the template 51. FIG. 11B is a diagram for a peripheral count operation using the peripheral count area 51b in the shape identification section 13. It is explanatory drawing which shows a specific structure. As shown in FIG. 11B, the shape identifying unit 13 includes a counter 53 and a comparator 54 for the peripheral portion counting operation. In this peripheral portion counting operation, a specific shape (printing prohibited) when the number of pixels of a specific color (the number of black pixels in binary data) A counted by the counter 53 in the peripheral portion count area 51b is equal to or less than the register set value B, for example. Condition 71) is satisfied.

図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 center count area 51c of the template 51, and FIG. 12B shows the first center using the first center count area 51c in the shape identification section 13. It is explanatory drawing which shows the specific structure for a part count operation | movement. As shown in FIG. 12B, the shape identifying unit 13 includes a counter 55 and a comparator 56 for the first central portion counting operation. In this first center counting operation, when the number of pixels of a specific color (the number of black pixels in binary data) A counted by the counter 55 in the first center count area 51c is, for example, a register setting value B or less, the specific shape The condition of (printing prohibition pattern 71) is satisfied.

図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 center count area 51d of the template 51, and FIG. 13B shows the second center using the second center count area 51d in the shape identification section 13. FIG. It is explanatory drawing which shows the specific structure for a part count operation | movement. As shown in FIG. 13B, the shape identifying unit 13 includes a counter 57 and a comparator 58 for the second central portion counting operation. In this second center count operation, the number of pixels of a specific color (the number of black pixels in binary data) A counted by the counter 57 in the second center count area 51d is, for example, not more than the register set value B and the register set value C. In the above case, the condition that the specific shape (printing prohibition pattern 71) is present is satisfied.

図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 part count area 51e of the template, and FIG. 14B is a third central part using the third central part count area 51e in the shape identification part 13. FIG. It is explanatory drawing which shows the specific structure for count operation | movement. As shown in FIG. 14B, the shape identifying unit 13 includes a counter 59 and a comparator 60 for the third central portion counting operation. In the third center counting operation, the specific shape is obtained when the number of pixels of a specific color (the number of black pixels in binary data) A counted by the counter 59 in the third center count area 51e is equal to or greater than the register set value B, for example. The condition of (printing prohibition pattern 71) is satisfied.

そして、形状識別部13では、周辺部白判定、周辺部カウント、第1中心部カウント、第2中心部カウントおよび第3中心部カウントの全ての動作において、特定形状(印刷禁止パターン71)有りの条件が満たされた場合に、画像データ中に特定形状(印刷禁止パターン71)有りと判定する。   The shape identifying unit 13 has a specific shape (printing prohibition pattern 71) in all the operations of peripheral white determination, peripheral count, first central count, second central count, and third central count. When the condition is satisfied, it is determined that the specific shape (printing prohibition pattern 71) is present in the image data.

特定形状検出部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 shape detection unit 2 sets the coordinate of the upper left pixel position of the template 51 to 1 at that time. Such data is output to the positional relationship calculation unit 3.

図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 blur correction unit 18. When the specific shape detection unit 2 detects a specific shape (print prohibited pattern 71), the blur correction unit 18 describes the position of the print prohibited pattern 71 as a template matching point. Then, from this template matching point, for example, the back 14 pixels and the back 14 lines in the sub-scanning direction are set as a mask area. Thus, even if a specific shape (printing prohibition pattern 71) is detected in the mask area, the specific shape detection unit 2 detects the presence of a specific shape (printing prohibition pattern 71) for the positional relationship calculation unit 3 ( Position data) is not output. As a result, it is possible to prevent a situation where one print prohibition pattern 71 is originally detected as a plurality of print prohibition patterns 71 within a predetermined area.

図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 template 72 used by the positional relationship calculation unit 3. As shown in FIG. 2, in the present embodiment, the print prohibition pattern 71 has five marks 71a arranged in a straight line. Therefore, the positional relationship calculation unit 3 uses a template of 101 (number of pixels in the main scanning direction) × 101 (number of pixels in the sub scanning direction) as shown in FIG. In the template 72, the positions of the five marks 71a of the print inhibition pattern 71 are P0, P1, P2, P3, and P4. These five positions P0, P1, P2, P3, and P4 are arranged in a straight line, and have four ring patterns that pass through the positions P0, P1, P3, and P4 with the position P2 as the center.

位置関係算出部3のベクトル演算部21は、上記テンプレート72を使用し、特定形状検出部2から入力された位置データについて、1個のマーク71aを中心とし、他の4個のマーク71aが4個のリング上に位置する条件に適合するか否かを判断する。次に、上記位置データが上記条件に適合する場合に、上記位置データに対してベクトル演算を行い、上記位置データによって示されるマーク(マーク71aに対応)が直線状に配置されている条件に適合するか否かを判断する。そして、この条件に適合する場合、位置関係算出部3の類似度算出部22は、印刷禁止パターン71に対しての上記位置データによって示される特定形状の類似度を算出し、算出結果を図3に示す印刷制御部34に出力する。   The vector calculation unit 21 of the positional relationship calculation unit 3 uses the template 72, and the position data input from the specific shape detection unit 2 is centered on one mark 71a and the other four marks 71a are four. It is determined whether or not the condition located on each ring is met. Next, when the position data meets the above condition, a vector operation is performed on the position data, and the mark indicated by the position data (corresponding to the mark 71a) conforms to the condition in which the mark is linearly arranged. Judge whether to do. When this condition is met, the similarity calculation unit 22 of the positional relationship calculation unit 3 calculates the similarity of the specific shape indicated by the position data with respect to the print prohibition pattern 71, and the calculation result is shown in FIG. To the print control unit 34 shown in FIG.

印刷制御部34は、例えば本実施の形態の特定画像判定部41が備えられている複写機等の画像形成装置49における印刷動作(複写動作)を制御するものである。具体的には、印刷制御部34は、位置関係算出部3の類似度算出部22から入力した類似度に応じて、画像形成装置49の印刷動作を停止する処理、例えば操作パネルにおいて警告を表示する処理、並びに画像メモリが記憶する対象画像データを消去する処理などを行う。   The print control unit 34 controls a printing operation (copying operation) in an image forming apparatus 49 such as a copying machine provided with the specific image determination unit 41 of the present embodiment, for example. Specifically, the print control unit 34 displays a warning on the operation panel, for example, a process for stopping the printing operation of the image forming apparatus 49 according to the similarity input from the similarity calculation unit 22 of the positional relationship calculation unit 3. And a process of erasing the target image data stored in the image memory.

図17は、上記画像形成装置49を備えた画像形成システム90の構成を示す模式図である。図17に示すように、画像形成システム90は、画像形成装置49とデジタルカメラ92、ノート形パーソナルコンピュータ(以下、ノートPCと称する)93およびパーソナルコンピュータ(以下、PCと称する)94とがネットワーク91を介して接続されている。   FIG. 17 is a schematic diagram illustrating a configuration of an image forming system 90 including the image forming apparatus 49. As shown in FIG. 17, an image forming system 90 includes an image forming apparatus 49, a digital camera 92, a notebook personal computer (hereinafter referred to as a notebook PC) 93, and a personal computer (hereinafter referred to as a PC) 94. Connected through.

画像形成装置49には、カラースキャナ42にて読み取られた画像、デジタルカメラ92にて撮影された画像、並びに例えばインターネットなどのコンピュータネットワークを介してノートPC93やPC94に取り込まれた画像などの処理対象画像がネットワーク91を介して入力され、要求に応じて適宜印刷される。この場合、画像形成装置49では、特定画像判定部41による印刷禁止パターン検出機能(印刷禁止パターンに類似する画像パターンの有無判定機能)により、上記処理対象画像における印刷禁止パターン71の有無を判別し、印刷禁止パターン71有りと判定した処理対象画像については、印刷を禁止し、かつその画像データを図3に示した画像加工部33のHDD(ハードディスクドライブ)38およびメモリ39から消去する。これにより、紙幣および有価証券を偽造したり、機密書類を複写したりすることを防止できる。   The image forming apparatus 49 includes processing objects such as an image read by the color scanner 42, an image taken by the digital camera 92, and an image taken into the notebook PC 93 or PC 94 via a computer network such as the Internet. Images are input via the network 91 and printed as appropriate upon request. In this case, the image forming apparatus 49 determines the presence / absence of the print prohibition pattern 71 in the processing target image by the print prohibition pattern detection function (the image pattern presence / absence determination function similar to the print prohibition pattern) by the specific image determination unit 41. The processing target image determined to have the print prohibition pattern 71 is prohibited from printing, and the image data is erased from the HDD (hard disk drive) 38 and the memory 39 of the image processing unit 33 shown in FIG. This prevents counterfeiting banknotes and securities and copying confidential documents.

図18は、図1に示した類似度判定部42、および特定画像判定部43を備えた画像処理部41の構成を示すブロック図である。類似度判定部42は、前述のように、入力された画像データにおいて印刷禁止パターン71に類似する画像パターンを検出し、検出した画像パターンの印刷禁止パターン71に対する類似度を算出するものである。   FIG. 18 is a block diagram illustrating a configuration of the image processing unit 41 including the similarity determination unit 42 and the specific image determination unit 43 illustrated in FIG. As described above, the similarity determination unit 42 detects an image pattern similar to the print prohibition pattern 71 in the input image data, and calculates the similarity of the detected image pattern to the print prohibition pattern 71.

特定画像判定部43は、判定部44および閾値設定部45を備えている。判定部44は、類似度判定部42から提供される、判定対象である画像データについての類似度を所定の閾値と比較して、その画像データが印刷禁止パターン71を含む特定画像のものであるか否かを判定する。   The specific image determination unit 43 includes a determination unit 44 and a threshold setting unit 45. The determination unit 44 compares the similarity of the image data to be determined provided from the similarity determination unit 42 with a predetermined threshold, and the image data is for a specific image including the print prohibition pattern 71. It is determined whether or not.

閾値設定部45は、判定部44が使用する閾値として第1の閾値もしくはこの第1の閾値よりも高い第2の閾値を設定する。この場合、閾値設定部45は、画像データの画質の高低を決定する画質決定情報を取得し、この画質決定情報により示される上記画像データの画質が所定の基準値よりも高い場合に第1の閾値を設定し、画質が基準値以下である場合に第2の閾値を設定する。   The threshold setting unit 45 sets a first threshold or a second threshold higher than the first threshold as a threshold used by the determination unit 44. In this case, the threshold value setting unit 45 acquires image quality determination information that determines the level of image quality of the image data, and the first setting is performed when the image quality of the image data indicated by the image quality determination information is higher than a predetermined reference value. A threshold value is set, and the second threshold value is set when the image quality is equal to or lower than the reference value.

なお、図3に示した画像形成装置49において、特定画像判定部43は、画像処理部41ではなく、画質決定情報34が備えていてもよい。   In the image forming apparatus 49 illustrated in FIG. 3, the specific image determination unit 43 may be included in the image quality determination information 34 instead of the image processing unit 41.

上記画質決定情報とは、例えば画像データの解像度、画像データがカラー画像データである場合の色数、あるいは画像データが圧縮されたものである場合の圧縮率などである。
このうち、画像データの解像度は画像データのヘッダー部から取得することができ、画像データの色数は画像データのヘッダー部から取得することができ、画像データの圧縮率は画像データのヘッダー部から取得することができる。
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-similarity determination unit 42 is significant when the image pattern included in the image data is the print prohibition pattern 71 and when it is not. Therefore, the determination unit 44 of the specific image determination unit 43 can accurately determine the specific image including the print prohibition pattern 71 and other general images even with a relatively low threshold (first threshold). it can. 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.

一方、解像度が低い画像データは、解像度が高い画像データよりも低画質である。このため、画像データに含まれる画像パターンが印刷禁止パターン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 print prohibition pattern 71, the similarity determined by the similarity determination unit 42 increases. Therefore, the determination unit 44 of the specific image determination unit 43 determines a general image that does not include the print prohibition pattern 71 as a specific image that includes the print prohibition pattern 71 by using a relatively high threshold (second threshold). It is possible to reduce erroneous determination.

なお、偽造を防止すべき例えば紙幣や有価証券では、画像データの解像度が低い場合(例えば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-similarity determination unit 42 is significant when the image pattern included in the image data is the print prohibition pattern 71 and when it is not. Therefore, the determination unit 44 of the specific image determination unit 43 can accurately determine the specific image including the print prohibition pattern 71 and other general images even with a relatively low threshold (first threshold). it can. 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.

一方、色数が少ない画像データは、色数が多い画像データよりも低画質であるため、画像データに含まれる画像パターンが印刷禁止パターン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 print inhibition pattern 71. Therefore, the determination unit 44 of the specific image determination unit 43 determines a general image that does not include the print prohibition pattern 71 as a specific image that includes the print prohibition pattern 71 by using a relatively high threshold (second threshold). It is possible to reduce erroneous determination.

これにより、色数が多い画像データおよび色数が少ない画像データの両者に対して、印刷禁止パターン71を含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターン71を含まない一般画像を印刷禁止パターン71を含む特定画像と判定してしまう誤判定の防止機能との両立が可能である。   As a result, a function for preventing a specific image including the print prohibition pattern 71 from being used illegally for both image data having a large number of colors and image data having a small number of colors, and the print prohibition pattern 71. It is possible to achieve compatibility with a function of preventing a misjudgment that determines that a general image that does not include a specific image including the print prohibition pattern 71.

また、画像データの画質を画像データの圧縮率から判断した場合、圧縮率が低い画像データは、圧縮率が高い画像データよりも高画質である。このため、画像データに含まれる画像パターンが印刷禁止パターン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-similarity determination unit 42 is significant when the image pattern included in the image data is the print prohibition pattern 71 and when it is not. Therefore, the determination unit 44 of the specific image determination unit 43 can accurately determine the specific image including the print prohibition pattern 71 and other general images even with a relatively low threshold (first threshold). it can. 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.

一方、圧縮率が高い画像データは、圧縮率が低い画像データよりも低画質であるため、画像データに含まれる画像パターンが印刷禁止パターン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 print inhibition pattern 71, the degree of similarity is high. Therefore, the determination unit 44 of the specific image determination unit 43 determines a general image that does not include the print prohibition pattern 71 as a specific image that includes the print prohibition pattern 71 by using a relatively high threshold (second threshold). It is possible to reduce erroneous determination.

これにより、圧縮率が低い画像データおよび圧縮率が高い画像データの両者に対して、印刷禁止パターン71を含む特定画像を印刷して不正に使用されることを防止する機能と、印刷禁止パターン71を含まない一般画像を印刷禁止パターン71を含む特定画像と判定してしまう誤判定の防止機能との両立が可能である。   As a result, a function for preventing a specific image including the print prohibition pattern 71 from being used illegally for both image data having a low compression ratio and image data having a high compression ratio, and the print prohibition pattern 71. It is possible to achieve compatibility with a function of preventing a misjudgment that determines that a general image that does not include a specific image including the print prohibition pattern 71.

図19から図21は、画像処理部41を備える図3に示した画像形成装置49の動作を示すフローチャートである。図19は、上記画質決定情報が画像データの解像度を示すものである場合の画像形成装置49の動作を示すものである。   19 to 21 are flowcharts showing the operation of the image forming apparatus 49 shown in FIG. FIG. 19 shows the operation of the image forming apparatus 49 when the image quality determination information indicates the resolution of the image data.

図19に示すように、画像形成装置49においては、操作部31へのユーザの操作により各種モード設定が行われる(S1)。このモード設定は、画像形成装置49を、例えばモノクロモード、フルカラーモードあるいは自動モードに設定するものである。   As shown in FIG. 19, in the image forming apparatus 49, various modes are set by a user operation on the operation unit 31 (S1). In this mode setting, the image forming apparatus 49 is set to, for example, a monochrome mode, a full color mode, or an automatic mode.

次に、操作部31のスタートキーがオンされると(S2)、画像形成装置49では一連の印刷動作を開始する(S3)。   Next, when the start key of the operation unit 31 is turned on (S2), the image forming apparatus 49 starts a series of printing operations (S3).

次に、画像処理部41の類似度判定部42では、カラースキャナ30、またはインターフェース37およびプリンタコントローラ36を介して入力された画像データを処理対象画像データとし、この処理対象画像データにおいて、印刷禁止パターン71に類似する画像パターンを検出する。そして、検出した画像パターンの印刷禁止パターン71に対する類似度を算出する。次に、画像処理部41の特定画像判定部43では、上記類似度が第1の閾値以上であるか否かを判定部44が判定する(S4)。この判定の結果、類似度が第1の閾値未満であれば、処理がS8に進む。   Next, the similarity determination unit 42 of the image processing unit 41 sets the image data input via the color scanner 30 or the interface 37 and the printer controller 36 as the processing target image data. An image pattern similar to the pattern 71 is detected. Then, the similarity between the detected image pattern and the print prohibition pattern 71 is calculated. Next, in the specific image determination unit 43 of the image processing unit 41, the determination unit 44 determines whether or not the similarity is equal to or higher than a first threshold (S4). As a result of this determination, if the similarity is less than the first threshold, the process proceeds to S8.

一方、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 threshold setting unit 45 of the specific image determination unit 43 determines that the resolution of the processing target image data indicated by the image quality determination information is a predetermined reference value ( 100 DPI) or less is determined (S5).

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 threshold setting unit 45 sets a second threshold higher than the first threshold as the threshold used by the determination unit 44. Set. Thereafter, the determination unit 44 determines whether or not the similarity is equal to or higher than the second threshold by using the second threshold (S6).

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 determination unit 44 outputs a determination result that the processing target image data is for a specific image. Upon receiving this determination result, the print control unit 34 issues a specific image detection command to the image processing unit 33 and the printing unit 35 to stop the printing operation.

画像加工部33では、特定画像検知コマンドを受信すると(S8)、処理対象画像データに対する処理を中断し、HDD38およびメモリ39に格納されている処理対象画像データを消去し(S9)、処理を終了する。   When receiving the specific image detection command (S8), the image processing unit 33 interrupts the processing for the processing target image data, erases the processing target image data stored in the HDD 38 and the memory 39 (S9), and ends the processing. To do.

一方、画像加工部33では、S8において、印刷制御部34から特定画像検出コマンドを受信しなければ、処理対象画像データをHDD38に保存するとともに、保存した画像データを読み出す(S10)。   On the other hand, if the specific image detection command is not received from the print control unit 34 in S8, the image processing unit 33 stores the processing target image data in the HDD 38 and reads the stored image data (S10).

次に、画像加工部33は、読み出した処理対象画像データに対して、印刷のための所定の画像処理を行い、印刷部35に出力する。印刷部34では、画像加工部33から入力された処理対象画像データを用紙上に可視像として印刷する。   Next, the image processing unit 33 performs predetermined image processing for printing on the read processing target image data, and outputs the processed image data to the printing unit 35. The printing unit 34 prints the processing target image data input from the image processing unit 33 as a visible image on a sheet.

なお、上記の処理では、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 image forming apparatus 49 when the image quality determination information indicates the number of colors of image data.

図20に示すように、画像形成装置49においては、操作部31への各種モード設定(S21)、スタートキーのオンが行われると(S22)、一連の印刷動作を開始する(S23)。   As shown in FIG. 20, in the image forming apparatus 49, when various modes are set in the operation unit 31 (S21) and the start key is turned on (S22), a series of printing operations is started (S23).

次に、画像処理部41の類似度判定部42では、処理対象画像データにおいて、印刷禁止パターン71に類似する画像パターンを検出し、検出した画像パターンの印刷禁止パターン71に対する類似度を算出する。次に、画像処理部41の特定画像判定部43では、上記類似度が第1の閾値以上であるか否かを判定部44が判定する(S24)。この判定の結果、類似度が第1の閾値未満であれば、処理がS28に進む。   Next, the similarity determination unit 42 of the image processing unit 41 detects an image pattern similar to the print prohibition pattern 71 in the processing target image data, and calculates the similarity of the detected image pattern to the print prohibition pattern 71. Next, in the specific image determination unit 43 of the image processing unit 41, the determination unit 44 determines whether or not the similarity is equal to or higher than a first threshold (S24). As a result of this determination, if the similarity is less than the first threshold, the process proceeds to S28.

一方、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 threshold setting unit 45 of the specific image determination unit 43 determines that the number of colors of the processing target image data indicated by the image quality determination information is a predetermined reference value. It is determined whether or not (262144 colors) or less (S25).

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 threshold setting unit 45 uses a second threshold higher than the first threshold as the threshold used by the determination unit 44. Set. Thereafter, the determination unit 44 determines whether the similarity is equal to or higher than the second threshold using the second threshold (S26).

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 determination unit 44 outputs a determination result that the processing target image data is that of a specific image. Upon receiving this determination result, the print control unit 34 issues a specific image detection command to the image processing unit 33 and the printing unit 35, and stops the printing operation (S27).

画像加工部33では、特定画像検知コマンドを受信すると(S28)、処理対象画像データに対する処理を中断し、HDD38およびメモリ39に格納されている処理対象画像データを消去し(S29)、処理を終了する。   When receiving the specific image detection command (S28), the image processing unit 33 interrupts the processing for the processing target image data, erases the processing target image data stored in the HDD 38 and the memory 39 (S29), and ends the processing. To do.

一方、画像加工部33では、S28において、印刷制御部34から特定画像検出コマンドを受信しなければ、処理対象画像データをHDD38に保存するとともに、保存した画像データを読み出す(S30)。それ以降の動作は、図19に基づき説明した場合と同様である。   On the other hand, if the specific image detection command is not received from the print control unit 34 in S28, the image processing unit 33 stores the processing target image data in the HDD 38 and reads the stored image data (S30). The subsequent operation is the same as that described with reference to FIG.

なお、上記の処理では、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 image forming apparatus 49 when the image quality determination information indicates the compression rate of the image data.

図21に示すように、画像形成装置49においては、操作部31への各種モード設定(S41)、スタートキーのオンが行われると(S42)、一連の印刷動作を開始する(S43)。   As shown in FIG. 21, in the image forming apparatus 49, when various modes are set in the operation unit 31 (S41) and the start key is turned on (S42), a series of printing operations is started (S43).

次に、画像処理部41の類似度判定部42では、処理対象画像データにおいて、印刷禁止パターン71に類似する画像パターンを検出し、検出した画像パターンの印刷禁止パターン71に対する類似度を算出する。次に、画像処理部41の特定画像判定部43では、上記類似度が第1の閾値以上であるか否かを判定部44が判定する(S44)。この判定の結果、類似度が第1の閾値未満であれば、処理がS48に進む。   Next, the similarity determination unit 42 of the image processing unit 41 detects an image pattern similar to the print prohibition pattern 71 in the processing target image data, and calculates the similarity of the detected image pattern to the print prohibition pattern 71. Next, in the specific image determination unit 43 of the image processing unit 41, the determination unit 44 determines whether or not the similarity is equal to or higher than a first threshold (S44). As a result of this determination, if the similarity is less than the first threshold, the process proceeds to S48.

一方、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 threshold setting unit 45 of the specific image determination unit 43 determines that the compression rate of the processing target image data indicated by the image quality determination information is a predetermined reference value. It is determined whether or not (1/300) or less (whether or not the compression ratio ≦ 1/300), that is, whether or not the degree of compression is equal to or greater than the reference value (S45). .

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 threshold setting unit 45 Sets a second threshold value higher than the first threshold value as the threshold value used by the determination unit 44. Thereafter, the determination unit 44 determines whether the similarity is equal to or higher than the second threshold using the second threshold (S46).

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 determination unit 44 outputs a determination result that the processing target image data is that of the specific image. Upon receiving this determination result, the print control unit 34 issues a specific image detection command to the image processing unit 33 and the printing unit 35, and stops the printing operation (S47).

画像加工部33では、特定画像検知コマンドを受信すると(S48)、処理対象画像データに対する処理を中断し、HDD38およびメモリ39に格納されている処理対象画像データを消去し(S49)、処理を終了する。   When receiving the specific image detection command (S48), the image processing unit 33 interrupts the processing for the processing target image data, erases the processing target image data stored in the HDD 38 and the memory 39 (S49), and ends the processing. To do.

一方、画像加工部33では、S48において、印刷制御部34から特定画像検出コマンドを受信しなければ、処理対象画像データをHDD38に保存するとともに、保存した画像データを読み出す(S50)。それ以降の動作は、図19に基づき説明した場合と同様である。   On the other hand, if the specific image detection command is not received from the print control unit 34 in S48, the image processing unit 33 stores the processing target image data in the HDD 38 and reads the stored image data (S50). The subsequent operation is the same as that described with reference to FIG.

なお、上記の処理では、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 image processing unit 41 in the image processing apparatus according to the present embodiment, a calculation unit such as a CPU executes a program stored in a storage unit such as a ROM (Read Only Memory) or a RAM, This can be realized by controlling input means such as a keyboard, output means such as a display, or communication means such as an interface circuit. Therefore, various functions and various processes of the image processing apparatus according to the present embodiment can be realized simply by a computer having these means reading the recording medium storing the program and executing the program. In addition, by recording the program on a removable recording medium, the various functions and various processes described above can be realized on an arbitrary computer.

この記録媒体としては、マイクロコンピュータで処理を行うために図示しないメモリ、例えば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.

本発明の実施の形態の画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image processing apparatus of embodiment of this invention. 印刷禁止パターンが付加された原稿の一例を示す平面図である。FIG. 6 is a plan view illustrating an example of a document to which a print prohibition pattern is added. 本発明の実施の一形態の画像処理装置を含む画像形成装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus including an image processing apparatus according to an embodiment of the present invention. 図1に示した解像度変換部の構成を示すブロック図である。It is a block diagram which shows the structure of the resolution conversion part shown in FIG. 図1に示した特定色検出部の構成を示すブロック図である。It is a block diagram which shows the structure of the specific color detection part shown in FIG. 特定色としての黄色についての図5に示した設定レジスタに設定される最大値および最小値の例を示す説明図である。It is explanatory drawing which shows the example of the maximum value and minimum value which are set to the setting register | resistor shown in FIG. 5 about yellow as a specific color. 図1に示した特定形状検出部の形状識別部がテンプレートマッチングに使用するテンプレートの一例を示す説明図である。It is explanatory drawing which shows an example of the template which the shape identification part of the specific shape detection part shown in FIG. 1 uses for template matching. 図1に示した特定形状検出部における形状識別部のテンプレートマッチグによる特定形状検出動作を示す説明図である。It is explanatory drawing which shows the specific shape detection operation by the template matching of the shape identification part in the specific shape detection part shown in FIG. 図9(a)は、図7に示したテンプレートの周辺部白判定領域を示す説明図、図9(b)は、同テンプレートの周辺部カウント領域を示す説明図、図9(c)は、同テンプレートの第1中心部カウント領域を示す説明図、図9(d)は、同テンプレートの第2中心部カウント領域を示す説明図、図9(e)は、同テンプレートの第3中心部カウント領域を示す説明図である。FIG. 9A is an explanatory diagram showing the peripheral white determination region of the template shown in FIG. 7, FIG. 9B is an explanatory diagram showing the peripheral count region of the template, and FIG. FIG. 9D is an explanatory diagram showing the second center count area of the template, and FIG. 9E is a third center count of the template. It is explanatory drawing which shows an area | region. 図10(a)は、図7に示したテンプレートの周辺部白判定領域を示す説明図、図10(b)は、図1に示した形状識別部における上記周辺部白判定領域を使用した周辺部白判定動作のための具体的構成を示す説明図である。FIG. 10A is an explanatory diagram showing the peripheral white determination region of the template shown in FIG. 7, and FIG. 10B is a periphery using the peripheral white determination region in the shape identification unit shown in FIG. It is explanatory drawing which shows the specific structure for part white determination operation | movement. 図11(a)は、図7に示したテンプレートの周辺部カウント領域を示す説明図、図11(b)は、図1に示した形状識別部における上記周辺部カウント領域を使用した周辺部カウント動作のための具体的構成を示す説明図である。11A is an explanatory view showing the peripheral count area of the template shown in FIG. 7, and FIG. 11B is a peripheral count using the peripheral count area in the shape identification section shown in FIG. It is explanatory drawing which shows the specific structure for an operation | movement. 図12(a)は、図7に示したテンプレートの第1中心部カウント領域を示す説明図、図12(b)は、図1に示した形状識別部における上記第1中心部カウント領域を使用した第1中心部カウント動作のための具体的構成を示す説明図である。12A is an explanatory view showing the first central part count area of the template shown in FIG. 7, and FIG. 12B uses the first central part count area in the shape identification part shown in FIG. It is explanatory drawing which shows the specific structure for the 1st center part count operation | movement which performed. 図13(a)は、図7に示したテンプレートの第2中心部カウント領域を示す説明図、図13(b)は、図1に示した形状識別部における上記第2中心部カウント領域を使用した第2中心部カウント動作のための具体的構成を示す説明図である。13A is an explanatory diagram showing the second center part count area of the template shown in FIG. 7, and FIG. 13B uses the second center part count area in the shape identification part shown in FIG. It is explanatory drawing which shows the specific structure for the 2nd center part count operation | movement which performed. 図14(a)は、図7に示したテンプレートの第3中心部カウント領域を示す説明図、図14(b)は、図1に示した形状識別部における上記第3中心部カウント領域を使用した第3中心部カウント動作のための具体的構成を示す説明図である。FIG. 14A is an explanatory diagram showing the third center count area of the template shown in FIG. 7, and FIG. 14B uses the third center count area in the shape identification section shown in FIG. It is explanatory drawing which shows the specific structure for 3rd center part count operation | movement which performed. 図1に示したにじみ補正部が行う動作の説明図である。It is explanatory drawing of the operation | movement which the blur correction | amendment part shown in FIG. 1 performs. 図1に示した位置関係算出部が使用するテンプレートの説明図である。It is explanatory drawing of the template which the positional relationship calculation part shown in FIG. 1 uses. 図3に示した画像形成装置を備えた画像形成システムの構成を示す模式図である。It is a schematic diagram which shows the structure of the image forming system provided with the image forming apparatus shown in FIG. 本実施の形態の画像処理装置にける類似度判定部および特定画像判定部を備えた画像処理部の構成を示すブロック図である。It is a block diagram which shows the structure of the image process part provided with the similarity determination part and the specific image determination part in the image processing apparatus of this Embodiment. 図3に示した画像形成装置における、画質決定情報が画像データの解像度を示すものである場合の動作を示すフローチャートである。4 is a flowchart showing an operation in the image forming apparatus shown in FIG. 3 when image quality determination information indicates resolution of image data. 図3に示した画像形成装置における、画質決定情報が画像データの色数を示すものである場合の動作を示すフローチャートである。4 is a flowchart showing an operation in the image forming apparatus shown in FIG. 3 when image quality determination information indicates the number of colors of image data. 図3に示した画像形成装置における、画質決定情報が画像データの圧縮率を示すものである場合の動作を示すフローチャートである。4 is a flowchart showing an operation in the image forming apparatus shown in FIG. 3 when image quality determination information indicates a compression rate of image data.

符号の説明Explanation of symbols

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 SYMBOLS 1 Specific color detection part 2 Specific shape detection part 3 Positional relationship calculation part 6 Color difference calculation part 7 Comparator 8 Setting register 9 Image expansion part 10 Color conversion part 13 Shape identification part 14 Detection operation part 18 Blur correction part 21 Vector calculation 22 Similarity calculation unit 23 Resolution conversion unit 30 Color scanner 31 Operation unit
33 Image processing unit 34 Printing mechanism control unit 35 Printing unit 36 Printer controller 37 Interface 41 Image processing unit 41
42 Similarity Determining Unit 43 Specific Image Determining Unit 44 Determining Unit 45 Threshold Setting Unit 61 Main Scanning Conversion Unit 62 Sub-Scanning Conversion Unit 71 Printing Prohibition Pattern (Specific Pattern)
71a mark 92 digital camera 93 notebook personal computer 94 personal computer

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 .
前記画質決定情報は前記画像データの解像度を示すものであることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image quality determination information indicates a resolution of the image data. 前記画像データはカラーの画像データであり、前記画質決定情報は前記画像データの色数を示すものであることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image data is color image data, and the image quality determination information indicates the number of colors of the image data. 前記画像データは圧縮された状態で入力されたものであり、前記画質決定情報は前記画像データが入力されたときの圧縮率を示すものであることを特徴とする請求項1に記載の画像処理装置。   2. The image processing according to claim 1, wherein the image data is input in a compressed state, and the image quality determination information indicates a compression rate when the image data is input. apparatus. 前記印刷禁止パターンは、所定の位置関係に配置された複数のマークを含むものであり、
前記類似度判定手段は、
前記画像データから前記画像パターンについての特定色の画像データを検出し、その画像データを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.
前記類似度判定手段は、前記特定形状検出部において前記2値データから前記印刷禁止パターンの前記複数のマークが検出された場合に、前記2値データの前記複数のマークの検出位置から所定範囲までの領域を検出結果を出力しないマスク領域とするにじみ補正部を備えていることを特徴とする請求項5に記載の画像処理装置。   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. The image processing apparatus according to claim 5, further comprising: a blur correction unit configured to set the area of the mask to a mask area that does not output a detection result. 請求項1から6のいずれか1項に記載の画像処理装置と画像データに基づいて印刷を行う印刷手段とを備えていることを特徴とする画像形成装置。   An image forming apparatus comprising: the image processing apparatus according to claim 1; and a printing unit that performs printing based on image data. 画像データから印刷禁止パターンに類似する画像パターンを検出し、検出した画像パターンの前記印刷禁止パターンに対する類似度を判定する類似度判定工程と、
特定画像判定工程とを備え、
前記特定画像判定工程は、
前記類似度を所定の閾値と比較して、前記画像パターンを含む画像データが、前記印刷禁止パターンを含む特定画像のものであるか否かを判定する判定工程と、
前記閾値として第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 .
請求項1から6のいずれか1項に記載の画像処理装置の前記の各手段としてコンピュータを機能させるためのプログラム。   The program for functioning a computer as said each means of the image processing apparatus of any one of Claim 1 to 6. 請求項9に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 9 is recorded.
JP2008293712A 2008-11-17 2008-11-17 Image processing method, image processing apparatus, image forming apparatus, program, and recording medium Active JP4949356B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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