JP4984957B2 - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP4984957B2
JP4984957B2 JP2007043576A JP2007043576A JP4984957B2 JP 4984957 B2 JP4984957 B2 JP 4984957B2 JP 2007043576 A JP2007043576 A JP 2007043576A JP 2007043576 A JP2007043576 A JP 2007043576A JP 4984957 B2 JP4984957 B2 JP 4984957B2
Authority
JP
Japan
Prior art keywords
data
pixel value
pixel
range
reduction
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.)
Expired - Fee Related
Application number
JP2007043576A
Other languages
Japanese (ja)
Other versions
JP2008211299A (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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2007043576A priority Critical patent/JP4984957B2/en
Publication of JP2008211299A publication Critical patent/JP2008211299A/en
Application granted granted Critical
Publication of JP4984957B2 publication Critical patent/JP4984957B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、プリントアウトされる画像データに電子透かしとしてデータを埋め込む技術に関し、特に、プリントアウトされた画像に延び縮みや傾きがある場合でも、電子透かしとして埋め込まれたデータを正しく検出することが可能な画像処理装置、画像処理方法及びそのプログラムに関する。   The present invention relates to a technique for embedding data as digital watermark in image data to be printed out. In particular, the present invention can correctly detect data embedded as a digital watermark even when the printed image has expansion or contraction or inclination. The present invention relates to a possible image processing apparatus, an image processing method, and a program thereof.

近年、画像データに電子透かしとしてデータを埋め込む技術が開発されている。これに関連する技術として、下記の特許文献1に開示された発明がある。   In recent years, techniques for embedding data as digital watermarks in image data have been developed. As a technology related to this, there is an invention disclosed in Patent Document 1 below.

特許文献1に開示された透かし情報埋め込み方法においては、ドットパターンが少なくとも第1、第2、第3のドット(始点ドット、水平基準ドット、変調ドット)を含んで構成されており、第1、第2、第3のドットの相対的な位置関係によって定まる固有値に応じてドットパターンに値を設定する。固有値は、第3のドットを始点として第1のドットを終点とするベクトルと、第3のドットを始点として第2のドットを終点とするベクトルとの内積である。
特開2004−128845号公報
In the watermark information embedding method disclosed in Patent Document 1, the dot pattern is configured to include at least first, second, and third dots (start point dots, horizontal reference dots, modulation dots). A value is set in the dot pattern according to the eigenvalue determined by the relative positional relationship between the second and third dots. The eigenvalue is an inner product of a vector starting from the third dot and ending with the first dot and a vector starting from the third dot and ending with the second dot.
JP 2004-128845 A

画像データに電子透かしとしてデータを埋め込んでプリントアウトし、そのプリントアウトをスキャナなどでスキャンして埋め込んだデータを検出する場合、プリントアウトに伸び縮みや傾きがある場合には、埋め込まれているデータを正しく検出することができないという問題点がある。   If you print out the image data by embedding it as a digital watermark and scan the printout with a scanner to detect the embedded data, if the printout is stretched or tilted, the embedded data There is a problem that cannot be detected correctly.

また、上述した特許文献1に開示された情報埋め込み方法においては、入力画像に歪みがある場合でも信号の復元を行うことができるが、透かし情報を埋め込むときに、1つのデータ信号を一定のエリアに繰返し埋めたユニットパターンを作成して埋め込む必要があり、埋め込み量が制限される。埋め込み量を増やすために、一定エリアに繰返すことをせずに埋め込むと、プリントアウトに伸び縮みや傾きがあると検出できなくなる。また、プリントアウトをスキャンして埋め込まれたデータを検出するときに、ユニットパターンを検出して判定する必要があり、処理が複雑となる。また、ハードウェア化を容易に行うことができない。   Further, in the information embedding method disclosed in Patent Document 1 described above, a signal can be restored even when the input image is distorted. However, when embedding watermark information, one data signal is assigned to a certain area. It is necessary to create and embed a unit pattern that is repeatedly embedded, and the amount of embedding is limited. In order to increase the amount of embedding, if embedding is not repeated in a certain area, the printout cannot be detected if there is expansion or contraction or inclination. Further, when the printout is scanned to detect the embedded data, it is necessary to detect and determine the unit pattern, which complicates the processing. Also, hardware cannot be easily implemented.

本発明は、上記問題点を解決するためになされたものであり、その目的は、電子透かしとして埋め込まれたデータを正確に検出することが可能な画像処理装置、画像処理方法及びそのプログラムを提供することである。   The present invention has been made to solve the above problems, and an object of the present invention is to provide an image processing apparatus, an image processing method, and a program thereof capable of accurately detecting data embedded as a digital watermark. It is to be.

上記の課題を解決するために、本発明は以下の特徴を有するものである。   In order to solve the above problems, the present invention has the following features.

上記目的を達成するために、本発明のある局面に従うと、画像処理装置は画像に埋め込まれたデータを検出する画像処理装置であって、前記画像から、埋め込まれたデータまたはデータ取り出し用の基準パターンを表わす標準パターンを検出して、前記検出された標準パターン中の所定位置の画素を、それぞれ、当該標準パターンに応じて規定された所定のデータ画素値または基準画素値に置き換える検出手段と、データ画素値を検索する範囲を規定する検索範囲情報として、基準画素値の位置を基準として相対的に規定される位置の画素からの範囲を記憶するための記憶手段と、前記検出手段により置き換えられた前記基準画素値の位置を基準として、前記索範範囲情報により規定される前記範囲内から前記データ画素値を検索し、該データ画素値からデータを取り出す取出手段と、を含むことを特徴とする。 In order to achieve the above object, according to one aspect of the present invention, an image processing apparatus detects data embedded in an image, the embedded data or a reference for retrieving data from the image. by detecting the standard pattern representing a pattern, and detecting means for replacing the pixels in a predetermined position of the reference pattern in said detected, respectively, in a predetermined data pixel value or a reference pixel value defined in accordance with the standard pattern, As the search range information for specifying the search range of the data pixel value, the detection means is replaced with a storage means for storing a range from a pixel at a position relatively defined with reference to the position of the reference pixel value. and with reference to the position of the reference pixel value, it searches the range or found before Symbol data pixel value defined by the Sakuhan range information, the data Characterized in that it comprises a, and the retrieval means for retrieving data from the pixel value.

好ましくは、前記基準パターンは、前記画像上に等間隔に配置されることを特徴とする。 Preferably, the reference pattern, it is disposed at equal intervals on the image.

好ましくは、前記検索範囲情報は、前記基準画素値の位置を基準として相対的に規定される所定数の位置の画素のそれぞれからの範囲を規定し、前記取出手段は、前記基準画素値の位置を基準として前記検索範囲情報により規定される前記所定数の範囲のそれぞれから得られた前記データ画素値より、前記検索範囲情報により規定されるそれぞれの位置に対応させて前記所定数のデータを取り出すことを特徴とする Preferably, the search range information defines a range from each of a predetermined number of pixels relatively defined with reference to the position of the reference pixel value, and the extraction means includes the position of the reference pixel value. The predetermined number of data is extracted from the data pixel values obtained from each of the predetermined number of ranges defined by the search range information with reference to the respective positions defined by the search range information. It is characterized by that .

好ましくは、画像処理装置は、前記検出手段により置き換えられた前記基準画素値が存在する位置範囲を狭める縮小処理を行う縮小手段をさらに含み、前記取出手段は、前記縮小手段によって縮小処理された後の前記基準画素値の位置を基準として前記検索範囲情報により規定される前記範囲内から、前記データ画素値を検索し、該データ画素値からデータを取り出すことを特徴とする。 Preferably, the image processing apparatus further includes a reduction unit that performs a reduction process for narrowing a position range in which the reference pixel value replaced by the detection unit exists, and the extraction unit is subjected to the reduction process by the reduction unit. The data pixel value is searched from the range defined by the search range information with the position of the reference pixel value as a reference, and data is extracted from the data pixel value.

好ましくは、前記縮小手段は、前記検出手段により置き換えられた前記データ画素値が存在する位置範囲を狭める縮小処理を行い、前記取出手段は、前記基準画素値の位置を基準として前記検索範囲情報により規定される前記範囲内から、前記縮小手段によって縮小処理された後の前記データ画素値を検索し、該データ画素値からデータを取り出すことを特徴とする。
より好ましくは、前記縮小手段は、縮小対象の画素値が規定範囲内すべてに存在するときに当該規定範囲内の規定画素を前記縮小対象の画素値とし、前記規定範囲内に前記縮小対象の画素値以外の画素値が1つでも存在するときに前記規定画素を前記縮小対象の画素値以外の画素値とする。
Preferably, the reduction unit performs a reduction process for narrowing a position range where the data pixel value replaced by the detection unit exists, and the extraction unit uses the search range information based on the position of the reference pixel value. The data pixel value after being reduced by the reduction means is searched from within the prescribed range, and data is extracted from the data pixel value.
More preferably, when the pixel value to be reduced exists in all of the specified range, the reduction means sets the specified pixel in the specified range as the pixel value to be reduced, and the reduction target pixel in the specified range. When there is even one pixel value other than the value, the specified pixel is set as a pixel value other than the pixel value to be reduced.

本発明の他の局面に従うと、画像処理方法は画像に埋め込まれたデータを検出する画像処理方法であって、前記画像から、埋め込まれたデータまたはデータ取り出し用の基準パターンを表わす標準パターンを検出して、前記検出された標準パターン中の所定位置の画素を、それぞれ、当該標準パターンに応じて規定された所定のデータ画素値または基準画素値に置き換える検出工程と、基準画素値の位置を基準として相対的に規定される位置の画素からの範囲をデータ画素値を検索する範囲を規定する検索範囲情報を用いて、前記検出工程において置き換えられた前記基準画素値の位置を基準として、前記検索範囲情報により規定される前記範囲内から前記データ画素値を検索し、該データ画素値からデータを取り出す取出工程と、を含むことを特徴とする。 According to another aspect of the present invention, an image processing method is an image processing method for detecting data embedded in an image, and detects a standard pattern representing embedded data or a reference pattern for data retrieval from the image. to the pixels in a predetermined position of the reference pattern in said detected reference respectively, a detection step of replacing the predetermined data pixel value or a reference pixel value defined in accordance with the standard pattern, the position of the reference pixel values the range from the position of the pixel that is relatively defined using the search scope information for defining a range to search for data pixel values, with reference to the position of the reference pixel value is replaced in the detection step as the search this including searching the range or found before Symbol data pixel value defined by the range information, and the retrieval step of retrieving data from the data pixel values, the The features.

好ましくは、画像処理方法は前記検出工程において置き換えられた前記基準画素値が存在する位置範囲を狭める縮小処理を行う縮小工程をさらに含み、前記取出工程は、前記縮小工程において縮小処理された後に実行されることを特徴とする。 Preferably, the image processing method further includes a reduction process for performing a reduction process for narrowing a position range where the reference pixel value replaced in the detection process exists, and the extraction process is executed after the reduction process is performed in the reduction process. It is the fact that to said.

より好ましくは、前記縮小工程では、前記検出工程において置き換えられた前記データ画素値が存在する位置範囲を狭める縮小処理を行い、前記取出工程は、前記縮小工程において縮小処理された後に実行されることを特徴とする。 More preferably, in the reduction step, a reduction process for narrowing a position range where the data pixel value replaced in the detection step exists is performed, and the extraction step is executed after the reduction process in the reduction step. the shall be the feature.

本発明のさらに他の局面に従うと、プログラムはコンピュータに、画像に埋め込まれたデータを検出させるプログラムであって、前記コンピュータは、データ画素値を検索する範囲を規定する検索範囲情報として、基準画素値の位置を基準として相対的に規定される位置の画素からの範囲を記憶し、前記画像から、埋め込まれたデータまたはデータ取り出し位用の基準パターンを表わす標準パターンを検出して、前記検出された標準パターン中の所定位置の画素を、それぞれ、当該標準パターンに応じて規定された所定のデータ画素値または基準画素値に置き換える検出工程と、前記検出工程において置き換えられた前記基準画素値の位置を基準として、前記検索範囲情報により規定される前記範囲内から前記データ画素値を検索し、該データ画素値からデータを取り出す取出工程と、を前記コンピュータに実行させることを特徴とする。 According to still another aspect of the present invention, the program is a program that causes a computer to detect data embedded in an image, and the computer uses reference pixels as search range information that defines a range for searching for data pixel values. A range from a pixel at a position relatively defined with respect to the position of the value is stored, and a standard pattern representing a reference pattern for embedded data or a data extraction position is detected from the image, and the detection is performed. the pixels in a predetermined position of the reference pattern in the respective, a detection step of replacing the predetermined data pixel value or a reference pixel value defined in accordance with the standard pattern, position of the reference pixel value is replaced in the detection step the basis, searches the range or found before Symbol data pixel value defined by the search range information, the data Wherein the executing and the retrieval step of retrieving data from the pixel value, to the computer.

好ましくは、プログラムは、前記取出工程を実行させる前に、前記検出工程において置き換えられた前記基準画素値が存在する位置範囲を狭める縮小処理を行う縮小工程をさらにコンピュータに実行させることを特徴とする。 Preferably, the program further causes the computer to execute a reduction process for performing a reduction process for narrowing a position range in which the reference pixel value replaced in the detection process exists before the extraction process is executed. The

好ましくは、プログラムは、前記取出工程を実行させる前に、前記検出工程において置き換えられた前記データ画素値が存在する位置範囲を狭める縮小処理を行う縮小工程をさらにコンピュータに実行させることを特徴とする。
より好ましくは、プログラムは、前記縮小工程において、縮小対象の画素値が規定範囲内すべてに存在するときに当該規定範囲内の規定画素を前記縮小対象の画素値とし、前記規定範囲内に前記縮小対象の画素値以外の画素値が1つでも存在するときに前記規定画素を前記縮小対象の画素値以外の画素値とする処理をコンピュータに実行させる。
Preferably, the program further causes the computer to execute a reduction process for performing a reduction process for narrowing a position range where the data pixel value replaced in the detection process exists before the extraction process is executed. The
More preferably, in the reduction step, when the pixel value to be reduced exists in all of the specified range, the program sets the specified pixel in the specified range as the pixel value to be reduced, and reduces the reduced value within the specified range. When at least one pixel value other than the target pixel value exists, the computer is caused to execute a process of setting the specified pixel to a pixel value other than the reduction target pixel value.

本発明によれば、埋め込まれたデータパターン及び基準パターンを検出して、それぞれ所定のデータ画素値または基準画素値に置き換えた上で、前記基準画素値の位置を基準として定まる所定の範囲内から、前記データ画素値を検索し、該データ画素値からデータを取り出す。   According to the present invention, the embedded data pattern and the reference pattern are detected and replaced with a predetermined data pixel value or a reference pixel value, respectively, and then from within a predetermined range determined based on the position of the reference pixel value. The data pixel value is searched, and data is extracted from the data pixel value.

これにより、プリントアウトされた画像に延び縮みや傾きがある場合でも、基準画素値の位置に基づき、所定範囲内から各データ画素値を検索することが可能となり、したがって電子透かしとして埋め込まれたデータを正しく検出することが可能となる。   This makes it possible to search each data pixel value from within a predetermined range based on the position of the reference pixel value, even when the printed image has an expansion / contraction or inclination, and therefore data embedded as a digital watermark. Can be detected correctly.

(第1の実施の形態)
図1は、本発明の第1の実施の形態における画像処理装置のシステム構成の一例を示す図である。図1を用いて本実施形態に係る画像処理装置の概略構成を説明する。
(First embodiment)
FIG. 1 is a diagram illustrating an example of a system configuration of an image processing apparatus according to the first embodiment of the present invention. A schematic configuration of the image processing apparatus according to the present embodiment will be described with reference to FIG.

(画像処理装置の概略構成)
図1は、パーソナルコンピュータ(以下、PCと呼ぶ)を用いて画像処理装置を構成する場合を示しており、マウス11と、キーボード12と、モニタ13と、外部記憶装置14と、スキャナ15と、PC16とを含む。
(Schematic configuration of image processing apparatus)
FIG. 1 shows a case where an image processing apparatus is configured using a personal computer (hereinafter referred to as a PC), and includes a mouse 11, a keyboard 12, a monitor 13, an external storage device 14, a scanner 15, PC16.

PC16は、一般的なコンピュータのハードウェアと同様の構成を有しており、図示しないCPU(Central Processing Unit)が画像処理プログラム17を実行することによって、後述する画像処理装置の機能が実現される。   The PC 16 has the same configuration as general computer hardware, and a function of an image processing apparatus to be described later is realized by executing an image processing program 17 by a CPU (Central Processing Unit) (not shown). .

画像処理プログラム17は、一般にCD、DVD、等の外部記録媒体に記録されたものをPC16にイントールして用いる。インストールされた画像処理プログラムは、PC16内部のメモリなどに記憶される。   The image processing program 17 is generally used by installing on a PC 16 what is recorded on an external recording medium such as a CD or DVD. The installed image processing program is stored in a memory or the like inside the PC 16.

マウス11及びキーボード12は、それぞれ入力デバイスとして用いられ、ユーザが画像処理プログラム17の起動、画像処理プログラム17の実行時における各種指示などを行う際に用いられる。   The mouse 11 and the keyboard 12 are used as input devices, respectively, and are used when the user gives various instructions when starting the image processing program 17 and executing the image processing program 17.

モニタ13は、スキャナ15によって読み取られた画像データなどを表示するのに用いられ、ユーザはモニタ13に表示された内容を参照しながら、画像処理プログラム17に指示を与えることによって画像処理が進められる。   The monitor 13 is used to display image data read by the scanner 15, and the user proceeds with image processing by giving an instruction to the image processing program 17 while referring to the contents displayed on the monitor 13. .

外部記憶装置14は、スキャナ15によって読み取られた画像データなどを記憶するのに用いられる。画像処理プログラム17がこの外部記憶装置14に記憶され、PC16が外部記憶装置14から内部のRAM(Random Access Memory)に画像処理プログラム17をロードして実行するようにしてもよい。   The external storage device 14 is used to store image data read by the scanner 15. The image processing program 17 may be stored in the external storage device 14, and the PC 16 may load the image processing program 17 from the external storage device 14 into an internal RAM (Random Access Memory) and execute it.

スキャナ15は、データが埋め込まれた画像データを読み取り、読み取った画像データをPC16に出力する。PC16は、スキャナ15から受けた画像データに対して後述する処理を行うことによって、画像処理が行われる。   The scanner 15 reads the image data in which the data is embedded, and outputs the read image data to the PC 16. The PC 16 performs image processing by performing processing to be described later on the image data received from the scanner 15.

図2は、図1に示す画像処理装置をより機能的に説明するための図である。PC16は、入出力インタフェース24と、CPU/メモリ25と、記憶装置26とを含む。また、記憶装置26は、OS(Operating System)27と、画像処理プログラム17によって実現される画像処理部28とを含む。画像処理プログラム17はOS27上で動作し、画像処理部28の機能を実現する。   FIG. 2 is a diagram for functionally explaining the image processing apparatus shown in FIG. The PC 16 includes an input / output interface 24, a CPU / memory 25, and a storage device 26. In addition, the storage device 26 includes an OS (Operating System) 27 and an image processing unit 28 realized by the image processing program 17. The image processing program 17 operates on the OS 27 and realizes the function of the image processing unit 28.

画像処理部28は、OS27及び入出力インタフェース24を介してデータを入出力することによって、キーボード11、マウス12、モニタ13及びスキャナ15を制御する。画像処理部28は、キーボード11またはマウス12によるユーザ指示21を受け、スキャナ15からのスキャン画像23を受けたり、モニタ13に画像データ表示22を行ったりして、後述する画像処理を行う。   The image processing unit 28 controls the keyboard 11, mouse 12, monitor 13, and scanner 15 by inputting and outputting data via the OS 27 and the input / output interface 24. The image processing unit 28 receives a user instruction 21 from the keyboard 11 or the mouse 12, receives a scanned image 23 from the scanner 15, and displays an image data display 22 on the monitor 13 to perform image processing to be described later.

図3は、本発明の第1の実施の形態における画像処理装置のシステム構成の他の一例を示す図である。図3は、MFP(Multi Function Peripheral)を用いて画像処理装置を構成する場合を示しており、操作パネル部31と、スキャナ部32と、プリンタ部33と、MFP本体34とを含む。   FIG. 3 is a diagram showing another example of the system configuration of the image processing apparatus according to the first embodiment of the present invention. FIG. 3 shows a case where an image processing apparatus is configured using an MFP (Multi Function Peripheral), which includes an operation panel unit 31, a scanner unit 32, a printer unit 33, and an MFP main body 34.

MFP本体34は、画像処理回路35などによって構成される。画像処理回路35は、操作パネル31からのユーザの指示を受け、スキャナ部32及びプリンタ部33を制御しながら後述する画像処理を行う。   The MFP main body 34 includes an image processing circuit 35 and the like. The image processing circuit 35 receives a user instruction from the operation panel 31 and performs image processing to be described later while controlling the scanner unit 32 and the printer unit 33.

(画像処理の概略フロー)
図4は、本発明の第1の実施の形態における画像処理装置の処理の概略を説明するためのフローチャートである。図4を用いてデータ埋め込みからデータ検出に至る画像処理方法の概略フローを説明する。
(Schematic flow of image processing)
FIG. 4 is a flowchart for explaining an outline of processing of the image processing apparatus according to the first embodiment of the present invention. A schematic flow of an image processing method from data embedding to data detection will be described with reference to FIG.

まず、ステップS11はデータ埋め込み処理のステップである。画像データ41に埋め込む埋め込みデータ42を取得し、画像データ41の背景にドットパターンとして埋め込む。   First, step S11 is a data embedding process step. Embedded data 42 to be embedded in the image data 41 is acquired and embedded as a dot pattern in the background of the image data 41.

埋め込みデータ42をドットパターンとして埋め込んだ埋め込み画像はプリントアウトされ、印刷物43が作成される。   The embedded image in which the embedded data 42 is embedded as a dot pattern is printed out, and a printed matter 43 is created.

図5は、埋め込みデータ42を埋め込むときのドットパターンを示す図である。図5(a)は、ビットデータ“0”を表すデータパターンとしてのドットパターンであり、16×16画素のうち図5(a)に示す位置に黒のドットを配置することにより、データ“0”を表現する。   FIG. 5 is a diagram illustrating a dot pattern when embedding data 42 is embedded. FIG. 5A shows a dot pattern as a data pattern representing bit data “0”. By arranging black dots at the positions shown in FIG. 5A among 16 × 16 pixels, data “0” is obtained. ".

また、図5(b)は、ビットデータ“1”を表すデータパターンとしてのドットパターンであり、16×16画素のうち図5(b)に示す位置に黒のドットを配置することにより、データ“1”を表現する。   FIG. 5B shows a dot pattern as a data pattern representing the bit data “1”. By arranging black dots at positions shown in FIG. 5B among 16 × 16 pixels, data Expresses “1”.

また、図5(c)は、データ取り出し用の基準位置を表す基準パターンとしてのドットパターンであり、16×16画素のうち図5(c)に示す位置に黒のドットを配置することにより、データ取り出し用の基準位置を表現する。   FIG. 5C shows a dot pattern as a reference pattern representing a reference position for data extraction. By arranging black dots at the positions shown in FIG. 5C among 16 × 16 pixels, Represents a reference position for data retrieval.

図6は、埋め込みデータの一例を示す図である。図6に示すように、80×80画素の領域に、24ビット分のデータと、データ取り出し用基準パターンとが配置される。データ取り出し用基準パターンは、24ビット分のデータの中央に位置する。   FIG. 6 is a diagram illustrating an example of embedded data. As shown in FIG. 6, 24-bit data and a data extraction reference pattern are arranged in an 80 × 80 pixel area. The data extraction reference pattern is located at the center of the 24-bit data.

図7は、図6に示す埋め込みデータが実際にプリントアウトされるときのドットパターンを示す図である。図7に示すように、80×80画素のうち中央の16×16画素の領域にデータ取り出し用基準パターンとしてのドットパターンが配置され、それ以外の領域には図6に示す埋め込みデータに対応したデータパターン、すなわちデータ“0”またはデータ“1”を示すドットパターンが配置される。   FIG. 7 is a diagram showing a dot pattern when the embedded data shown in FIG. 6 is actually printed out. As shown in FIG. 7, a dot pattern as a data extraction reference pattern is arranged in a central 16 × 16 pixel region of 80 × 80 pixels, and the other regions correspond to the embedded data shown in FIG. A data pattern, that is, a dot pattern indicating data “0” or data “1” is arranged.

図8は、画像データの背景にデータを埋め込んで印刷したときのプリントアウト(印刷物43)の一例を示す図である。図7に示すドットパターンが紙一面に繰返し配置され、実際にプリントアウトしようとする文字などの画像データと合成されて、プリントアウトされる。このドットパターンを、たとえば600dpiで埋め込む場合、このデータセルは一辺が0.068cm(16/600インチ)とかなり小さなドットとなる。そのため、ユーザにはプリントアウトの背景にグレーの画像61が追加されているように見える。   FIG. 8 is a diagram illustrating an example of a printout (printed material 43) when printing is performed with data embedded in the background of image data. The dot pattern shown in FIG. 7 is repeatedly arranged on one surface of the paper, and is combined with image data such as characters to be actually printed out and printed out. When this dot pattern is embedded, for example, at 600 dpi, this data cell is a very small dot with a side of 0.068 cm (16/600 inches). Therefore, it seems to the user that a gray image 61 has been added to the background of the printout.

ステップS12はデータ検出処理としての検出工程、取出工程を含むステップであり、このステップの詳細は図10を参照して後述する。   Step S12 is a step including a detection step and an extraction step as data detection processing, and details of this step will be described later with reference to FIG.

(画像処理の機能構成)
図9は、図1または図3に示す画像処理装置の機能的構成を示すブロック図である。
(Functional configuration of image processing)
FIG. 9 is a block diagram illustrating a functional configuration of the image processing apparatus illustrated in FIG. 1 or 3.

この画像処理装置は、印刷物43をスキャンすることにより画像を読み取る画像読取部51と、読み取られた画像に対してパターンマッチングを行う検出手段としてのパターン検出部52と、パターン検出部52によって検出されたデータに対してドット縮小処理を行う縮小手段としての縮小処理部53と、ドット縮小処理されたデータから埋め込まれたデータを取出す取出手段としてのデータ取出部54とを含む。   This image processing apparatus is detected by an image reading unit 51 that reads an image by scanning a printed matter 43, a pattern detection unit 52 as a detection unit that performs pattern matching on the read image, and a pattern detection unit 52. A reduction processing unit 53 as a reduction unit that performs dot reduction processing on the received data, and a data extraction unit 54 as an extraction unit that extracts embedded data from the data subjected to dot reduction processing.

各処理手段の機能については、以下に画像処理の処理手順とともに合わせて説明する。   The function of each processing means will be described together with the image processing procedure.

(画像処理の詳細フロー)
図10は、図4に示すステップS12の詳細な処理手順を説明するためのフローチャートである。図10を用いて本実施形態に係る埋め込みデータ検出の画像処理方法の処理手順を説明する。
(Detailed flow of image processing)
FIG. 10 is a flowchart for explaining the detailed processing procedure of step S12 shown in FIG. The processing procedure of the image processing method for embedded data detection according to the present embodiment will be described with reference to FIG.

まず、ステップS20では、画像読取部51が、スキャナ15またはスキャナ部32によって印刷物43をスキャンしてスキャン画像44を取得する。   First, in step S <b> 20, the image reading unit 51 scans the printed material 43 by the scanner 15 or the scanner unit 32 and acquires a scanned image 44.

データ埋め込み画像の取得には、必ずしもスキャナ15またはスキャナ部32等の読み取り装置を用いる必要はなく、入出力インタフェイス24を介して接続された外部装置や、外部記憶媒体から読み取り済みの電子データとして取得するような形態であってもかまわない。   It is not always necessary to use a reading device such as the scanner 15 or the scanner unit 32 for acquiring the data embedded image, but as an external device connected via the input / output interface 24 or electronic data read from an external storage medium. It may be in the form of obtaining.

検出工程としてのステップS21では、パターン検出部52が、画像読取部51により、あるいは他の手段によって得られた画像データ44をスキャンして17×17画素のパターン(以下、入力パターンと呼ぶ)を抽出し、入力パターンに対してパターンマッチングを行う。   In step S21 as a detection process, the pattern detection unit 52 scans the image data 44 obtained by the image reading unit 51 or by other means to obtain a 17 × 17 pixel pattern (hereinafter referred to as an input pattern). Extract and perform pattern matching on the input pattern.

<検出工程>
パターンマッチング処理の一例として、単純類似度を用いてデータを検出する場合について以下に説明するが、埋め込まれたデータを検出できる方法であれば、これに限定されるものではない。
<Detection process>
As an example of the pattern matching process, a case where data is detected using simple similarity will be described below. However, the present invention is not limited to this as long as the method can detect embedded data.

単純類似度とは、標準パターンをc=(c1,c2,...,c289)とし、入力パターンをx=(x1,x2,...,x289)とすると、次式(1)によって2つのベクトルのなす角度を求め、小さいほど類似していると判断する方法である。なお、“・”はベクトルの内積を示し、“||”はベクトルの大きさを示すものとする。   The simple similarity is expressed by the following equation (1) when the standard pattern is c = (c1, c2,..., C289) and the input pattern is x = (x1, x2,..., X289). In this method, the angle formed by two vectors is obtained, and the smaller the smaller, the more similar the images are determined. “·” Indicates an inner product of vectors, and “||” indicates the magnitude of the vector.

c・x/(|c|×|x|) ・・・(1)
パターン検出部52は、式(1)によって計算された角度のcosを計算し、“1”に近いほど標準パターンと入力パターンとが近似していると判定する。
c · x / (| c | × | x |) (1)
The pattern detection unit 52 calculates the cos of the angle calculated by the equation (1), and determines that the standard pattern and the input pattern are closer to “1”.

図11は、標準パターンを説明するための図である。図11(a)は、データ“0”の標準パターンを示している。また、図11(b)は、データ“1”の標準パターンを示している。また、図11(c)は、データ取り出し用基準パターンの標準パターンを示している。   FIG. 11 is a diagram for explaining a standard pattern. FIG. 11A shows a standard pattern of data “0”. FIG. 11B shows a standard pattern of data “1”. FIG. 11C shows a standard pattern of the data extraction reference pattern.

パターン検出部52は、標準パターンとして図11(a)に示すデータ“0”を用いたときのcos値が所定のしきい値以上であれば、17×17画素の中央の画素の画素値を“0”(以下、この画素をデータ“0”に対応するデータ画素として、データ0画素と呼ぶ)とする。以下、図面では濃いグレーのドット0で表わす。   If the cos value when the data “0” shown in FIG. 11A is used as the standard pattern is equal to or greater than a predetermined threshold value, the pattern detection unit 52 calculates the pixel value of the center pixel of 17 × 17 pixels. “0” (hereinafter, this pixel is referred to as a data 0 pixel as a data pixel corresponding to the data “0”). Hereinafter, it is represented by a dark gray dot 0 in the drawing.

また、パターン検出部52は、標準パターンとして図11(b)に示すデータ“1”を用いたときのcos値が所定のしきい値以上であれば、17×17画素の中央の画素の画素値を“1”(以下、この画素をデータ“1”に対応するデータ画素として、データ1画素と呼ぶ)とする。以下、図面では薄いグレーのドット1で表わす。   Further, if the cos value when the data “1” shown in FIG. 11B is used as the standard pattern is equal to or greater than a predetermined threshold value, the pattern detection unit 52 is the pixel of the center pixel of 17 × 17 pixels. The value is “1” (hereinafter, this pixel is referred to as a data pixel corresponding to the data “1”). Hereinafter, it is represented by a light gray dot 1 in the drawings.

また、パターン検出部52は、標準パターンとして図11(c)に示すデータ取り出し用基準パターンを用いたときのcos値が所定のしきい値以上であれば、17×17画素の中央の画素の画素値を“2”(以下、この画素を基準パターンに対応する画素として、データ取り出し用の基準画素と呼ぶ)とする。以下、図面では黒のドット2で表わす。   Further, the pattern detection unit 52 determines the center pixel of 17 × 17 pixels if the cos value when using the data extraction reference pattern shown in FIG. 11C as a standard pattern is equal to or greater than a predetermined threshold value. The pixel value is “2” (hereinafter, this pixel is referred to as a pixel corresponding to the reference pattern and is referred to as a reference pixel for data extraction). Hereinafter, it is represented by black dots 2 in the drawings.

また、パターン検出部52は、標準パターンのいずれを用いてもcos値が所定のしきい値未満であれば、17×17画素の中央の画素の画素値を“3”とする。以下、図面では白で表わす。   Further, the pattern detection unit 52 sets the pixel value of the center pixel of 17 × 17 pixels to “3” if any of the standard patterns is used and the cos value is less than the predetermined threshold value. Hereinafter, it is represented in white in the drawings.

パターン検出部52は、印刷物43のスキャン画像を1画素ずつ左右方向及び上下方向にずらしながら、17×17画素の入力パターンを抽出してパターンマッチングを行うことにより、画像データを上述の画素値に置き換える。   The pattern detection unit 52 extracts the input pattern of 17 × 17 pixels while shifting the scanned image of the printed matter 43 by one pixel in the horizontal direction and the vertical direction, and performs pattern matching to convert the image data into the pixel values described above. replace.

図12は、パターン検出部52によって画素値に置き換えられた後の画像データの一例を模式的に示す図である。図12に示すように、画像データに埋め込まれたデータが画素値“0”〜“3”に置き換えられる。   FIG. 12 is a diagram schematically illustrating an example of image data after being replaced with pixel values by the pattern detection unit 52. As shown in FIG. 12, the data embedded in the image data is replaced with pixel values “0” to “3”.

図12において、符号0はデータ0画素からなるドットを、符号1はデータ1画素からなるドットの例を示す。また符号2は基準画素からなるドットであり、図に示すように縦横方向に一定周期で格子状に反復している。これは図6で示した80×80画素の埋め込みパターン(その中央部が基準パターンであり基準画素に置き換えられている)が、用紙いっぱいに繰り返し配置されていることに相当する。またデータ0画素とデータ1画素も、図6のパターンに従ってそれぞれ配置されていることになる。それら以外の白地部分の画素はすべて画素値“3”である。   In FIG. 12, reference numeral 0 indicates a dot composed of data 0 pixels, and reference numeral 1 represents an example of a dot composed of data 1 pixels. Reference numeral 2 is a dot made up of a reference pixel, which repeats in a grid pattern with a constant period in the vertical and horizontal directions as shown in the figure. This corresponds to the fact that the 80 × 80 pixel embedding pattern shown in FIG. 6 (the central portion of which is a reference pattern and replaced with a reference pixel) is repeatedly arranged over the paper. The data 0 pixel and the data 1 pixel are also arranged according to the pattern of FIG. All other white background pixels have a pixel value of “3”.

また図12において、0から2の各符号のドットについて述べたが、実際は各ドットは複数の画素を含んでいる。例えばドット2は複数の基準画素から構成される。図13(b)にその様子を示す。   In FIG. 12, the dots having the respective codes from 0 to 2 are described, but each dot actually includes a plurality of pixels. For example, the dot 2 is composed of a plurality of reference pixels. This is shown in FIG.

図13(b)は、図12におけるドット2の一例を示す部分拡大図である。各桝目は画素を示し、斜線の画素は基準画素、すなわち基準画素値2を有する画素であり、白地の画素は基準画素でもデータ画素でもない画素値3を有する画素である。この図の場合であれば、ドット2は13個の基準画素から構成されており、基準画素値の位置範囲は、斜線で示した領域となる。   FIG. 13B is a partially enlarged view showing an example of the dot 2 in FIG. Each cell represents a pixel, the hatched pixel is a reference pixel, that is, a pixel having a reference pixel value of 2, and the white pixel is a pixel having a pixel value of 3 that is neither a reference pixel nor a data pixel. In the case of this figure, the dot 2 is composed of 13 reference pixels, and the position range of the reference pixel value is an area indicated by hatching.

この基準画素値の位置範囲の広がりは、一般に、以下に述べるような理由によって生じている。   The expansion of the position range of the reference pixel value is generally caused by the reason described below.

a.データを埋め込んだ画像がプリントアウトされ印刷物43になる時点で、基準パターンを形成する各ドットがプリントにより膨張して、太ったドット状態となっており、それらに基づいて検出した基準画素の位置も太ったドットとなってしまう。   a. When the image in which the data is embedded is printed out and becomes the printed matter 43, each dot forming the reference pattern is expanded by printing and becomes a thick dot state, and the position of the reference pixel detected based on the dot is also thick. It becomes a dot.

b.印刷物43をスキャナなどで読み取り、スキャン画像データ44とする際に、印刷物のスキャナ面からの浮きなどにより、基準パターンを構成する各ドットの間隔に局部的に伸びや縮みが生じ、相対的な位置関係のずれが生ずる。これによりパターン検出時に基準画素位置の範囲に広がりが生じてしまう。   b. When the printed material 43 is read by a scanner or the like to obtain scanned image data 44, the distance between the dots constituting the reference pattern is locally expanded or contracted due to the floating of the printed material from the scanner surface, and the relative position. A relationship shift occurs. As a result, the range of the reference pixel position is expanded during pattern detection.

これらの結果、パターン検出において基準画素値に置き換えられた後のドット、すなわち基準画素値の位置範囲は、上記のような影響がなかったとしたときの基準画素値の位置範囲と比べて、広がりを持った状態で再現されることになる。   As a result, the dot after being replaced with the reference pixel value in the pattern detection, that is, the position range of the reference pixel value is wider than the position range of the reference pixel value when there is no influence as described above. It will be reproduced as it is held.

なお、上で基準画素を例に述べたことはデータ画素にも当てはまる。すなわち、同様にドットは複数のデータ画素から構成され、同様の理由により各ドット、つまり各データ画素値の位置範囲は広がりを生じてくる。   Note that what has been described above using the reference pixel as an example also applies to the data pixel. That is, similarly, a dot is composed of a plurality of data pixels, and the position range of each dot, that is, each data pixel value is expanded for the same reason.

このことは、例えば基準画素の場合であれば、ドットが太っているため基準の画素位置を特定できず、後述するデータ取り出しのフィルタ処理を複数の基準画素位置で繰り返すことになり、処理の効率を落とすことになる。またデータ画素の場合であれば、読み取り時の位置ずれにドットの太りが加わって、後述するデータ取り出しのフィルタ処理時に隣接するデータセルにはみ出し、誤ったデータ取り出しを起こさせる危険性がある。   For example, in the case of the reference pixel, since the dot is thick, the reference pixel position cannot be specified, and the data extraction filter processing described later is repeated at a plurality of reference pixel positions. Will be dropped. Further, in the case of data pixels, there is a risk that dot thickening is added to the positional deviation at the time of reading, so that the data data protrudes into adjacent data cells at the time of data extraction filter processing described later, and erroneous data extraction occurs.

そういった点に対処するため、各画素値が存在する位置範囲を狭めるべく縮小処理を行ってもよい。縮小処理について、詳細を以下に述べる。   In order to deal with such a point, reduction processing may be performed to narrow a position range where each pixel value exists. Details of the reduction processing will be described below.

<縮小工程>
次に、縮小工程としてのステップS22では、縮小処理部53が、パターン検出部52によって置き換えられた画素値が存在する位置範囲を狭める縮小処理を行う。但し、この縮小処理は省略して、次の取り出し工程に移ることもできる。
<Reduction process>
Next, in step S <b> 22 as a reduction process, the reduction processing unit 53 performs a reduction process for narrowing the position range where the pixel value replaced by the pattern detection unit 52 exists. However, this reduction process can be omitted and the process can proceed to the next extraction step.

図13(a)は、縮小処理に用いられるフィルタの一例を示す図である。この縮小処理は、データ画素とデータ取り出し用基準画素の両方について行ってもよいし、あるいはどちらか一方について行ってもよい。   FIG. 13A is a diagram illustrating an example of a filter used for the reduction process. This reduction process may be performed for both the data pixel and the data extraction reference pixel, or may be performed for either one of them.

例えば基準画素について縮小処理を行う場合、この縮小処理フィルタは、図13(a)の黒画素62(注目画素)が基準画素(画素値2)であっても、他の斜線で示す画素63の何れかが基準画素でなければ、その注目画素62を基準画素でないと判定する。すなわち、注目画素の画素値をその他画素(画素値3)に置き換える。データ画素について縮小処理する場合も同様である。   For example, when the reduction process is performed on the reference pixel, this reduction process filter is used for the pixel 63 indicated by other diagonal lines even if the black pixel 62 (target pixel) in FIG. 13A is the reference pixel (pixel value 2). If any of the pixels is not a reference pixel, it is determined that the target pixel 62 is not a reference pixel. That is, the pixel value of the target pixel is replaced with another pixel (pixel value 3). The same applies to the case of reducing the data pixel.

この縮小フィルタ処理により、例えば基準画素のドットであれば、ドット領域の周囲外縁部の画素が基準画素ではないと見なされてドット領域から外れ、ドットは縮小し、基準画素の位置範囲が中央部へ向けて狭められることになる。またデータ画素についても同様である。   With this reduction filter processing, for example, if the dot is a reference pixel, the pixel at the outer peripheral edge of the dot area is considered not to be the reference pixel and deviates from the dot area. It will be narrowed towards. The same applies to data pixels.

縮小処理部53はこの縮小処理フィルタを用いて、パターン検出部52によって画素値に置き換えられた後の画像データの全画素に対して縮小処理を行う。すなわち、画素値に置き換えられた後の画像データに対して縮小処理フィルタを適用する領域を1画素ずつ左右方向及び上下方向にずらしながら、全領域に対してフィルタ処理を行う。   The reduction processing unit 53 uses this reduction processing filter to perform reduction processing on all the pixels of the image data after being replaced with pixel values by the pattern detection unit 52. That is, the filter processing is performed on the entire region while shifting the region to which the reduction processing filter is applied to the image data after being replaced with the pixel value in the horizontal and vertical directions pixel by pixel.

なお、縮小処理フィルタは、図13(a)に示す3×3のサイズの9画素のフィルタに限られるものではなく、縮小量によって、たとえば5×5のサイズの25画素のフィルタなどに変更することも可能である。   Note that the reduction processing filter is not limited to the 9 × 3 filter of 3 × 3 size shown in FIG. 13A, and is changed to a 25 × 5 filter of 5 × 5 size, for example, depending on the reduction amount. It is also possible.

図14は、縮小処理を行った後の画像データを示す図である。図14に示すように、データ取り出し用基準画素も、データ0画素及びデータ1画素も、縮小処理によってドットが縮小されている。縮小されていることを除けば、各符号で示すドットの位置は図12と同様である。   FIG. 14 is a diagram showing the image data after performing the reduction process. As shown in FIG. 14, the dot is reduced by the reduction process in both the data extraction reference pixel, the data 0 pixel, and the data 1 pixel. Except for being reduced, the positions of the dots indicated by the respective symbols are the same as those in FIG.

このように、縮小処理を行うことにより、データ取り出し用基準画素が存在する位置範囲を狭めるようにすれば、その基準画素位置を基準として後述するデータ取り出しのフィルタ処理を繰り返す回数を、基準画素の位置範囲を狭めた分だけ減らすことができ、データ取り出しの処理を高速に行うことが可能となる。   As described above, if the position range where the reference pixel for data extraction exists is narrowed by performing the reduction process, the number of times of repeating the data extraction filter processing described later with respect to the reference pixel position is set as the reference pixel. The position range can be reduced by narrowing, and the data extraction process can be performed at high speed.

またデータ画素についても、縮小処理を行うことにより、各データ画素が存在する位置範囲を狭めるようにようにすれば、各データ画素のドットに位置ずれが生じていても、後述するデータ取り出しの処理において、隣接するデータ取り出し範囲にはみ出して誤ったデータ取り出しを起こさせる危険を抑制することができる。   For data pixels, if the position range where each data pixel exists is narrowed by performing a reduction process, the data extraction process described later will be performed even if the position of the dot of each data pixel is shifted. Therefore, it is possible to suppress the risk of causing an erroneous data extraction by protruding into an adjacent data extraction range.

<取出工程>
次に、ステップS23からステップS26は、取出工程として機能する。取出工程においても、データ取り出し用のフィルタを用いたフィルタ処理を行う。
<Removal process>
Next, step S23 to step S26 function as an extraction process. Also in the extraction process, filter processing using a data extraction filter is performed.

ステップS23では、データ取出部54が、画像データを1画素ずつ左右方向及び上下方向にずらしながら、注目画素がデータ取り出し用基準画素であるか否かを判定する。   In step S23, the data extraction unit 54 determines whether the pixel of interest is a data extraction reference pixel while shifting the image data in the horizontal direction and the vertical direction pixel by pixel.

注目画素がデータ取り出し用基準画素であれば(ステップS23:Yes)、ステップS24を実行し、その注目画素の周辺からフィルタ処理によりデータを取り出す。また、注目画素がデータ取り出し用基準画素でなければ(ステップS23:No)、何もせず(ステップS25)にステップS26に進む。   If the target pixel is the reference pixel for data extraction (step S23: Yes), step S24 is executed, and data is extracted from the periphery of the target pixel by filter processing. If the pixel of interest is not a reference pixel for data extraction (step S23: No), nothing is done (step S25) and the process proceeds to step S26.

図15は、データ取出部54がデータを取り出す際に用いるフィルタの一例を示す図である。このフィルタは、中央の画素(白丸65)を注目画素とし、注目画素を中心として16画素ずつ離れた24ヶ所の画素(黒丸66)について、その近傍の所定範囲67内でデータを検索するものである。   FIG. 15 is a diagram illustrating an example of a filter used when the data extraction unit 54 extracts data. This filter searches for data within a predetermined range 67 in the vicinity of 24 pixels (black circle 66) that are 16 pixels apart from each other with the center pixel (white circle 65) as the target pixel. is there.

このように所定範囲67内を検索することにより、画像読み取り時に紙が少し浮いているなどの理由により、読み取り画像データにおいて画素の間隔が若干変動したりしている場合であっても、適当な範囲内からデータを探しだし、正しく検出することができる。   By searching within the predetermined range 67 as described above, even when the pixel interval in the read image data is slightly changed due to a slight floating of the paper at the time of image reading, an appropriate value is obtained. Data can be searched from within the range and detected correctly.

すなわち、データ取出部54は、画像データに対して図15に示すフィルタを1画素ずつ左右方向及び上下方向にずらし、注目画素65がデータ取り出し用基準画素のときに、黒丸で示す位置にある24ヶ所の画素66を中心とした所定範囲67を検索する。そして、その範囲内の最小値を取得することでデータを取り出す。   That is, the data extraction unit 54 shifts the filter shown in FIG. 15 by one pixel in the horizontal direction and the vertical direction with respect to the image data, and when the target pixel 65 is the data extraction reference pixel, the data extraction unit 54 is located at a position indicated by a black circle. A predetermined range 67 centering on the pixels 66 at the location is searched. And data is taken out by acquiring the minimum value within the range.

最小値をデータとして取得するのは、データ画素や基準画素に対する画素値の与え方によるものである。すなわち、本実施形態ではデータ0画素またはデータ1画素に対しては、それぞれデータ画素値“0”またはデータ画素値“1”を、基準画素に対しては基準画素値“2”を、その他画素には画素値“3”を与えている。したがって取り出すデータは0または1であり、あり得る画素値0から3のうち最小値を取得すれば、その範囲内にどちらかがあるはずのデータ0または1の一方を取得することができる。   The acquisition of the minimum value as data is based on the method of giving the pixel value to the data pixel and the reference pixel. That is, in this embodiment, the data pixel value “0” or the data pixel value “1” is set for the data 0 pixel or the data 1 pixel, the reference pixel value “2” is set for the reference pixel, and the other pixels. Is given a pixel value of “3”. Therefore, the data to be extracted is 0 or 1, and if the minimum value is acquired from the possible pixel values 0 to 3, one of the data 0 or 1 that should be in the range can be acquired.

図16は、図15に示すフィルタによってデータを取り出すときの処理を説明するための図である。図16の左上に示すように、データ取り出し用フィルタ71の中央の注目画素がデータ取り出し用基準画素のときに、その周辺の24ヶ所のデータが取り出される。   FIG. 16 is a diagram for explaining processing when data is extracted by the filter shown in FIG. As shown in the upper left of FIG. 16, when the pixel of interest at the center of the data extraction filter 71 is a data extraction reference pixel, 24 pieces of data around it are extracted.

また、図16の左上の丸で示す箇所72(図17(a)に拡大図を示す)において、読み取りミスが発生しており、本来データ画素が存在すべき位置において、誤って画素値が“3”となっている。このように、一部のデータに読み取りミスがある場合でも、図15に示すフィルタを用いることによってその箇所のデータが不明であると判定することができる。   Further, a reading error has occurred at a location 72 indicated by a circle in the upper left of FIG. 16 (an enlarged view is shown in FIG. 17A), and the pixel value is erroneously changed to “ 3 ”. As described above, even when there is a reading error in a part of the data, it is possible to determine that the data at the part is unknown by using the filter shown in FIG.

また、図16の右下の丸で示す箇所73(図17(b)に拡大図を示す)において、間違ってデータが判定されたことを示している。すなわち、本来データ画素が存在しないはずの位置にデータ画素が生じている。このように、一部のデータが間違って判定された場合でも、図15に示すフィルタを用いることによってその箇所のデータを読み飛ばすことができる。   Further, it is indicated that data is erroneously determined at a location 73 indicated by a circle on the lower right in FIG. 16 (an enlarged view is shown in FIG. 17B). That is, the data pixel is generated at a position where the data pixel should not exist. As described above, even when some data is erroneously determined, the data at that portion can be skipped by using the filter shown in FIG.

なお図17(a)と(b)の拡大図は、データ取り出し用フィルタ71の中央の注目画素が、一定周期で存在するデータ取り出し用の基準画素(符号2で示す)に該当するときに、データ取り出し処理を行うことも示している。   17 (a) and 17 (b) are enlarged views when the pixel of interest in the center of the data extraction filter 71 corresponds to a data extraction reference pixel (indicated by reference numeral 2) that exists at a fixed period. It also shows that data extraction processing is performed.

図18は、データ取出部54がデータを取り出す際に用いるフィルタの他の一例を示す図である。図15は、5×5のデータを抽出するものであったが、図18は、6×6のデータを抽出するものである。6×6のデータを抽出する場合には、中央の画素が存在しないため、図18に示すように中央の4つの白丸68のいずれか1つを注目画素としてデータ取り出し用基準画素を配置し、それ以外の画素からデータを取り出す。   FIG. 18 is a diagram illustrating another example of a filter used when the data extraction unit 54 extracts data. 15 extracts 5 × 5 data, but FIG. 18 extracts 6 × 6 data. When extracting 6 × 6 data, there is no center pixel, and therefore, as shown in FIG. 18, one of the four white circles 68 at the center is used as a target pixel, and a reference pixel for data extraction is arranged. Data is extracted from other pixels.

再び、図10に示すフローチャートの説明に戻る。最後に、ステップS26で、データ取出部54は、処理すべき次の画素があるか否かを判定する。次の画素があれば(ステップS26:Yes)、ステップS23に戻って以降の処理を繰返す。また、次の画素がなければ(ステップS26:No)、処理を終了する。   Returning to the description of the flowchart shown in FIG. Finally, in step S26, the data extraction unit 54 determines whether there is a next pixel to be processed. If there is a next pixel (step S26: Yes), the process returns to step S23 and the subsequent processing is repeated. If there is no next pixel (step S26: No), the process is terminated.

以上説明したように、本実施の形態における画像処理装置によれば、パターンマッチング処理によって画像データを所定の画素値に置き換え、データ取り出しのフィルタ処理によってデータ画素位置に対して所定の範囲内から検索して埋め込まれたデータを取り出すようにしたので、画像をスキャンするときに紙が少し浮いているなどの理由により、画素の間隔が若干変動する場合であっても、データを正しく検出することが可能となった。   As described above, according to the image processing apparatus in the present embodiment, image data is replaced with predetermined pixel values by pattern matching processing, and data pixel positions are searched from within a predetermined range by filter processing for data extraction. Since the embedded data is taken out, the data can be detected correctly even when the pixel spacing fluctuates slightly because the paper is slightly floating when scanning the image. It has become possible.

また、パターンマッチングによる検出処理、縮小フィルタによる縮小処理、データ取り出し処理は何れもフィルタ処理が可能であり、フィルタサイズに応じたライン分のラインバッファを設けるだけで処理が行えるようになり、少ない回路規模でハードウェア化を行うことが可能となった。   In addition, detection processing by pattern matching, reduction processing by a reduction filter, and data extraction processing can all be performed, and processing can be performed simply by providing a line buffer corresponding to the filter size. It became possible to implement hardware on a scale.

また、データ取り出しのフィルタ処理をソフトウェアで実現する場合でも、注目画素がデータ取り出し用基準画素の場合にのみデータ取り出し処理を行えばよいため、データ取り出しのための位置決めなどが不要となり、埋め込まれたデータの検出を高速に行うことが可能となった。   Even when the data extraction filter processing is realized by software, the data extraction processing only needs to be performed when the target pixel is the reference pixel for data extraction. Data can be detected at high speed.

(第2の実施の形態)
本発明の第2の実施の形態における画像処理装置は、第1の実施の形態における画像処理装置と比較して、画像データが傾いてスキャンされた場合の処理である点が異なる。したがって、重複する構成及び機能の詳細な説明は繰返さない。
(Second Embodiment)
The image processing apparatus according to the second embodiment of the present invention is different from the image processing apparatus according to the first embodiment in that the processing is performed when image data is scanned at an inclination. Therefore, detailed description of overlapping configurations and functions will not be repeated.

なお、本実施の形態においては、スキャン画像の傾きが既知の方法、たとえば傾き検知用基準マークを利用した方法などによって、予め判っているものとして説明する。   In the present embodiment, it is assumed that the inclination of the scan image is known in advance, for example, by a method using a reference mark for inclination detection.

図19は、スキャン画像が傾いているときに用いられる標準パターンの一例を示す図である。図19(a)は、データ“0”の標準パターンを示している。また、図19(b)は、データ“1”の標準パターンを示している。また、図19(c)は、データ取り出し用基準パターンの標準パターンを示している。   FIG. 19 is a diagram illustrating an example of a standard pattern used when the scan image is tilted. FIG. 19A shows a standard pattern of data “0”. FIG. 19B shows a standard pattern of data “1”. FIG. 19C shows a standard pattern of the data extraction reference pattern.

図19に示すように,スキャン画像の傾きにより、標準パターンの画素数が21×21となっている。パターン検出部52は、印刷物43のスキャン画像を1画素ずつ左右方向及び上下方向にずらしながら、21×21画素の入力パターンを抽出して、図21に示す標準パターンとのパターンマッチングを行うことにより、画像データを上述の画素値に置き換える。   As shown in FIG. 19, the number of pixels of the standard pattern is 21 × 21 due to the inclination of the scan image. The pattern detection unit 52 extracts an input pattern of 21 × 21 pixels while shifting the scanned image of the printed material 43 pixel by pixel in the horizontal direction and the vertical direction, and performs pattern matching with the standard pattern shown in FIG. The image data is replaced with the above pixel values.

なお、スキャン画像の傾きに応じた複数の標準パターンが予め用意されており、検出されたスキャン画像の傾きに応じて、複数の標準パターンの中から最適なものが選択されて利用される。   A plurality of standard patterns corresponding to the inclination of the scan image are prepared in advance, and an optimum one is selected and used from the plurality of standard patterns according to the detected inclination of the scan image.

図20は、スキャン画像が傾いている場合において、パターン検出部52によって画素値に置き換えられた後の画像データの一例を示す図である。図20に示すように、画像データに埋め込まれたデータが全体的に傾いて画素値“0”〜“3”に置き換えられる。   FIG. 20 is a diagram illustrating an example of image data after being replaced with pixel values by the pattern detection unit 52 when the scan image is tilted. As shown in FIG. 20, the data embedded in the image data is tilted as a whole and replaced with pixel values “0” to “3”.

なお、縮小処理部53による縮小フィルタ処理を行っても、図20は、データ0画素及びデータ1画素がフィルタ処理によって全体的に傾いたまま縮小される。   Even when the reduction filter processing by the reduction processing unit 53 is performed, in FIG. 20, the data 0 pixel and the data 1 pixel are reduced while being entirely inclined by the filter processing.

図21は、スキャン画像が傾いている場合において、データを取り出すときの処理を説明するための図である。図21の左上に示すように、スキャン画像の傾きに応じて傾いたデータ取り出し用フィルタ74が用いられ、フィルタの中央の注目画素がデータ取り出し用基準画素のときに、その周辺の24ヶ所をそれぞれ中心とする所定範囲内からデータが取り出される(図22参照)。   FIG. 21 is a diagram for explaining processing when data is extracted when the scan image is tilted. As shown in the upper left of FIG. 21, a data extraction filter 74 inclined according to the inclination of the scan image is used, and when the pixel of interest at the center of the filter is a reference pixel for data extraction, Data is extracted from a predetermined range as the center (see FIG. 22).

図22は図15に示したデータ取り出し用フィルタを傾けた例である。   FIG. 22 shows an example in which the data extraction filter shown in FIG. 15 is tilted.

(画像処理のH/W化)
図23は、フィルタ処理のハードウェア構成の一例を示す図である。このフィルタは、図22に示すデータ取り出し用フィルタに対応しており、104のラインバッファ1〜104と、105のシフトレジスタ群と、フィルタ処理演算回路とを含む。
(H / W image processing)
FIG. 23 is a diagram illustrating an example of a hardware configuration of filter processing. This filter corresponds to the data extraction filter shown in FIG. 22, and includes 104 line buffers 1 to 104, 105 shift register groups, and a filter processing arithmetic circuit.

ラインバッファ1〜104は、それぞれ画像データの1ライン分のデータを保持する。このデータ取り出し用フィルタは、105×105画素のデータに対してフィルタ処理を行うものであるが、1番上のラインのデータは直接シフトレジスタ群に入力されるため、そのラインに対応するラインバッファは設けられていない。   Each of the line buffers 1 to 104 holds one line of image data. This data extraction filter performs a filtering process on data of 105 × 105 pixels. Since the data on the top line is directly input to the shift register group, the line buffer corresponding to that line is used. Is not provided.

シフトレジスタ群は、それぞれ横方向の105画素分のデータを順次シフトするものであり、図示しないクロックに同期して1画素ずつデータがシフトされる。   The shift register group sequentially shifts data for 105 pixels in the horizontal direction, and data is shifted pixel by pixel in synchronization with a clock (not shown).

フィルタ処理演算回路は、シフトレジスタ群に保持される105×105画素分のデータに対して、図10における取出工程で説明したデータ取り出しの処理を行う。   The filter processing arithmetic circuit performs the data extraction process described in the extraction step in FIG. 10 on the data of 105 × 105 pixels held in the shift register group.

このように、画像メモリとしてフィルタサイズ分のラインバッファを設けるだけでフィルタ処理が行えるため、ハードウェア化を容易に行うことが可能となる。   As described above, since the filtering process can be performed only by providing the line buffer corresponding to the filter size as the image memory, it is possible to easily implement hardware.

また、パターン検出部52のフィルタも同様の構成で実現でき、25×25画素のデータを保持するために画像データとして24ライン分のラインバッファを設けるだけでマターンマッチング処理が行えるようになる。また、縮小処理部53の縮小フィルタも同様の構成で実現でき、画像データとして2ライン分のラインバッファを設けるだけで縮小処理が行えるようになる。   Further, the filter of the pattern detection unit 52 can be realized with the same configuration, and a pattern matching process can be performed only by providing a line buffer for 24 lines as image data in order to hold data of 25 × 25 pixels. The reduction filter of the reduction processing unit 53 can also be realized with the same configuration, and reduction processing can be performed only by providing a line buffer for two lines as image data.

図24は、本発明の第2の実施の形態における画像処理装置をハードウェアで構成した場合におけるパイプライン処理を説明するための図である。スキャン画像の傾き角度が最大の場合には、パターン検出部52のフィルタは25×25のサイズとなり24ライン分のラインバッファによって構成されるため、24ライン分の遅延が発生する。   FIG. 24 is a diagram for explaining pipeline processing when the image processing apparatus according to the second embodiment of the present invention is configured by hardware. When the tilt angle of the scan image is the maximum, the filter of the pattern detection unit 52 has a size of 25 × 25 and is configured by a line buffer for 24 lines, so that a delay for 24 lines occurs.

したがって、データ取出部54がデータの取り出し処理を開始するまでに24ライン分の遅延が発生する(但し、図13(a)の縮小フィルタ処理を行う場合にはさらに2ライン分の遅延が加わる)。   Therefore, a delay of 24 lines occurs until the data extraction unit 54 starts the data extraction process (however, when the reduction filter process of FIG. 13A is performed, a delay of 2 lines is added). .

このように、遅延分のラインバッファを設ける形で、パイプライン処理に対応したハードウェア化を行うことができる。   In this way, hardware corresponding to pipeline processing can be implemented by providing a delay line buffer.

以上説明したように、本実施の形態における画像処理装置によれば、スキャン画像の傾きに対応して傾けたフィルタを用いるようにしたので、フィルタ処理を高速に行うことが可能となった。   As described above, according to the image processing apparatus of the present embodiment, since the tilted filter is used corresponding to the tilt of the scan image, the filter processing can be performed at high speed.

また、パターン検出部52、縮小処理部53及びデータ取出部54をハードウェアで構成した場合には、パイプライン処理が行えるようになるため、処理速度を大幅に向上させることが可能となった。   In addition, when the pattern detection unit 52, the reduction processing unit 53, and the data extraction unit 54 are configured by hardware, pipeline processing can be performed, so that the processing speed can be greatly improved.

今回開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明の第1の実施の形態における画像処理装置のシステム構成の一例を示す図である。It is a figure which shows an example of the system configuration | structure of the image processing apparatus in the 1st Embodiment of this invention. 図1に示す画像処理装置をより機能的に説明するための図である。It is a figure for demonstrating more functionally the image processing apparatus shown in FIG. 本発明の第1の実施の形態における画像処理装置のシステム構成の他の一例を示す図である。It is a figure which shows another example of the system configuration | structure of the image processing apparatus in the 1st Embodiment of this invention. 本発明の第1の実施の形態における画像処理装置の処理の概略を説明するためのフローチャートである。3 is a flowchart for explaining an outline of processing of the image processing apparatus according to the first embodiment of the present invention. ビットデータを埋め込むときのドットパターンを示す図である。It is a figure which shows a dot pattern when embedding bit data. 埋め込みデータの一例を示す図である。It is a figure which shows an example of embedding data. 図6に示す埋め込みデータが実際にプリントアウトされるときのドットパターンを示す図である。FIG. 7 is a diagram showing a dot pattern when the embedded data shown in FIG. 6 is actually printed out. 画像データの背景にデータを埋め込んで印刷したときのプリントアウトの一例を示す図である。It is a figure which shows an example of the printout when data is embedded and printed in the background of image data. 図1または図3に示す画像処理装置の機能的構成を示すブロック図である。FIG. 4 is a block diagram illustrating a functional configuration of the image processing apparatus illustrated in FIG. 1 or FIG. 3. 図4に示すステップS12の詳細な処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the detailed process sequence of step S12 shown in FIG. 標準パターンを説明するための図である。It is a figure for demonstrating a standard pattern. パターン検出部52によって画素値に置き換えられた後の画像データの一例を示す図である。It is a figure which shows an example of the image data after being replaced by the pixel value by the pattern detection part. 縮小処理に用いられるフィルタの一例(a)、及び基準パターンを基準画素値に置き換えた後の基準画素の位置範囲の一例(b)を示す図である。It is a figure which shows an example (b) of a position range of a reference pixel after replacing an example (a) of a filter used for a reduction process and a reference pattern with a reference pixel value. 縮小処理を行った後の画像データを示す図である。It is a figure which shows the image data after performing a reduction process. データ取出部54がデータを取り出す際に用いるフィルタの一例を示す図である。It is a figure which shows an example of the filter used when the data extraction part 54 extracts data. 図15に示すフィルタによってデータを取り出すときの処理を説明するための図である。It is a figure for demonstrating the process when taking out data with the filter shown in FIG. 図16の一部の拡大図である。It is a one part enlarged view of FIG. データ取出部54がデータを取り出す際に用いるフィルタの他の一例を示す図である。It is a figure which shows another example of the filter used when the data extraction part 54 extracts data. スキャン画像が傾いているときに用いられる標準パターンの一例を示す図である。It is a figure which shows an example of the standard pattern used when a scan image inclines. スキャン画像が傾いている場合において、パターン検出部52によって画素値に置き換えられた後の画像データの一例を示す図である。It is a figure which shows an example of the image data after being replaced by the pixel value by the pattern detection part 52, when a scan image is inclined. スキャン画像が傾いている場合において、データを取り出すときの処理を説明するための図である。It is a figure for demonstrating the process at the time of taking out data when a scan image inclines. スキャン画像が傾いているときに用いられるデータ取り出し用フィルタの一例を示す図である。It is a figure which shows an example of the filter for data extraction used when a scan image inclines. 縮小処理部53のハードウェア構成の一例を示す図である。3 is a diagram illustrating an example of a hardware configuration of a reduction processing unit 53. FIG. 本実施形態に係る画像処理装置をハードウェアで構成した場合におけるパイプライン処理を説明するための図である。It is a figure for demonstrating the pipeline process at the time of comprising the image processing apparatus which concerns on this embodiment with hardware.

符号の説明Explanation of symbols

11 マウス
12 キーボード
13 モニタ
14 外部記憶装置
15 スキャナ
16 PC
17 画像処理プログラム
21 ユーザ指示
22 画像データ表示
23 スキャン画像
24 入出力インタフェース
25 CPU/メモリ
26 記憶装置
27 OS
28 画像処理部
31 操作パネル部
32 スキャナ部
33 プリンタ部
34 MFP本体
41 画像データ
42 埋め込みデータ
43 印刷物
44 スキャン画像データ
51 画像読取部
52 パターン検出部
53 縮小処理部
54 データ取出部
11 mouse 12 keyboard 13 monitor 14 external storage device 15 scanner 16 PC
17 Image processing program 21 User instruction 22 Image data display 23 Scanned image 24 Input / output interface 25 CPU / memory 26 Storage device 27 OS
28 Image processing section 31 Operation panel section 32 Scanner section 33 Printer section 34 MFP main body 41 Image data 42 Embedded data 43 Printed matter 44 Scanned image data 51 Image reading section 52 Pattern detection section 53 Reduction processing section 54 Data extraction section

Claims (14)

画像に埋め込まれたデータを検出する画像処理装置であって、
前記画像から、埋め込まれたデータまたはデータ取り出し用の基準パターンを表わす標準パターンを検出して、前記検出された標準パターン中の所定位置の画素を、それぞれ、当該標準パターンに応じて規定された所定のデータ画素値または基準画素値に置き換える検出手段と、
データ画素値を検索する範囲を規定する検索範囲情報として、基準画素値の位置を基準として相対的に規定される位置の画素からの範囲を記憶するための記憶手段と、
前記検出手段により置き換えられた前記基準画素値の位置を基準として、前記検索範囲情報により規定される前記範囲内から前記データ画素値を検索し、該データ画素値からデータを取り出す取出手段と、を含むことを特徴とする画像処理装置。
An image processing device for detecting data embedded in an image,
A standard pattern representing embedded data or a reference pattern for data retrieval is detected from the image, and pixels at predetermined positions in the detected standard pattern are respectively determined according to the standard pattern. Detecting means for replacing the data pixel value or the reference pixel value with
Storage means for storing a range from a pixel at a position relatively defined with respect to the position of the reference pixel value as search range information for defining a range for searching for the data pixel value;
With reference to the position of the reference pixel value is replaced by the detection means, the search range information by searching the range or found before Symbol data pixel value defined, and the retrieval means for retrieving data from the data pixel value And an image processing apparatus.
前記基準パターンは、前記画像上に等間隔に配置されることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the reference patterns are arranged on the image at equal intervals. 前記検索範囲情報は、前記基準画素値の位置を基準として相対的に規定される所定数の位置の画素のそれぞれからの範囲を規定し、
前記取出手段は、前記基準画素値の位置を基準として前記検索範囲情報により規定される前記所定数の範囲のそれぞれから得られた前記データ画素値より、前記検索範囲情報により規定されるそれぞれの位置に対応させて前記所定数のデータを取り出すことを特徴とする請求項1または2に記載の画像処理装置。
The search range information defines a range from each of a predetermined number of pixels relatively defined with reference to the position of the reference pixel value,
Each of the positions defined by the search range information from the data pixel values obtained from each of the predetermined number of ranges defined by the search range information on the basis of the position of the reference pixel value. The image processing apparatus according to claim 1, wherein the predetermined number of pieces of data is extracted in correspondence with the data.
前記検出手段により置き換えられた前記基準画素値が存在する位置範囲を狭める縮小処理を行う縮小手段をさらに含み、
前記取出手段は、前記縮小手段によって縮小処理された後の前記基準画素値の位置を基準として前記検索範囲情報により規定される前記範囲内から、前記データ画素値を検索し、該データ画素値からデータを取り出すことを特徴とする請求項1〜3のいずれかに記載の画像処理装置。
Reduction means for performing a reduction process for narrowing a position range where the reference pixel value replaced by the detection means exists;
The extraction means searches for the data pixel value from the range defined by the search range information with reference to the position of the reference pixel value after being reduced by the reduction means, and from the data pixel value the image processing apparatus according to claim 1, characterized in that retrieving the data.
前記縮小手段は、前記検出手段により置き換えられた前記データ画素値が存在する位置範囲を狭める縮小処理を行い、
前記取出手段は、前記基準画素値の位置を基準として前記検索範囲情報により規定される前記範囲内から、前記縮小手段によって縮小処理された後の前記データ画素値を検索し、該データ画素値からデータを取り出すことを特徴とする請求項に記載の画像処理装置。
The reduction means performs a reduction process for narrowing a position range where the data pixel value replaced by the detection means exists,
The extraction means searches the data pixel value after being reduced by the reduction means from within the range defined by the search range information with reference to the position of the reference pixel value, and from the data pixel value The image processing apparatus according to claim 4 , wherein data is extracted.
前記縮小手段は、縮小対象の画素値が規定範囲内すべてに存在するときに当該規定範囲内の規定画素を前記縮小対象の画素値とし、前記規定範囲内に前記縮小対象の画素値以外の画素値が1つでも存在するときに前記規定画素を前記縮小対象の画素値以外の画素値とする、請求項4または5に記載の画像処理装置。 The reduction means uses the specified pixel in the specified range as the pixel value to be reduced when the pixel value to be reduced exists in the specified range, and a pixel other than the reduced pixel value in the specified range. The image processing apparatus according to claim 4 , wherein when at least one value exists, the prescribed pixel is set to a pixel value other than the pixel value to be reduced. 画像に埋め込まれたデータを検出する画像処理方法であって、
前記画像から、埋め込まれたデータまたはデータ取り出し用の基準パターンを表わす標準パターンを検出して、前記検出された標準パターン中の所定位置の画素を、それぞれ、当該標準パターンに応じて規定された所定のデータ画素値または基準画素値に置き換える検出工程と、
基準画素値の位置を基準として相対的に規定される位置の画素からの範囲をデータ画素値を検索する範囲を規定する検索範囲情報を用いて、前記検出工程において置き換えられた前記基準画素値の位置を基準として、前記検索範囲情報により規定される前記範囲内から前記データ画素値を検索し、該データ画素値からデータを取り出す取出工程と、を含むことを特徴とする画像処理方法。
An image processing method for detecting data embedded in an image,
A standard pattern representing embedded data or a reference pattern for data retrieval is detected from the image, and pixels at predetermined positions in the detected standard pattern are respectively determined according to the standard pattern. A detection process for replacing the data pixel value or the reference pixel value with
Using the search range information that defines the range in which the data pixel value is searched for the range from the pixel at a position that is relatively defined with respect to the position of the reference pixel value, the reference pixel value that has been replaced in the detection step position as a reference, the searches the range or found before Symbol data pixel value defined by the search range information, the image processing method characterized by including: a take-out step of taking out the data from the data pixel values.
前記検出工程において置き換えられた前記基準画素値が存在する位置範囲を狭める縮小処理を行う縮小工程をさらに含み、
前記取出工程は、前記縮小工程において縮小処理された後に実行されることを特徴とする請求項に記載の画像処理方法。
A reduction step of performing a reduction process for narrowing a position range where the reference pixel value replaced in the detection step exists;
The image processing method according to claim 7 , wherein the extraction step is executed after the reduction process is performed in the reduction step.
前記縮小工程では、前記検出工程において置き換えられた前記データ画素値が存在する位置範囲を狭める縮小処理を行い、
前記取出工程は、前記縮小工程において縮小処理された後に実行されることを特徴とする請求項に記載の画像処理方法。
In the reduction process, a reduction process for narrowing a position range where the data pixel value replaced in the detection process exists is performed.
The image processing method according to claim 8 , wherein the extraction step is executed after the reduction process in the reduction step.
前記縮小工程は、縮小対象の画素値が規定範囲内すべてに存在するときに当該規定範囲内の規定画素を前記縮小対象の画素値とし、前記規定範囲内に前記縮小対象の画素値以外の画素値が1つでも存在するときに前記規定画素を前記縮小対象の画素値以外の画素値とする、請求項8または9に記載の画像処理方法。 In the reduction step, when the pixel values to be reduced exist in all the specified range, the specified pixels in the specified range are set as the pixel values to be reduced, and the pixels other than the pixel values to be reduced are in the specified range. The image processing method according to claim 8 or 9 , wherein when at least one value exists, the prescribed pixel is set to a pixel value other than the pixel value to be reduced. コンピュータに、画像に埋め込まれたデータを検出させるプログラムであって、
前記コンピュータは、データ画素値を検索する範囲を規定する検索範囲情報として、基準画素値の位置を基準として相対的に規定される位置の画素からの範囲を記憶し、
前記画像から、埋め込まれたデータまたはデータ取り出し用の基準パターンを表わす標準パターンを検出して、前記検出された標準パターン中の所定位置の画素を、それぞれ、当該標準パターンに応じて規定された所定のデータ画素値または基準画素値に置き換える検出工程と、
前記検出工程において置き換えられた前記基準画素値の位置を基準として、前記範囲情報により規定される前記範囲内から前記データ画素値を検索し、該データ画素値からデータを取り出す取出工程と、を前記コンピュータに実行させることを特徴とするプログラム。
A program that causes a computer to detect data embedded in an image,
The computer stores a range from a pixel at a position relatively defined with reference to a position of a reference pixel value as search range information defining a range for searching for a data pixel value,
A standard pattern representing embedded data or a reference pattern for data retrieval is detected from the image, and pixels at predetermined positions in the detected standard pattern are respectively determined according to the standard pattern. A detection process for replacing the data pixel value or the reference pixel value with
With reference to the position of the reference pixel value is replaced in the detection step, the range information by searching the range or found before Symbol data pixel value defined, and the retrieval step of retrieving data from the data pixel values, a program characterized by causing the computer to perform the.
前記取出工程を実行させる前に、
前記検出工程において置き換えられた前記基準画素値が存在する位置範囲を狭める縮小処理を行う縮小工程をさらに前記コンピュータに実行させることを特徴とする請求項11に記載のプログラム。
Before performing the removal step,
The program according to claim 11, characterized in that to execute further the computer a reduction step of performing reduction processing of narrowing the range of positions wherein the reference pixel value is replaced in the detection step is present.
前記取出工程を実行させる前に、
前記検出工程において置き換えられた前記データ画素値が存在する位置範囲を狭める縮小処理を行う縮小工程をさらに前記コンピュータに実行させることを特徴とする請求項12に記載のプログラム。
Before performing the removal step,
The program according to claim 12, characterized in that to execute further the computer a reduction step of performing reduction processing of narrowing the range of positions said data pixel value is replaced in the detection step is present.
前記縮小工程において、縮小対象の画素値が規定範囲内すべてに存在するときに当該規定範囲内の規定画素を前記縮小対象の画素値とし、前記規定範囲内に前記縮小対象の画素値以外の画素値が1つでも存在するときに前記規定画素を前記縮小対象の画素値以外の画素値とする処理を前記コンピュータに実行させる、請求項12または13に記載のプログラム。 In the reduction step, when the pixel value to be reduced exists in all within the specified range, the specified pixel in the specified range is set as the pixel value to be reduced, and the pixels other than the pixel value to be reduced are in the specified range. value to execute the processing of the specified pixel as a pixel value other than the pixel values of the reduced object to the computer when there is at least 1, a program according to claim 12 or 13.
JP2007043576A 2007-02-23 2007-02-23 Image processing apparatus, image processing method, and program Expired - Fee Related JP4984957B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007043576A JP4984957B2 (en) 2007-02-23 2007-02-23 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007043576A JP4984957B2 (en) 2007-02-23 2007-02-23 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2008211299A JP2008211299A (en) 2008-09-11
JP4984957B2 true JP4984957B2 (en) 2012-07-25

Family

ID=39787267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007043576A Expired - Fee Related JP4984957B2 (en) 2007-02-23 2007-02-23 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP4984957B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4254441B2 (en) * 2003-09-16 2009-04-15 カシオ計算機株式会社 Planar recording medium and coordinate reading method
JP4552754B2 (en) * 2005-05-18 2010-09-29 コニカミノルタビジネステクノロジーズ株式会社 Information embedding device, method, program, and recording medium, and information detecting device, method, program, and computer-readable recording medium
JP4552757B2 (en) * 2005-05-26 2010-09-29 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus, image processing method, and image processing program

Also Published As

Publication number Publication date
JP2008211299A (en) 2008-09-11

Similar Documents

Publication Publication Date Title
KR100817773B1 (en) Image processing system, image forming apparatus, image processing method and computer readable media storing data presenting program
US8768052B2 (en) Image processing apparatus, image processing method, and non-transitory computer readable medium
JP4310288B2 (en) Image processing apparatus and method, program, and storage medium
JP4424309B2 (en) Image processing apparatus, character determination program, and character determination method
KR100842049B1 (en) Image processing device, image forming device, image processing method, image forming method and computer-readable recording medium for storing program
JP5049920B2 (en) Image processing apparatus and image processing method
JP2006324909A (en) Information embedding apparatus, method, program, and recording medium, and information detection apparatus, method, program, and computer-readable recording medium
US8064636B2 (en) Image processing apparatus and method of controlling the same
JP2009004990A (en) Image forming apparatus and image forming method
JP6413542B2 (en) Image processing apparatus and image processing program
JP4140519B2 (en) Image processing apparatus, program, and recording medium
JP2017161969A (en) Character recognition device, method, and program
JP4893643B2 (en) Detection method and detection apparatus
JP4984957B2 (en) Image processing apparatus, image processing method, and program
JP4552757B2 (en) Image processing apparatus, image processing method, and image processing program
JP4725463B2 (en) Image processing apparatus, image processing method and computer program thereof
JP5056063B2 (en) Image processing apparatus and image processing program
JP4552822B2 (en) Image processing apparatus, image processing method, and image processing program
JP5233839B2 (en) Information extraction apparatus, information extraction method, information extraction program, and storage medium
JP2005301713A (en) Method and device for removing woven pattern of business form image
JP2008301284A (en) Image processing apparatus and control method thereof
JP4789867B2 (en) Image processing apparatus and control method thereof
JP4517667B2 (en) Document image collation device, document image alignment method and program
JP4861250B2 (en) Image processing apparatus and control method thereof
JP2008301283A (en) Image processing apparatus and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100128

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110705

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120314

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees