JP4803243B2 - Image processing apparatus and image processing program - Google Patents
Image processing apparatus and image processing program Download PDFInfo
- Publication number
- JP4803243B2 JP4803243B2 JP2008319709A JP2008319709A JP4803243B2 JP 4803243 B2 JP4803243 B2 JP 4803243B2 JP 2008319709 A JP2008319709 A JP 2008319709A JP 2008319709 A JP2008319709 A JP 2008319709A JP 4803243 B2 JP4803243 B2 JP 4803243B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- determination
- image
- line memory
- pixel
- 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
Links
- 230000015654 memory Effects 0.000 claims description 139
- 230000006870 function Effects 0.000 claims description 3
- 238000001514 detection method Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 14
- 238000000034 method Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 3
- 238000007639 printing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Analysis (AREA)
Description
本発明は、画像処理装置および画像処理プログラムに関する。 The present invention relates to an image processing apparatus and an image processing program.
画像処理技術において、画像比較に必要なメモリを削減する技術が存在する。 In the image processing technology, there is a technology for reducing the memory required for image comparison.
特許文献1では、紙に出力した画像をスキャナで読み取り、読み取った画像と元画像とを比較して出力画像の適否を判断する際に、従来はページ単位で画像比較していたことを、ページをいくつかの領域に分けて比較することで、メモリの削減と処理速度の向上を実現する画像形成装置が提案されている。
この発明は、パターンマッチングに必要なラインメモリをパターン検出に関係の低い個所は低い解像度で保存するようにしてラインメモリのメモリ容量を減らす画像処理装置および画像処理プログラムを提案することを目的とする。 It is an object of the present invention to propose an image processing apparatus and an image processing program for reducing the memory capacity of a line memory by storing a line memory necessary for pattern matching at a low resolution at a portion not related to pattern detection. .
上記目的を達成する為に、請求項1の画像処理装置は、判定対象画像の画像データを入力して該判定対象画像の画像データをライン単位で順次シフトして記憶する第1の複数のラインメモリを有し、前記判定対象画像の注目画素を含む第1の領域の画像データを第1の解像度で蓄積する第1のラインメモリと、前記第1の複数のラインメモリの最終複数ラインメモリに記憶された画像データの論理和を入力してライン単位で順次シフトして記憶する第2の複数のラインメモリを有し、前記判定画像の前記第1のラインメモリに蓄積された画像データに対応する画像を除く第2の領域の画像を前記第1の解像度より低い第2の解像度で蓄積する第2のラインメモリと、前記第1のラインメモリに蓄積された画像データから前記注目画素が地紋を構成するか否かを判定するための第1の判定領域を生成する第1の判定領域生成手段と、前記第1のラインメモリに蓄積された画像データおよび前記第2のラインメモリに蓄積された画像データから前記注目画素の周辺画素に基づき該注目画素が地紋を構成するか否かを判定するための第2の判定領域を生成する第2の判定領域生成手段と、前記第1の判定領域生成手段により生成された前記第1の領域の画像データを予め記憶した参照画像データと照合して前記注目画素が地紋を構成するか否かを判定する第1の判定手段と、前記第2の判定領域生成手段により生成された前記第2の領域の画像データのうちの前記注目画素から所定の距離にある画素の画像データを参照して前記注目画素が地紋を構成するか否かを判定する第2の判定手段と、前記第1の判定手段および前記第2の判定手段がどちらも前記注目画素が地紋を構成すると判定したか否かの判定結果によって前記注目画素が地紋を構成するか否かを判定する判定手段とを具備するように構成される。
In order to achieve the above object, the image processing apparatus according to claim 1 receives the image data of the determination target image and sequentially shifts and stores the image data of the determination target image in units of lines. A first line memory having a memory and storing image data of a first region including a target pixel of the determination target image at a first resolution; and a final plurality of line memories of the first plurality of line memories. A second plurality of line memories for inputting logical sums of stored image data and sequentially storing them in line units, and corresponding to the image data stored in the first line memory of the judgment image A second line memory for storing an image of a second region excluding the image to be processed at a second resolution lower than the first resolution, and the pixel of interest from the image data stored in the first line memory. The A first determination area generating means for generating a first determination area for determining whether or not formed, stored in the first image data and the stored in the line memory of the second line memory Second determination area generating means for generating a second determination area for determining whether or not the target pixel constitutes a tint block based on peripheral pixels of the target pixel from image data; and the first determination area First determination means for comparing the image data of the first region generated by the generation means with reference image data stored in advance to determine whether the pixel of interest constitutes a tint block; and the second It is determined whether or not the target pixel constitutes a tint block with reference to image data of a pixel located at a predetermined distance from the target pixel in the image data of the second region generated by the determination region generation unit. Second determination means It said first judging means and the second judging means determining means for determining whether the pixel of interest constitutes a background pattern by whether the determination result were both determined to the pixel of interest constitutes a background pattern It is comprised so that it may comprise.
また、請求項2の発明は、請求項1の発明において、前記第2の判定手段は、前記第2の判定領域生成手段により生成された前記第2の領域の画像データのうちの前記注目画素からの相対位置が所定の角度の配置にある画素の画像データを参照して前記注目画素が地紋を構成するか否かを判定するように構成される。 According to a second aspect of the present invention, in the first aspect of the invention, the second determination unit includes the pixel of interest in the image data of the second region generated by the second determination region generation unit. It is configured to determine whether or not the pixel of interest constitutes a tint block by referring to image data of a pixel whose relative position from is at a predetermined angle .
また、請求項3の発明は、請求項1または2の発明において、前記第1の判定領域生成手段は、前記第1の複数のラインメモリに蓄積された各画素の画像データから前記第1の判定領域を生成し、前記第2の判定領域生成手段は、前記第1の複数のラインメモリおよび前記第2の複数のラインメモリに蓄積された各画素の画像データから前記第2の判定領域を生成するように構成される。 According to a third aspect of the present invention, in the first or second aspect of the present invention, the first determination area generation means generates the first determination from the image data of each pixel stored in the first plurality of line memories. A determination area is generated, and the second determination area generation means generates the second determination area from image data of each pixel stored in the first plurality of line memories and the second plurality of line memories. Configured to generate .
また、請求項4の発明の画像処理プログラムは、コンピュータを、判定対象画像の画像データを入力して該判定対象画像の画像データをライン単位で順次シフトして記憶する第1の複数のラインメモリを有する第1のラインメモリに、前記判定対象画像の注目画素を含む第1の領域の画像データを第1の解像度で蓄積する手段、前記第1の複数のラインメモリの最終複数ラインメモリに記憶された画像データの論理和を入力してライン単位で順次シフトして記憶する第2の複数のラインメモリを有する第2のラインメモリに、前記判定画像の前記第1のラインメモリに蓄積された画像データに対応する画像を除く第2の領域の画像を前記第1の解像度より低い第2の解像度で蓄積する手段、前記第1のラインメモリに蓄積された画像データから前記注目画素が地紋を構成するか否かを判定するための第1の判定領域を生成する第1の判定領域生成手段、前記第1のラインメモリに蓄積された画像データおよび前記第2のラインメモリに蓄積された画像データから前記注目画素の周辺画素に基づき該注目画素が地紋を構成するか否かを判定するための第2の判定領域を生成する第2の判定領域生成手段、前記第1の判定領域生成手段により生成された前記第1の領域の画像データを予め記憶した参照画像データと照合して前記注目画素が地紋を構成するか否かを判定する第1の判定手段、前記第2の判定領域生成手段により生成された前記第2の領域の画像データのうちの前記注目画素から所定の距離にあり前記注目画素からの相対位置が所定の角度の配置にある画素の画像データを参照して前記注目画素が地紋を構成するか否かを判定する第2の判定手段、前記第1の判定手段および前記第2の判定手段がどちらも前記注目画素が地紋を構成すると判定したか否かの判定結果によって前記注目画素が地紋を構成するか否かを判定する判定手段として機能させる。 According to a fourth aspect of the present invention, there is provided an image processing program in which a computer inputs first image data of a determination target image and sequentially shifts and stores the image data of the determination target image in units of lines. Means for storing image data of a first region including a target pixel of the determination target image at a first resolution in a first line memory having a first resolution, and storing the image data in a final plurality of line memories of the first plurality of line memories Stored in the first line memory of the determination image in a second line memory having a second plurality of line memories for inputting the logical sum of the image data and sequentially shifting and storing them in line units Means for storing an image of a second area excluding an image corresponding to the image data at a second resolution lower than the first resolution, whether the image data is stored in the first line memory; First determination area generation means for generating a first determination area for determining whether or not the pixel of interest constitutes a tint block, image data stored in the first line memory, and the second line Second determination area generating means for generating a second determination area for determining whether or not the target pixel constitutes a tint block based on the peripheral pixels of the target pixel from the image data stored in the memory; First determination means for determining whether or not the target pixel constitutes a tint block by comparing the image data of the first area generated by one determination area generation means with reference image data stored in advance; Image data of pixels in the second region image data generated by the second determination region generation means that are at a predetermined distance from the target pixel and whose relative position from the target pixel is at a predetermined angle. The The second determination means for determining whether or not the pixel of interest constitutes a tint block, and whether the first determination unit and the second determination unit all determine that the pixel of interest constitutes a tint block the target pixel by whether the determination result of Ru to function as determination means for determining whether or not constituting the background pattern.
請求項1の発明によれば、本発明を構成しない場合と比較してより少ない記憶容量のラインメモリで、地紋を構成するか否かの判定を行うことができるという効果を奏する。 According to the first aspect of the present invention, there is an effect that it is possible to determine whether or not to form a copy-forgery-inhibited pattern with a line memory having a smaller storage capacity than in the case of not constituting the present invention.
また、請求項2の発明によれば、本発明を構成しない場合と比較してより少ない記憶容量のラインメモリで、地紋を構成するか否かの判定を行うことができるという効果を奏する。 Further, according to the second aspect of the present invention, it is possible to determine whether or not to form a copy-forgery-inhibited pattern with a line memory having a smaller storage capacity than in the case where the present invention is not configured.
また、請求項3の発明によれば、本発明を構成しない場合と比較してより少ない記憶容量のラインメモリで、地紋を構成するか否かの判定を行うことができるという効果を奏する。
Further, according to the invention of
また、請求項4の発明によれば、本発明を構成しない場合と比較してより少ない記憶容量のラインメモリで、地紋を構成するか否かの判定を行うことができるという効果を奏する。
According to the invention of
以下、本発明の実施例について添付図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
まず、本発明に関わる画像処理装置1について図1を参照して説明する。 First, an image processing apparatus 1 according to the present invention will be described with reference to FIG.
画像処理装置1は、原稿に印刷された地紋を読み取って各種処理を行う装置である。 The image processing apparatus 1 is an apparatus that reads a background pattern printed on a document and performs various processes.
図1に示すように、画像処理装置1は、スキャナ部2、表示/操作部3、ページメモリ4、ROM(Read Only Memory)5、RAM(Random Access Memory)6、制御部7、プリントエンジン8、画像処理ASIC(Application Specific Integrated Circuit)9を有する。
As shown in FIG. 1, the image processing apparatus 1 includes a
スキャナ部2は、紙である原稿を光学的に読み取り、原稿の画像データを取得する。
The
表示/操作部3は、液晶のタッチパネルで構成され、ユーザインタフェースの機能を司る。
The display /
ページメモリ4は、スキャナ部2で取得された原稿の画像データを一時記憶する。
The
ROM5は、書き換え不可能な不揮発性メモリであり、画像処理装置1を動作させるファームウェア等を記憶し、画像処理ASIC9を動作させる画像処理プログラムも記憶する。
The
制御部7は、中央演算処理装置で構成され、画像処理装置1を統括的に制御し、スキャナ部2にセットされる原稿に印刷されている地紋に埋め込まれた内容に応じた印刷制御を行う。
The control unit 7 is composed of a central processing unit, and comprehensively controls the image processing apparatus 1 to perform print control according to the contents embedded in the background pattern printed on the document set on the
スキャナ部2にセットされる原稿には電子透かし技術として地紋が印刷されており、その地紋には原稿を印刷した印刷者のID、印刷日時といった原稿の属性情報が埋め込まれている。
A copy-forgery-inhibited pattern is printed as a digital watermark technique on a document set in the
制御部7は、地紋に埋め込まれた印刷者のID、印刷日時といった属性情報を読み取り、その地紋が印刷されている原稿の複写制御や情報源追跡などの処理を行う。 The control unit 7 reads attribute information such as the printer ID and printing date embedded in the background pattern, and performs processing such as copy control of the document on which the background pattern is printed and information source tracking.
画像処理ASIC9は、原稿より地紋を検知するパターン検知モジュール10を備え、検知した地紋に基づき地紋画像の作成を行う。
The image processing ASIC 9 includes a
また、画像データ中の地紋を検知するパターン検知モジュール10は、ラインメモリA11、ラインメモリB12、ウィンドウ生成部13、地紋検知部14を有する。
The
ラインメモリA11は、FIFO(First-In First-Out)メモリであり、16のラインを有するラインメモリである。 The line memory A11 is a first-in first-out (FIFO) memory, and is a line memory having 16 lines.
ラインメモリA11は、ラインメモリA11に入力される画像データを600dpiの解像度で表現できるように記憶するラインメモリである。 The line memory A11 is a line memory that stores image data input to the line memory A11 so that it can be expressed with a resolution of 600 dpi.
ラインメモリB12は、FIFOメモリであり、ラインメモリB12に入力される画像データを300dpiの解像度で表現できる記憶するラインメモリである。その為、ラインメモリB12はラインメモリA11より記憶容量が少なくて済む。 The line memory B12 is a FIFO memory, and is a line memory that stores image data input to the line memory B12 with a resolution of 300 dpi. Therefore, the line memory B12 requires less storage capacity than the line memory A11.
また、ラインメモリB12は、OR演算子15を備える。
Further, the line memory B12 includes an
OR演算子15は、600dpiの解像度で表現されるラインメモリA11から送られる画像データを300dpiの解像度で表現されるラインメモリB12で表現されるように、ラインメモリA11の2ラインの画像データを論理和により1ラインの画像データにする。
The
ウィンドウ生成部13は、複数のフリップフロップ回路で構成され、ラインメモリA11、ラインメモリB12に記憶される画像データを基に、原稿上の画像データの一部分を切り取った画像データをウィンドウとして生成する。
The
地紋検知部14は、ウィンドウ生成部13によって生成された画像データに基づき、そのウィンドウ内の所定の位置の画素の画像データが地紋で形成されているか否かの検知を行う。
Based on the image data generated by the
このように構成される画像処理装置1では、地紋が原稿画像に重畳的に印刷された原稿がスキャナ部1にセットされて読み取られると、読み取られた原稿の画像データが画像処理ASIC9に送られ、ASIC9で地紋の検知が行われる。
In the image processing apparatus 1 configured as described above, when a document on which a copy-forgery-inhibited pattern is superimposed and printed on a document image is set on the scanner unit 1 and read, image data of the read document is sent to the
原稿の画像データから地紋を検知する処理は、画像処理ASIC9に含まれるパターン検知モジュール10によって、パターンマッチングの処理により行われる。
The process of detecting the background pattern from the image data of the document is performed by the pattern matching process by the
原稿の画像データ上の検知される1つの画素の周囲に予め記憶される地紋特有の配置パターンがあるか否かなどの処理によって、その画素が地紋であるか否かが判断される。 Whether or not the pixel is a background pattern is determined by processing such as whether or not there is an arrangement pattern peculiar to the background pattern stored in advance around one pixel detected on the image data of the document.
次に、画像処理装置1において原稿がスキャンされて原稿上の地紋が読み取られる処理について図2を参照して説明を行う。 Next, a process in which a document is scanned in the image processing apparatus 1 and a background pattern on the document is read will be described with reference to FIG.
図2は、画像処理装置1で行われる処理を簡単に説明した模式図である。 FIG. 2 is a schematic diagram briefly explaining the processing performed in the image processing apparatus 1.
まず、原稿がスキャナ部2に配置されて、スキャナ部2により原稿の画像データが読み取られる。
First, a document is placed on the
取得された原稿の画像データは画像処理ASIC9に送られて、パターン検知モジュール10により、原稿に重畳的に印刷された地紋が検知される。
The acquired image data of the document is sent to the
パターン検知モジュール10に送られた画像データは、図3に示すように、ラインメモリA11の1ライン分の38画素毎、ラインメモリA11に次々と入力される。
As shown in FIG. 3, the image data sent to the
FIFOメモリであるラインメモリA11から出力される画像データはFIFOメモリであるラインメモリB12に入力される。 Image data output from the line memory A11, which is a FIFO memory, is input to a line memory B12, which is a FIFO memory.
そして、ラインメモリA11とラインメモリB12にそのつど記憶される画像データを基にウィンドウ生成部13で原稿の一部分が切り取られた画像データとしてのウィンドウが生成され、地紋検知部14によりウィンドウ内の所定の画素の地紋判断が行われる。
Then, based on the image data stored in the line memory A11 and the line memory B12, a window is generated as image data in which a part of the document is cut out by the
そして、スキャナ部2で取得された原稿の画像データの全ての画素について、地紋判断が行われた後、検知された全ての地紋が合成された地紋画像が画像処理ASIC9で生成されて制御部7に送られる。
Then, after the background pattern determination is performed for all the pixels of the image data of the document acquired by the
制御部7では、画像処理ASIC9より送られた地紋画像より、その地紋画像に埋め込まれた印刷者ID、印刷日時といった情報を読み取り、読み取った情報に基づいてスキャナ部2にセットされた原稿についての複写制御等の処理を行う。例えば、原稿の地紋画像に埋め込まれた印刷者IDに基づいて、その印刷者の印刷物の複写は画像処理装置1では許可しない等の処理である。
The control unit 7 reads information such as a printer ID and printing date embedded in the copy-forgery-inhibited pattern image from the copy-forgery-inhibited pattern image sent from the
次に、パターン検知モジュール10の構成について図4を参照して説明を行う。
Next, the configuration of the
図4は、パターン検知モジュール10の構成を示した模式図である。
FIG. 4 is a schematic diagram showing the configuration of the
図4に示すように、パターン検知モジュール10は、ラインメモリA11、ラインメモリB12、ウィンドウ生成部13、地紋検知部14を有する。
As shown in FIG. 4, the
原稿38画素1ライン分の画像データがラインメモリA11の最も下のラインに新たに入力されると、それまで蓄えていた画像データを順次1つ上のライン(次のライン)へ送る処理がラインメモリA11内で行われる。 When image data for one line of 38 pixels of a document is newly input to the lowermost line of the line memory A11, the process of sequentially sending the image data stored up to that point to the next upper line (next line) This is done in the memory A11.
それとは別に、ラインメモリA11の最上部の2つのラインからは、記憶していた画像データがラインメモリB12に送られる処理が行われる。 Separately, the stored image data is sent to the line memory B12 from the top two lines of the line memory A11.
ラインメモリB12では、ラインメモリA11の一番上のラインとその1つ下のラインから送られた画像データが、OR演算子15に通されて300dpi表現のラインメモリB12での1ラインの画像データに調整された後、ラインに記憶される。
In the line memory B12, the image data sent from the top line of the line memory A11 and the line below it is passed through the
ラインメモリB12でもラインに新しい画像データが記憶される毎に、ラインに記憶されていた画像データが順次上の(次の)ラインに移動されるFIFOメモリ特有の処理が行われる。 In the line memory B12, each time new image data is stored in a line, the processing specific to the FIFO memory is performed in which the image data stored in the line is sequentially moved to the next (next) line.
ラインメモリA11とラインメモリB12に記憶される画像データは、順次上のラインへ移動される前に、ウィンドウ生成の為にウィンドウ生成部13に送られる。
The image data stored in the line memory A11 and the line memory B12 is sent to the
次に、ウィンドウ生成部13によって生成される地紋検知の為のウィンドウについて図5を参照して説明を行う。
Next, a background pattern detection window generated by the
図5は、ウィンドウ生成部13によって生成されるウィンドウを示す模式図である。
FIG. 5 is a schematic diagram showing a window generated by the
ウィンドウ生成部13によって生成されるウィンドウは、ラインメモリA11より送られた画像データ(参照番号502)とラインメモリB12より送られた画像データ(参照番号503)とによって構成される。
The window generated by the
ラインメモリA11より送られる画像データによって生成されるウィンドウは600dpiの解像度によって表現されるが(参照番号502)、ラインメモリB12より送られる画像データによって生成されるウィンドウは300dpiの解像度によって表現される(参照番号503)。 A window generated by the image data sent from the line memory A11 is expressed by a resolution of 600 dpi (reference number 502), whereas a window generated by the image data sent from the line memory B12 is expressed by a resolution of 300 dpi (reference numeral 502). Reference number 503).
そして、ウィンドウ生成部13によって生成されたウィンドウ中の所定の位置(所定の位置のフリップフロップ回路)に入力された画像データについて(図5に示す例では参照番号501)注目され、その所定の位置の画素について地紋か否かの判断が行われる(特許請求の範囲における注目画素の地紋判断)。
Then, attention is paid to the image data (
地紋か否かの判断はパターンマッチング等によって行われる。 Judgment as to whether the pattern is a tint block is performed by pattern matching or the like.
まず、ラインメモリA11より送られた画像データからウィンドウ生成部13によって生成されたウィンドウ(参照番号502)で、予め記憶される地紋とのパターンマッチングが行われる。
First, pattern matching with a pre-stored background pattern is performed in a window (reference number 502) generated by the
ラインメモリA11より送られた画像データからウィンドウ生成部13によって生成されたウィンドウ(参照番号502)で行われる予め記憶される地紋とのパターンマッチングは、地紋か否かが判断される注目画素の周囲の画像データ(参照番号504)と予め記憶される地紋の画像データとの照合によるパターンマッチングである。
The pattern matching with the pre-stored background pattern performed in the window (reference number 502) generated by the
そして、ラインメモリA11とラインメモリB12とから送られた画像データからウィンドウ生成部13によって生成されたウィンドウ(参照番号505)で、注目画素から周囲12画素離れた距離(図6(a)参照)に90度の配置(図6(b)参照)で地紋とされる画像データが配置されているか否かが判断される。
Then, in the window (reference number 505) generated by the
注目画素(参照番号501)から12画素離れた距離に地紋とされる画像データが存在していた場合には、注目画素からの相対位置(相対角度)が90度の配置か否かが判断される。 If image data that is a copy-forgery-inhibited pattern exists at a distance of 12 pixels from the target pixel (reference number 501), it is determined whether or not the relative position (relative angle) from the target pixel is 90 degrees. The
ラインメモリA11より送られた画像データから生成されたウィンドウ(参照番号502)でのパターンマッチングの結果と、ラインメモリA11とラインメモリB12とから送られた画像データからウィンドウ生成部13によって生成されたウィンドウ(参照番号505)での判断結果を統合して、注目画素が地紋で構成されるか否かが判断される。
Generated by the
これら、ウィンドウ生成部13で生成された画像データより注目画素が地紋か否かの判断は、全て、地紋検知部14で行われる。
The determination of whether or not the pixel of interest is a background pattern from the image data generated by the
それで、ウィンドウ内の画像データは、パターン検出に関係の深い部分(参照番号502)が600dpiの解像度であれば、パターン検出に関係の低い他の部分(参照番号503)は300dpiの解像度で記憶されてもよい。 Therefore, if the image data in the window has a resolution of 600 dpi that is closely related to pattern detection (reference number 502), the other portion that is not related to pattern detection (reference number 503) is stored at a resolution of 300 dpi. May be.
ウィンドウ生成部13が生成するウィンドウにラインメモリB12から送られる画像データが占める割合とその位置は、パターンマッチングされる地紋の形や配置に応じて任意に変更されてよい。要は、地紋のパターンマッチングに関係の薄い画像データをウィンドウ生成部13に送るラインメモリは他より低い解像度で画像データを記憶するメモリであってもよい。
The ratio of the image data sent from the line memory B12 to the window generated by the
次に、原稿の1ライン分の画像データが次々とラインメモリA11に入力されて、1ライン分の画像データが入力される毎にウィンドウ生成部13で生成されるウィンドウについて図7を参照して説明を行う。
Next, the image data for one line of the original is input to the line memory A11 one after another, and the window generated by the
図7は、ラインメモリA11に原稿の1ライン分の画像データが次々と入力されて、ウィンドウ生成部13でウィンドウが次々と生成される処理を示した模式図である。
FIG. 7 is a schematic diagram showing a process in which image data for one line of a document is successively input to the line memory A11 and windows are generated one after another by the
図7(a)は、ラインメモリA11、ラインメモリB12に記憶される画像データによって地紋検知のためのウィンドウが生成される様子を示した模式図であり、図7(b)は図7(a)に示される状態からラインメモリA11に1ライン分の画像データが入力された後に作成されるウィンドウを示す模式図であり、図7(c)は図7(b)に示される状態からラインメモリA11に1ライン分の画像データが更に入力された後に作成されるウィンドウを示す模式図である。 FIG. 7A is a schematic diagram showing a state in which a window for detecting a tint block is generated based on image data stored in the line memory A11 and the line memory B12. FIG. FIG. 7C is a schematic diagram showing a window created after one line of image data is input to the line memory A11 from the state shown in FIG. 7C. FIG. 7C shows the line memory from the state shown in FIG. It is a schematic diagram which shows the window produced after the image data for 1 line is further input into A11.
図7(a)に示すように、ラインメモリA11に記憶される画像データからは600dpiの解像度による画像データがウィンドウ生成部13に送られてウィンドウが作成され、ラインメモリB12に記憶される画像データからは300dpiの解像度による画像データがウィンドウ生成部13に送られてウィンドウが生成される。
As shown in FIG. 7A, from the image data stored in the line memory A11, image data with a resolution of 600 dpi is sent to the
図7(a)に示すようなウィンドウが生成されると、ウィンドウの所定の位置に配置される画像データが地紋か否かが地紋検知部14によるパターンマッチングにより判断される。図7(a)に示す例では、地紋でないことが判断される。
When a window as shown in FIG. 7A is generated, whether or not the image data arranged at a predetermined position in the window is a background pattern is determined by pattern matching by the background
その後原稿の1ライン分の画像データがラインメモリA11に入力されると、図7(b)に示すように、ラインメモリA11の内部で画像データがライン毎に1つ上の(次の)ラインへ順次移動される。 Thereafter, when image data for one line of the original is input to the line memory A11, as shown in FIG. 7B, the image data is one line higher (next) for each line in the line memory A11. Are moved sequentially.
ラインメモリA11、ラインメモリB12に記憶される画像データの順次移動が終わると、移動後のラインメモリA11、ラインメモリB12に記憶される画像データがウィンドウ生成部13に送られて、図7(b)に示すように地紋検知の為のウィンドウが生成される。
When the sequential movement of the image data stored in the line memory A11 and the line memory B12 is completed, the image data stored in the line memory A11 and the line memory B12 after the movement is sent to the
そして、図7(b)に示すようにウィンドウ生成部13で新しく生成されたウィンドウの所定の位置に配置される画像データが地紋であるか否かの判断が地紋検知部14により行われる。図7(b)に示す例では、地紋であると判断される。
Then, as shown in FIG. 7B, the background
その後、原稿の1ライン分の画像データがラインメモリA11に入力され、図7(c)に示すように、ラインメモリA11の内部で画像データがライン毎に1つ上の(次の)ラインへ順次移動される。 Thereafter, the image data for one line of the original is input to the line memory A11, and as shown in FIG. 7C, the image data is moved up one line for each line (next) in the line memory A11. It is moved sequentially.
ラインメモリA11、ラインメモリB12に記憶される画像データの順次移動が終わると、移動後のラインメモリA11、ラインメモリB12に記憶される画像データが再度ウィンドウ生成部13に送られて、図7(c)に示すように地面検知の為のウィンドウが生成される。
When the sequential movement of the image data stored in the line memory A11 and the line memory B12 is completed, the image data stored in the line memory A11 and the line memory B12 after the movement is sent again to the
そして、図7(c)に示すように、ウィンドウ生成部13で新しく生成されたウィンドウの所定の位置に配置される画像データが地紋であるか否かの判断が地紋検知部14により行われる。図7(c)に示す例では、地紋であると判断される。
Then, as illustrated in FIG. 7C, the background
このように、ラインメモリA11、ラインメモリB12に記憶される画像データによって生成されるウィンドウによって、地紋検知が行われる。 In this way, the background pattern detection is performed by the window generated by the image data stored in the line memory A11 and the line memory B12.
尚、地紋検知部14で行われる地紋検知の処理は、上記説明した内容のパターンマッチングの処理に限定されず、他の処理によってウィンドウ内の所定の位置(参照番号501)の画像データが地紋であるか否かの判断が行われてもよい。
The tint block detection process performed by the tint
尚、画像処理装置1は、スキャナ部2で読み取った原稿の画像データを処理するだけでなく、通信回線を経由して受信した原稿の画像データを処理することもできる。その際には、図示しない通信IF部より受信した原稿の画像データが画像処理ASIC9に送られて処理される。
The image processing apparatus 1 can process not only the image data of the document read by the
この発明は、画像処理装置および画像処理プログラムにおいて利用可能である。 The present invention can be used in an image processing apparatus and an image processing program.
本発明の画像処理プログラムを通信手段で提供することはもちろん、CD−ROM等の記録媒体に記録して提供することもできる。 The image processing program of the present invention can be provided not only by communication means but also by being recorded on a recording medium such as a CD-ROM.
1 画像処理装置
7 制御部
9 画像処理ASIC
10 パターン検知モジュール
11 ラインメモリA
12 ラインメモリB
13 ウィンドウ生成部
14 地紋検知部
15 OR演算子
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 7
10
12 line memory B
13
Claims (4)
前記第1の複数のラインメモリの最終複数ラインメモリに記憶された画像データの論理和を入力してライン単位で順次シフトして記憶する第2の複数のラインメモリを有し、前記判定画像の前記第1のラインメモリに蓄積された画像データに対応する画像を除く第2の領域の画像を前記第1の解像度より低い第2の解像度で蓄積する第2のラインメモリと、
前記第1のラインメモリに蓄積された画像データから前記注目画素が地紋を構成するか否かを判定するための第1の判定領域を生成する第1の判定領域生成手段と、
前記第1のラインメモリに蓄積された画像データおよび前記第2のラインメモリに蓄積された画像データから前記注目画素の周辺画素に基づき該注目画素が地紋を構成するか否かを判定するための第2の判定領域を生成する第2の判定領域生成手段と、
前記第1の判定領域生成手段により生成された前記第1の領域の画像データを予め記憶した参照画像データと照合して前記注目画素が地紋を構成するか否かを判定する第1の判定手段と、
前記第2の判定領域生成手段により生成された前記第2の領域の画像データのうちの前記注目画素から所定の距離にある画素の画像データを参照して前記注目画素が地紋を構成するか否かを判定する第2の判定手段と、
前記第1の判定手段および前記第2の判定手段がどちらも前記注目画素が地紋を構成すると判定したか否かの判定結果によって前記注目画素が地紋を構成するか否かを判定する判定手段と
を具備する画像処理装置。 A first plurality of line memories for inputting the image data of the determination target image and sequentially storing the image data of the determination target image in units of lines, the first line memory including a target pixel of the determination target image; A first line memory for storing image data of a region at a first resolution;
A second plurality of line memories for inputting a logical sum of the image data stored in the last plurality of line memories of the first plurality of line memories and sequentially shifting and storing them in units of lines ; A second line memory for storing an image of a second region excluding an image corresponding to the image data stored in the first line memory at a second resolution lower than the first resolution;
First determination area generation means for generating a first determination area for determining whether or not the pixel of interest constitutes a tint block from image data stored in the first line memory;
For determining whether or not the pixel of interest constitutes a tint block based on the surrounding pixels of the pixel of interest from the image data stored in the first line memory and the image data stored in the second line memory Second determination area generation means for generating a second determination area;
First determination means for comparing the image data of the first area generated by the first determination area generation means with reference image data stored in advance to determine whether or not the target pixel constitutes a background pattern. When,
Whether the target pixel constitutes a background pattern with reference to image data of a pixel at a predetermined distance from the target pixel in the image data of the second region generated by the second determination region generation unit Second determination means for determining whether or not
Determining means for determining whether or not the target pixel constitutes a tint block based on a determination result of whether or not the first judging unit and the second judging unit determine that the target pixel constitutes a tint block; An image processing apparatus comprising:
前記第2の判定領域生成手段により生成された前記第2の領域の画像データのうちの前記注目画素からの相対位置が所定の角度の配置にある画素の画像データを参照して前記注目画素が地紋を構成するか否かを判定する
請求項1に記載の画像処理装置。 The second determination means includes
With reference to the image data of the pixel whose relative position from the target pixel of the second region of the image data generated by the second determination region generation unit is at a predetermined angle, the target pixel is The image processing apparatus according to claim 1, wherein it is determined whether or not to form a tint block .
前記第1の複数のラインメモリに蓄積された各画素の画像データから前記第1の判定領域を生成し、
前記第2の判定領域生成手段は、
前記第1の複数のラインメモリおよび前記第2の複数のラインメモリに蓄積された各画素の画像データから前記第2の判定領域を生成する
請求項1または2に記載の画像処理装置。 The first determination area generation means includes:
Generating the first determination region from the image data of each pixel stored in the first plurality of line memories;
The second determination area generation means includes:
The second determination area is generated from image data of each pixel stored in the first plurality of line memories and the second plurality of line memories.
The image processing apparatus according to claim 1 .
判定対象画像の画像データを入力して該判定対象画像の画像データをライン単位で順次シフトして記憶する第1の複数のラインメモリを有する第1のラインメモリに、前記判定対象画像の注目画素を含む第1の領域の画像データを第1の解像度で蓄積する手段、
前記第1の複数のラインメモリの最終複数ラインメモリに記憶された画像データの論理和を入力してライン単位で順次シフトして記憶する第2の複数のラインメモリを有する第2のラインメモリに、前記判定画像の前記第1のラインメモリに蓄積された画像データに対応する画像を除く第2の領域の画像を前記第1の解像度より低い第2の解像度で蓄積する手段、
前記第1のラインメモリに蓄積された画像データから前記注目画素が地紋を構成するか否かを判定するための第1の判定領域を生成する第1の判定領域生成手段、
前記第1のラインメモリに蓄積された画像データおよび前記第2のラインメモリに蓄積された画像データから前記注目画素の周辺画素に基づき該注目画素が地紋を構成するか否かを判定するための第2の判定領域を生成する第2の判定領域生成手段、
前記第1の判定領域生成手段により生成された前記第1の領域の画像データを予め記憶した参照画像データと照合して前記注目画素が地紋を構成するか否かを判定する第1の判定手段、
前記第2の判定領域生成手段により生成された前記第2の領域の画像データのうちの前記注目画素から所定の距離にあり前記注目画素からの相対位置が所定の角度の配置にある画素の画像データを参照して前記注目画素が地紋を構成するか否かを判定する第2の判定手段、
前記第1の判定手段および前記第2の判定手段がどちらも前記注目画素が地紋を構成すると判定したか否かの判定結果によって前記注目画素が地紋を構成するか否かを判定する判定手段
として機能させるための画像処理プログラム。 Computer
The target pixel of the determination target image is stored in a first line memory having a first plurality of line memories that input image data of the determination target image and sequentially store the image data of the determination target image in units of lines. Means for storing image data of a first region including a first resolution;
A second line memory having a second plurality of line memories for inputting a logical sum of the image data stored in the last plurality of line memories of the first plurality of line memories and sequentially shifting and storing them in line units. Means for storing an image of a second area excluding an image corresponding to image data stored in the first line memory of the determination image at a second resolution lower than the first resolution;
First determination area generation means for generating a first determination area for determining whether or not the pixel of interest constitutes a tint block from the image data stored in the first line memory;
For determining whether or not the pixel of interest constitutes a tint block based on the surrounding pixels of the pixel of interest from the image data stored in the first line memory and the image data stored in the second line memory Second determination area generation means for generating a second determination area;
First determination means for comparing the image data of the first area generated by the first determination area generation means with reference image data stored in advance to determine whether or not the target pixel constitutes a background pattern. ,
An image of a pixel in the second area image data generated by the second determination area generation unit that is at a predetermined distance from the target pixel and whose relative position from the target pixel is at a predetermined angle. Second determination means for determining whether or not the target pixel constitutes a tint block by referring to data;
Determination means for determining whether or not the target pixel constitutes a background pattern based on a determination result of whether or not the first determination means and the second determination means both determine that the target pixel constitutes a background pattern.
Image processing program to function as
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008319709A JP4803243B2 (en) | 2008-12-16 | 2008-12-16 | Image processing apparatus and image processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008319709A JP4803243B2 (en) | 2008-12-16 | 2008-12-16 | Image processing apparatus and image processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010147559A JP2010147559A (en) | 2010-07-01 |
| JP4803243B2 true JP4803243B2 (en) | 2011-10-26 |
Family
ID=42567577
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008319709A Expired - Fee Related JP4803243B2 (en) | 2008-12-16 | 2008-12-16 | Image processing apparatus and image processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4803243B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5672997B2 (en) * | 2010-11-11 | 2015-02-18 | コニカミノルタ株式会社 | Image forming apparatus and control program for image forming apparatus |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002077609A (en) * | 2000-09-05 | 2002-03-15 | Canon Inc | Image determining apparatus, copying machine, and image determining method |
-
2008
- 2008-12-16 JP JP2008319709A patent/JP4803243B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010147559A (en) | 2010-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8494304B2 (en) | Punched hole detection and removal | |
| JP4995057B2 (en) | Drawing apparatus, printing apparatus, drawing method, and program | |
| JP5834866B2 (en) | Image processing apparatus, image generation method, and computer program | |
| JP4461167B2 (en) | Image forming apparatus | |
| JP5071523B2 (en) | Background pattern image synthesis apparatus, background pattern image synthesis method, and computer program | |
| JP4259462B2 (en) | Image processing apparatus and image processing method | |
| JP4858611B2 (en) | Information embedding method, program thereof, and information embedding device | |
| CN1964422A (en) | Watermarked information embedding apparatus and method, and computer program | |
| JP2006259045A (en) | Image forming apparatus and method | |
| CN101647266A (en) | Image processing apparatus and image processing program | |
| JP4803243B2 (en) | Image processing apparatus and image processing program | |
| CN102196120A (en) | Image processing apparatus, method, and computer program | |
| JP3822879B2 (en) | Document with falsification verification data and image thereof, document output device and method, and document input device and method | |
| JP2008205559A (en) | Image processing unit, and image processing method, and program thereof | |
| JP4803242B2 (en) | Image processing apparatus and image processing program | |
| JP2011166591A (en) | Image forming apparatus and image forming program | |
| JP2014212387A (en) | Image forming apparatus and image formation control method | |
| JP5989065B2 (en) | Image forming system, printer driver, image forming apparatus, and rendering program | |
| JP5015094B2 (en) | Image display apparatus, image forming apparatus, and image display method | |
| JP2009060216A (en) | Image processor, and image processing program | |
| JP6705327B2 (en) | Image forming apparatus, special pattern synthesizing method, and synthesizing program | |
| JP2008016943A (en) | Image forming apparatus | |
| JP6717249B2 (en) | Image processing device | |
| JP4725463B2 (en) | Image processing apparatus, image processing method and computer program thereof | |
| JP2000324326A (en) | Image processing apparatus, printing system, hidden pattern embedding method, and storage medium storing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110328 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110412 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110610 |
|
| 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: 20110712 |
|
| 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: 20110725 |
|
| 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: 20140819 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |