JP2008235972A - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP2008235972A
JP2008235972A JP2007068251A JP2007068251A JP2008235972A JP 2008235972 A JP2008235972 A JP 2008235972A JP 2007068251 A JP2007068251 A JP 2007068251A JP 2007068251 A JP2007068251 A JP 2007068251A JP 2008235972 A JP2008235972 A JP 2008235972A
Authority
JP
Japan
Prior art keywords
pattern
tint block
image
copy
forgery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007068251A
Other languages
Japanese (ja)
Inventor
Naomi Aoki
奈緒美 青木
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007068251A priority Critical patent/JP2008235972A/en
Publication of JP2008235972A publication Critical patent/JP2008235972A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Cleaning In Electrography (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve both efficiency of processing and image quality in forming a tint pattern image by changing one part of a plurality of a tint pattern original images, when forming a tint pattern image by combining the tint pattern original image with a plurality of tint patterns. <P>SOLUTION: The tint pattern image data is generated in a normal mode for all tint generating regions or a partial change mode for a tint pattern original image changing region. The tint pattern original image changing region is specified in each of tint pattern generators 102-105 when the tint pattern image created in the normal mode is to be partially changed, and the tint pattern image data are generated to improve efficiency of processing. In that case, the tint pattern position information of a changing position is stored during the normal mode, the position information is reflected in the setting of the a partial change mode. Thus, pattern shift due to change is prevented and deterioration in image quality can be prevented. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、オリジナル画像に付加される地紋画像を生成する画像処理装置に関し、より詳細には、地紋元画像と前景、背景、マスク、不正コピーガード等の地紋パターンを合成し、地紋画像を生成する画像処理装置及び該地紋画像を生成する処理を実行するためのプログラムに関する。   The present invention relates to an image processing apparatus that generates a copy-forgery-inhibited pattern image to be added to an original image, and more specifically, generates a copy-forgery-inhibited pattern image by combining a copy-forgery-inhibited pattern original image with a copy-forgery-inhibited pattern such as a foreground, background, mask, and illegal copy guard. The present invention relates to an image processing apparatus that performs processing for generating a copy-forgery-inhibited pattern image and a program for executing processing for generating the tint block image.

従来から、作成した印刷物が不正にコピーされ、機密文書の漏洩、証明書や証券の偽造等に繋がることを抑止するための対策として、不正から護るべきオリジナル画像に地紋画像を付加・合成する技術が知られている。   Conventionally, a technology that adds and synthesizes a copy-forgery-inhibited pattern image to the original image that should be protected from fraud as a countermeasure to prevent the created printed matter from being illegally copied and leading to leakage of confidential documents, forgery of certificates and securities, etc. It has been known.

こうした目的を持って合成される地紋画像の生成処理の従来例として、下記特許文献1を挙げることができる。
特許文献1には、潜像パターン、背景パターンの2つのパターンと、カモフラージュ領域指定画像、潜像背景領域指定画像の2つの画像の最小公倍数から地紋の繰り返しの最小単位を作り、これをタイル状に繰り返し並べることでより大きな地紋画像を生成する方法が示され、この方法により、高速、かつ、省メモリで地紋画像が生成できる、としている。
特開2005−94326号公報
As a conventional example of the generation process of a tint block image synthesized with such a purpose, the following Patent Document 1 can be cited.
In Patent Document 1, a minimum unit for repeating a tint block is created from the least common multiple of two patterns of a latent image pattern and a background pattern, and two images of a camouflage area designating image and a latent image background area designating image. A method of generating a larger copy-forgery-inhibited pattern image by repeatedly arranging them is shown. By this method, a copy-forgery-inhibited pattern image can be generated at high speed and with a reduced amount of memory.
JP 2005-94326 A

上記特許文献1に例示した従来技術により、地紋元画像、即ち地紋パターン(前景、背景、マスク、不正コピーガード等、地紋種類によりパターンが異なる)を埋め込む元になる画像が大きな場合、例えばページ全体に大きな文字を地紋として打ちたい場合に、地紋生成モジュールが必要とするメモリ量を少なくし、処理の効率化が図られる。   When the background pattern original image, that is, an image from which the background pattern pattern (foreground, background, mask, illegal copy guard, etc., the pattern differs depending on the background pattern type) is embedded is large by the conventional technique exemplified in Patent Document 1, for example, the entire page When it is desired to hit a large character as a background pattern, the memory amount required for the background pattern generation module is reduced, and the processing efficiency is improved.

ただ、処理の効率化という観点では、次のような場合には、未だ十分とはいえない。即ち、ページ全体を占める地紋元画像の一部を変更するだけの地紋画像を作りたい、という要求に対し、従来では、変更のない部分の地紋も含め、全部を最初から作り直す、という方法によっている。このため、例えば、ページごとに一部のみ変更した地紋を打ちたい場合には、ページごとに地紋画像全部を生成しなければならないため、一部の変更であるからといって、出力に掛かる時間に変わりがなく、処理効率の点で問題を残している。   However, in terms of processing efficiency, the following cases are still not sufficient. In other words, in response to a request to create a copy-forgery-inhibited pattern image that only changes a part of a copy-forgery-inhibited pattern original image that occupies the entire page, conventionally, a method is used in which all of the copy-forgery-inhibited pattern including the copy-forgery-inhibited pattern is recreated from the beginning. . For this reason, for example, when it is desired to hit a copy-forgery-inhibited pattern that has been partially changed for each page, the entire copy-forgery-inhibited pattern image must be generated for each page. The problem remains in terms of processing efficiency.

なお、この一部の変更に係る問題の対策として、ページ全部に対する処理法をそのまま、変更する部分に適用し、変更部分の地紋画像を作成することが考えられる。しかしながら、この方法による場合、それぞれサイズが異なり、数種類あるパターンについて、全体画像の一部としてのつながりを意識せずに作成することになるので、画質の低下は否めない。   As a countermeasure against the problem related to the partial change, it is conceivable to apply the processing method for the entire page as it is to the part to be changed and create a tint block image of the changed part. However, according to this method, since the sizes are different and several types of patterns are created without being conscious of the connection as a part of the entire image, the deterioration of the image quality cannot be denied.

本発明は、上記した従来技術の問題点に鑑みてなされたものであり、発明が解決すべき課題は、地紋元画像と、基本単位パターンよりなる複数種の地紋パターンを合成し、地紋画像を生成する画像処理において、地紋元画像の一部を変更して地紋画像を生成する際に、処理の効率化と高画質化の両立を図ることにある。   The present invention has been made in view of the above-described problems of the prior art, and the problem to be solved by the invention is to synthesize a tint block image by combining a tint block original image and a plurality of types of tint block patterns composed of basic unit patterns. In the image processing to be generated, when a copy-forgery-inhibited pattern image is generated by changing a part of the copy-forgery-inhibited pattern original image, both improvement in processing efficiency and high image quality are to be achieved.

請求項1の発明は、地紋元画像と地紋パターンを合成することにより地紋画像を生成する画像処理装置であって、地紋パターンを記憶する地紋パターン記憶手段と、処理対象画像面上の地紋画像生成領域に対応して、前記地紋パターン記憶手段の地紋パターンにおける地紋生成開始位置を設定する地紋パターン設定手段と、前記地紋パターン設定手段の設定に従って、地紋元画像との合成に用いる地紋パターンを生成する手段を有したことを特徴とする。
請求項2の発明は、請求項1に記載された画像処理装置において、地紋画像の生成領域を指示する領域指示手段を有し、前記地紋パターン設定手段は、前記領域指示手段によって指示された生成領域に基づいて、前記地紋パターン記憶手段の地紋パターンにおける地紋生成開始位置の設定値を算出する手段を備えたことを特徴とする。
請求項3の発明は、基本単位パターンがそれぞれ異なる長さを持つ複数種の地紋パターンを用いる請求項1又は2に記載された画像処理装置において、前記地紋パターン記憶手段に前記複数種の地紋パターンにおける各パターン長の最小公倍数の地紋パターンを記憶したことを特徴とする。
請求項4の発明は、請求項1又は3に記載された画像処理装置において、地紋画像の生成領域を指示する領域指示手段と、地紋画像の生成領域と、前記地紋パターン記憶手段の地紋パターンにおける地紋生成開始位置との関係を示すテーブルを記憶するテーブル記憶手段を有し、前記地紋パターン設定手段は、前記領域指示手段によって指示された生成領域により前記テーブル記憶手段のテーブルを参照し、設定する地紋パターンにおける地紋生成開始位置を取得する手段を備えたことを特徴とする。
請求項5の発明は、請求項1乃至4のいずれかに記載された画像処理装置において、前記地紋パターン設定手段による地紋生成開始位置の設定があるか、否かを判定する設定有無判定手段を有し、前記地紋パターンを生成する手段は、前記設定有無判定手段によって設定があることが判定されたことを条件に、設定に従った生成を行うようにしたことを特徴とする。
請求項6の発明は、コンピュータを請求項1乃至4のいずれかに記載された画像処理装置における前記地紋パターン設定手段及び前記地紋パターンを生成する手段として機能させるためのプログラムである。
請求項7の発明は、コンピュータを請求項5に記載された画像処理装置における前記地紋パターン設定手段、前記地紋パターンを生成する手段及び前記設定有無判定手段として機能させるためのプログラムである。
The invention according to claim 1 is an image processing apparatus for generating a copy-forgery-inhibited pattern image by synthesizing the copy-forgery-inhibited pattern original image and the copy-forgery-inhibited pattern, and a copy-forgery-inhibited pattern pattern storage unit for storing the copy-forgery-inhibited pattern pattern and generation of a copy-forgery-inhibited pattern image on the processing target image plane Corresponding to the area, a tint block pattern setting unit for setting a tint block generation start position in the tint block pattern storage unit of the tint block pattern storage unit, and a tint block pattern used for combining with the tint block original image according to the setting of the tint block pattern setting unit It has the means.
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the copy-forgery-inhibited pattern image generation device includes a region designating unit for designating a generation pattern of the tint block image. According to another aspect of the present invention, there is provided means for calculating a set value of a tint block generation start position in the tint block pattern of the tint block pattern storage unit based on the region.
The invention according to claim 3 is the image processing apparatus according to claim 1 or 2, wherein a plurality of types of tint block patterns each having a different basic unit pattern length are used. The tint block pattern having the least common multiple of each pattern length is stored.
According to a fourth aspect of the present invention, in the image processing apparatus according to the first or third aspect, in the area designating unit for designating a generation area of the tint block image, the generation area of the tint block image, and the tint block pattern of the tint block pattern storage unit A table storage unit that stores a table indicating a relationship with a copy-forgery-inhibited pattern generation start position, and the copy-forgery-inhibited pattern pattern setting unit sets the table pattern by referring to the table of the table storage unit according to the generation area instructed by the area instruction unit; Means is provided for acquiring a tint block generation start position in the tint block pattern.
According to a fifth aspect of the present invention, in the image processing apparatus according to any one of the first to fourth aspects, a setting presence / absence determining unit that determines whether or not a background pattern generation start position is set by the background pattern pattern setting unit. And the means for generating the copy-forgery-inhibited pattern pattern performs generation according to the setting on the condition that the setting presence / absence determining means determines that there is a setting.
A sixth aspect of the present invention is a program for causing a computer to function as the tint block pattern setting means and the tint block pattern generating unit in the image processing apparatus according to any one of the first to fourth aspects.
The invention according to claim 7 is a program for causing a computer to function as the tint block pattern setting unit, the unit for generating the tint block pattern, and the setting presence / absence determining unit in the image processing apparatus according to claim 5.

本発明によると、地紋元画像の一部のみ変更したい場合には、変更した部分のみ地紋スタンプ画像を作り直し、先に生成した地紋スタンプ画像の一部を置き換えるという方法を採ることができるので、従来の地紋画像全体を生成し直す方法に比べて、処理が効率化され、しかも、地紋画像を高画質に保つことができる。   According to the present invention, when it is desired to change only a part of the copy-forgery-inhibited pattern original image, it is possible to adopt a method of recreating the copy-forgery-inhibited pattern stamp image only for the changed part and replacing a part of the previously generated copy-forgery-inhibited pattern stamp image Compared with the method of regenerating the entire copy-forgery-inhibited pattern image, the processing is made more efficient, and the copy-forgery-inhibited pattern image can be kept in high image quality.

本発明の実施形態に係る画像処理装置を以下に説明する。
本発明の画像処理装置は、不正コピーから護るべき画像に付加する地紋画像(以下、「地紋スタンプ画像」と記す)を生成する処理を行う装置であり、護るべき画像を生成する装置に組み込んで利用される。組み込む実施装置としては、例えば、文書等を作成・編集するPC(Personal Computer)、複写機、MFP(Multi-Function Peripherals:複合機)等の装置があるが、これらに限定されず、記録媒体(印刷用紙)に出力可能なデータを生成する機能を有する装置であれば、どのような装置でもよい。
An image processing apparatus according to an embodiment of the present invention will be described below.
The image processing apparatus of the present invention is an apparatus that performs a process of generating a copy-forgery-inhibited pattern image (hereinafter referred to as a “copy-forgery-inhibited pattern stamp image”) to be added to an image to be protected from unauthorized copying, and is incorporated in an apparatus for generating an image to be protected. Used. Examples of the implementation apparatus to be incorporated include apparatuses such as a PC (Personal Computer), a copying machine, and an MFP (Multi-Function Peripherals) for creating / editing a document. Any device may be used as long as it has a function of generating data that can be output to (printing paper).

図1は、この実施形態に係る画像処理装置の概略構成を示す。
図1に示す装置は、地紋画像の生成及び処理対象画像への付加に係る要部構成のみを示すもので、地紋スタンプ画像を生成する地紋生成器100と、処理対象画像として地紋スタンプが施されるオリジナル画像と地紋スタンプ画像を合成する合成器200と、合成した画像データを出力する画像データ出力器300よりなる。
なお、本画像処理装置は、画像の出力処理要求に応じて、画像データを処理するので、図1に示されていないが、画像処理システム全体を制御する主制御部を有し、主制御部が画像データの出力処理プロセスの一環として、処理対象画像への地紋スタンプを行う。従って、図1に示す地紋生成器100、合成器200及び画像データ出力器300における動作に必要な処理条件の設定及び画像データ等の供給は、主制御部が処理要求に応じて行う。
FIG. 1 shows a schematic configuration of an image processing apparatus according to this embodiment.
The apparatus shown in FIG. 1 shows only a main configuration relating to generation of a tint block image and addition to a processing target image, and a tint block generator 100 that generates a tint block stamp image and a tint block stamp as a processing target image. A synthesizer 200 that synthesizes the original image and the background pattern stamp image, and an image data output unit 300 that outputs the synthesized image data.
The image processing apparatus processes image data in response to an image output processing request, and is not shown in FIG. 1, but has a main control unit that controls the entire image processing system. As part of the image data output processing process, the background pattern stamp is applied to the processing target image. Therefore, the main control unit performs setting of processing conditions necessary for the operations in the tint block generator 100, the combiner 200, and the image data output device 300 shown in FIG.

地紋生成器100は、地紋元画像と地紋パターンを合成することにより地紋スタンプ画像を生成する。なお、上記地紋パターンにおける“パターン”は、画素(ドット)の並びであり、この実施形態では、X,Yの2次元方向に並ぶものとする。
地紋元画像は、低解像度(例えば、150 dpi )でメモリ等に描画される2値(ON/OFF)の画像(後記の図2に関する説明、参照)で、画像が形成されるON位置に、下記前景・背景パターンを地紋パターンとして埋め込む。
The background pattern generator 100 generates a background pattern stamp image by synthesizing the background pattern original image and the background pattern. The “pattern” in the tint block pattern is an arrangement of pixels (dots). In this embodiment, the “pattern” is arranged in a two-dimensional direction of X and Y.
The copy-forgery-inhibited pattern original image is a binary (ON / OFF) image drawn in a memory or the like with a low resolution (for example, 150 dpi) (refer to the description regarding FIG. 2 below), and at the ON position where the image is formed. The following foreground / background pattern is embedded as a tint block pattern.

また、地紋パターンは、この実施形態では、次の4種類のパターンを用いる。
・前景パターン:通称「浮き出る地紋」と呼ばれ、用紙に印刷出力後、コピーに掛けると、スキャナ読取りができる大きさのドットの並びで表したパターンであり、最小単位を予めメモリ上に用意する。
・背景パターン:通称「消える地紋」と呼ばれ、用紙に印刷した後、コピーに掛けると、スキャナ読取りができない大きさのドットの並びで表したパターンであり、最小単位を予めメモリ上に用意する。
・マスクパターン:前景・背景パターンが打たれていることを視認し難くするための背景模様であり、最小単位を予めメモリ上に用意する。また、省メモリ化のため低解像度で持つ。
・不正コピーガードパターン:用紙に印刷出力後、コピーに掛けると、スキャナ読取りができ、不正コピーを検知するためのパターンであり、最小単位を予めメモリ上に用意する。このパターンの検知結果によって、塗りつぶし、出力停止等を行う。
In the present embodiment, the following four types of patterns are used as the background pattern.
-Foreground pattern: This pattern is called a “ground pattern that stands out”, and is a pattern of dots that can be read by a scanner when printed on paper and then copied. The minimum unit is prepared in memory in advance. .
-Background pattern: Commonly called “disappearing background pattern”. This pattern is a pattern of dots that cannot be read by a scanner when printed on paper and then copied. The minimum unit is prepared in memory in advance. .
Mask pattern: A background pattern for making it difficult to visually recognize that the foreground / background pattern has been hit, and a minimum unit is prepared in advance in a memory. Also, it has low resolution to save memory.
Unauthorized copy guard pattern: This is a pattern that can be read by a scanner when printed on paper and then copied, and a minimum unit is prepared in advance in a memory. Depending on the detection result of this pattern, painting, output stop, etc. are performed.

地紋元画像と地紋パターンを合成することにより生成される地紋スタンプ画像の概念を図2及び図3の例を参照して説明する。
本実施形態では、地紋スタンプ画像を生成する際、ページ全部をいっぺんに生成する処理モード(以下、「通常モード」と記す)と、先に生成した地紋スタンプ画像の一部を変更画像で置き換えるという処理方法とすべく、変更部分だけを生成する処理モード(以下、「一部変更モード」と記す)を切替えて行うことができるようにする。
The concept of the background pattern stamp image generated by combining the background pattern original image and the background pattern will be described with reference to the examples of FIGS.
In the present embodiment, when a copy-forgery-inhibited pattern stamp image is generated, a processing mode for generating all pages at once (hereinafter referred to as “normal mode”) and a process for replacing a part of the previously generated copy-forgery-inhibited pattern stamp image with a modified image As a method, the processing mode for generating only the changed portion (hereinafter referred to as “partial change mode”) can be switched.

図2は、通常動作によって生成される地紋スタンプ画像の1例を示す。
図2の右側には、地紋元画像が、「COPY」と形成された画像部分をONとする2値画像で描かれている。また、同図の左側には、地紋スタンプ画像が示されており、図中の網目部分が地紋生成領域情報により設定される。
1ページ分の画像出力データは、主走査( X )方向のライン単位で、副走査( Y )方向にラインを切替えながら処理されるので、地紋生成領域は、走査開始位置( X1 , Y1 )と走査終了位置( X2 , Y2 )で定義される。この地紋生成領域内で地紋パターンが設定に従い埋め込まれる。
FIG. 2 shows an example of the copy-forgery-inhibited pattern stamp image generated by the normal operation.
On the right side of FIG. 2, the copy-forgery-inhibited pattern original image is drawn as a binary image in which the image portion formed as “COPY” is turned on. In addition, a copy-forgery-inhibited pattern stamp image is shown on the left side of the figure, and a mesh portion in the figure is set by the copy-forgery-inhibited pattern generation region information.
The image output data for one page is processed in units of lines in the main scanning (X) direction while switching the lines in the sub-scanning (Y) direction. Therefore, the tint block generation area is the scanning start position (X1, Y1). It is defined by the scan end position (X2, Y2). A background pattern is embedded in the background pattern generation area according to the setting.

従って、例えば、地紋パターンとして、前景パターンが設定されていると、地紋元画像によって「COPY」と形成された画像部分に、浮き出る地紋を生成する前景パターンが埋め込まれる。また、マスクパターンが地紋生成領域の全面に設定されると、図2の左側に示すように、網目部分にマスクが掛けられ、この画像データを用いて印刷をすると、「COPY」が視認できないような出力結果を得ることができる。   Therefore, for example, when a foreground pattern is set as a background pattern, a foreground pattern for generating a raised background pattern is embedded in the image portion formed as “COPY” by the background pattern original image. Further, when the mask pattern is set on the entire surface of the copy-forgery-inhibited pattern generation region, as shown on the left side of FIG. 2, a mask is put on the mesh portion, and “COPY” cannot be visually recognized when printing is performed using this image data. Output results can be obtained.

図3は、一部変更モードによる地紋スタンプ画像の1例を示す。
図3の右側には、先に通常モードで生成した地紋スタンプ画像に用いた地紋元画像を示しており、その一部である同図中「0001」の斜線で示した「1」を含む領域が変更部分で、その部分を変更後に、図3の左側に示す「2」とする場合の例である。
この場合には、図3の左側に示す「2」を含む斜線で示した領域を地紋元画像変更領域情報により設定して、その部分のみを地紋元画像として、地紋スタンプ画像を生成する。変更部分の地紋生成領域は、走査開始位置( X3 , Y3 )と走査終了位置( X4 , Y4 )で定義される。この地紋生成領域内の地紋元画像「2」へ地紋パターンが埋め込まれる。
通常モード及び一部変更モードのいずれの動作も、地紋を付加した出力画像データの処理要求が行われる際、設定可能な処理条件の一つとして選択され、図示しない主制御部によって指示される。
FIG. 3 shows an example of a tint block stamp image in the partial change mode.
The right side of FIG. 3 shows a copy-forgery-inhibited pattern original image used for the copy-forgery-inhibited pattern stamp image previously generated in the normal mode, and is an area including “1” indicated by the diagonal line “0001” in FIG. This is an example in which “2” is shown on the left side of FIG. 3 after changing the part.
In this case, a region indicated by diagonal lines including “2” on the left side of FIG. 3 is set by the background pattern original image change region information, and a background pattern stamp image is generated using only that portion as the background pattern original image. The tint block generation area of the changed portion is defined by the scanning start position (X3, Y3) and the scanning end position (X4, Y4). A background pattern is embedded in the background pattern original image “2” in the background pattern generation area.
In both the normal mode and the partial change mode, when a processing request for output image data to which a background pattern is added is made, it is selected as one of settable processing conditions and is instructed by a main control unit (not shown).

次に、図1における地紋生成器100について、内部構成を示す図4に基づいて詳細に説明する。
本実施形態では、地紋スタンプ画像は、設定された地紋生成領域内で、地紋元画像と地紋パターンを合成することにより生成するので、図4の構成に示すように、地紋合成器106への入力段に、地紋元画像変倍器101、前景地紋生成器102、背景地紋生成器103、マスク地紋生成器104及び不正コピーガード地紋生成器105を設ける。
Next, the tint block generator 100 in FIG. 1 will be described in detail based on FIG. 4 showing the internal configuration.
In the present embodiment, the copy-forgery-inhibited pattern stamp image is generated by synthesizing the copy-forgery-inhibited pattern original image and the copy-forgery-inhibited pattern in the set copy-forgery-inhibited pattern generation region. Therefore, as shown in the configuration of FIG. In the stage, a background pattern original image scaling unit 101, a foreground background pattern generator 102, a background background pattern generator 103, a mask background pattern generator 104, and an illegal copy guard background pattern generator 105 are provided.

地紋元画像変倍器101は、入力された地紋元画像をオリジナル画像と同じ解像度に変換し、所定の単位(例えば、64 bit )ずつ地紋合成器106に出力する。
前景地紋生成器102は、入力された最小単位の前景パターンを地紋元画像と同じ単位(例えば、64 bit )ずつ地紋合成器106に出力する。
背景地紋生成器103は、入力された最小単位の背景パターンを地紋元画像と同じ単位(例えば、64 bit )ずつ地紋合成器106に出力する。
The copy-forgery-inhibited pattern original image scaling unit 101 converts the input copy-forgery-inhibited pattern original image into the same resolution as that of the original image, and outputs it to the copy-forgery-inhibited pattern synthesizer 106 in predetermined units (for example, 64 bits).
The foreground background pattern generator 102 outputs the input foreground pattern of the minimum unit to the background pattern synthesizer 106 in the same unit (for example, 64 bits) as the background pattern original image.
The background tint pattern generator 103 outputs the input background pattern of the minimum unit to the tint block synthesizer 106 by the same unit (for example, 64 bits) as the tint block original image.

マスク地紋生成器104は、入力された最小単位のマスクパターンをオリジナル画像と同じ解像度に変換し、地紋元画像と同じ単位(例えば、64 bit )ずつ地紋合成器106に出力する。
不正コピーガード地紋生成器105は、入力された最小単位の不正コピーガードパターンをオリジナル画像と同じ解像度に変換し、地紋元画像と同じ単位(例えば、64 bit )ずつ地紋合成器106に出力する。
また、本実施形態では、一部変更モードの動作により地紋を生成するので、上記地紋生成器102〜105は、それぞれ変更領域を示す地紋元変更領域情報を受け、各パターン上の開始位置情報を求め、その情報を保持する。
The mask background pattern generator 104 converts the input minimum unit mask pattern into the same resolution as the original image, and outputs the same unit (for example, 64 bits) as the background pattern original image to the background pattern synthesizer 106.
The illegal copy guard copy-forgery-inhibited pattern generator 105 converts the input illegal copy guard pattern in the minimum unit to the same resolution as the original image, and outputs the same unit (for example, 64 bits) to the copy-forgery-inhibited pattern combiner 106 in the same unit as the original copy-forgery-inhibited pattern.
In the present embodiment, since the background pattern is generated by the operation in the partial change mode, the background pattern generators 102 to 105 receive the background pattern original change area information indicating the change area, and obtain start position information on each pattern. Find and retain that information.

地紋合成器106は、地紋を付加した出力画像データの処理要求が行われる際、ユーザによって指示される地紋の種類(上記4種の地紋パターンの選択、パターンにおける通常/反転の選択等)によって、入力された地紋元画像の地紋生成領域内で合成処理を行い、地紋スタンプ画像を出力する。
なお、図1における合成器200及び画像データ出力器300は、本実施形態の主要部ではなく、既存の技術を適用することにより実施することができるので、詳細な説明はしない。
The copy-forgery-inhibited pattern synthesizer 106, depending on the type of copy-forgery-inhibited pattern designated by the user (selection of the above-mentioned four types of copy-forgery-inhibited pattern, normal / inverted selection in the pattern, etc.) Synthesis processing is performed within the background pattern generation area of the input background pattern original image, and a background pattern stamp image is output.
Note that the synthesizer 200 and the image data output device 300 in FIG. 1 are not the main part of the present embodiment, and can be implemented by applying existing technology, and thus will not be described in detail.

次に、上記した地紋生成器100(図4)の動作を図5に示すフローを参照して、説明する。なお、図5に示すフローは、通常モードと一部変更モードに共通の動作フローである。
地紋を付加した出力画像データの処理要求が発行されると、地紋スタンプ画像を生成する処理を開始し、まず、ユーザが指示する地紋生成条件に従い、ページ全部、或いは変更した部分のみの地紋元画像を生成する(ステップS101)。ここで生成される地紋元画像は、画像が形成される位置をON とする2値のデータで表され(図2、図3の地紋元画像、参照)、メモリに書き込まれる。
Next, the operation of the above-mentioned tint block generator 100 (FIG. 4) will be described with reference to the flow shown in FIG. The flow shown in FIG. 5 is an operation flow common to the normal mode and the partial change mode.
When a request for processing the output image data with the copy-forgery-inhibited pattern is issued, processing for generating a copy-forgery-inhibited pattern stamp image is started. First, the copy-forgery-inhibited pattern original image of the entire page or only the changed portion is started in accordance with the copy-forgery-inhibited pattern generation condition designated by the user. Is generated (step S101). The generated tint block original image is represented by binary data with the position where the image is formed ON (see the tint block original image in FIGS. 2 and 3), and is written in the memory.

また、地紋元画像の変倍、前景地紋、背景地紋、マスク地紋及び不正コピーガード地紋の各地紋パターンの生成及び地紋元画像と地紋パターンを合成する地紋合成を通常モード、或いは一部変更モードで実行するために必要な設定を行う。この設定は、地紋元画像変倍器101、各地紋生成器102〜105及び地紋合成器106への制御パラメータの設定(ステップS102)、並びに前景地紋、背景地紋、マスク地紋及び不正コピーガード地紋の各地紋パターンのうち、要求に従い必要な地紋パターンの設定(ステップS103)を行う。   In addition, the normal pattern or partial change mode can be used for scaling the original pattern, generating foreground pattern, background pattern, mask pattern and illegal copy guard pattern for each pattern, and combining the pattern pattern with the pattern pattern. Make the settings necessary for execution. This setting is performed by setting control parameters for the background pattern original image scaling unit 101, the various background pattern generators 102 to 105, and the background pattern synthesizer 106 (step S102), as well as foreground background patterns, background background patterns, mask background patterns, and illegal copy guard background patterns. Of the local pattern, a necessary background pattern is set according to the request (step S103).

次に、上記設定に従って、地紋元画像変倍器101、前景地紋生成器102、背景地紋生成器103、マスク地紋生成器104及び不正コピーガード地紋生成器105のうちの必要な処理部を同時に動作させ、地紋を生成する(ステップS104)。なお、各地紋生成器102〜105に共通の動作フローについては、後記で実施例を示し詳述する。
地紋の生成がすめば、生成した地紋元画像と地紋パターンを合成する地紋合成を行う(ステップS106)。ただ、地紋元画像変倍器101及び各地紋生成器102〜105は、同時に並行して処理するので、必要なデータが全部揃ったことを確認して(ステップS105-YES)、処理を開始する。
Next, according to the above setting, necessary processing units of the background pattern original image scaling unit 101, the foreground background pattern generator 102, the background background pattern generator 103, the mask background pattern generator 104, and the illegal copy guard background pattern generator 105 are simultaneously operated. To generate a tint block (step S104). An operation flow common to the local pattern generators 102 to 105 will be described in detail later with reference to an embodiment.
If the generation of the background pattern is completed, the background pattern composition for combining the generated background pattern original image and the background pattern is performed (step S106). However, since the copy-forgery-inhibited pattern original image magnification changer 101 and the various pattern print generators 102 to 105 process simultaneously in parallel, it is confirmed that all necessary data has been prepared (step S105-YES), and the process is started. .

地紋合成は、各地紋生成器102〜105からの地紋パターンデータと、地紋元画像変倍器101からの地紋元画像データが、同じ単位(例えば、64 bit )ずつ地紋合成器106に入力されてくるので、例えば、通常地紋の場合は、地紋元画像が1のところに、前景地紋パターンとマスク地紋パターンのANDを出力し、地紋元画像が0のところには、背景地紋パターンとマスク地紋パターンのANDを出力したものを合成出力とする。
出力結果として得られる地紋スタンプ画像をメモリに書き込み(ステップS107)、地紋生成器100における動作フローを終了する。
In the copy-forgery-inhibited pattern synthesis, the copy-forgery-inhibited pattern pattern data from each of the print-pattern generators 102 to 105 and the copy-forgery-inhibited pattern original image data from the copy-forgery-inhibited pattern original image multiplier 101 are input to the copy-forgery-inhibited pattern combiner 106 in the same unit (for example, 64 bits) Therefore, for example, in the case of a normal background pattern, the AND of the foreground background pattern and the mask background pattern is output when the background pattern original image is 1, and the background background pattern and the mask background pattern are output when the background pattern original image is 0. The output of the AND is taken as the composite output.
The copy-forgery-inhibited pattern stamp image obtained as an output result is written in the memory (step S107), and the operation flow in the copy-forgery-inhibited pattern generator 100 is ended.

地紋生成器100は、上記の動作により地紋スタンプ画像を生成する。生成された地紋スタンプ画像は、オリジナル画像と同じ解像度の画像データとして、出力される。ここに、通常モードでは、画像全体が生成されているので、直ちに合成器200(図1、参照)に出力され、オリジナル画像と合成される。また、一部変更モードでは、先に全体画像として生成し、保存されている画像の一部を一部変更モードで生成した画像部分で置き換える(例えば、上書をする)操作を行った後、合成器200(図1、参照)に出力され、オリジナル画像と合成される。
合成器200では、地紋スタンプ画像は、オリジナル画像と合成され、地紋を付加した出力画像データとなり、画像データ出力器300を通して、利用装置に出力される。
The background pattern generator 100 generates a background pattern stamp image by the above-described operation. The generated copy-forgery-inhibited pattern stamp image is output as image data having the same resolution as the original image. Here, in the normal mode, since the entire image is generated, it is immediately output to the synthesizer 200 (see FIG. 1) and synthesized with the original image. Also, in the partial change mode, after performing an operation of generating a whole image first and replacing (for example, overwriting) a part of the stored image with the image part generated in the partial change mode, It is output to the synthesizer 200 (see FIG. 1) and is synthesized with the original image.
In the synthesizer 200, the copy-forgery-inhibited pattern stamp image is combined with the original image to become output image data to which the copy-forgery-inhibited pattern is added, and is output to the utilization device through the image data output unit 300.

ここで、上記した地紋生成器100の動作フローにおける各地紋生成器102〜105に共通の地紋生成動作(図5のステップS104)を図6〜8に示すフローを参照して、詳細に説明する。
この地紋生成動作として、地紋生成動作( I )〜( III )の3実施形態を例示する。いずれも、動作モードを通常モードと一部変更モードの間で切り替え、地紋合成器106に出力する地紋画像データを生成する。
Here, the background pattern generation operation (step S104 in FIG. 5) common to the local pattern generators 102 to 105 in the operation flow of the background pattern generator 100 will be described in detail with reference to the flowcharts shown in FIGS. .
As the tint block generation operation, three embodiments of the tint block generation operations (I) to (III) are illustrated. In either case, the operation mode is switched between the normal mode and the partial change mode, and the tint block image data to be output to the tint block synthesizer 106 is generated.

地紋生成動作( I )と( II )の相違は、一部変更モードを検知する方法が異なり、前者は、一部変更モードの指示を直接検知する方法で、後者は一部変更モードの動作に要するパターン位置情報の存在により検知する方法を採用する。
また、地紋生成動作( III )は、一部変更モードの動作に要するパターン位置情報をテーブル参照方式で取得する方法を採用する。
以下、地紋生成動作( I )〜( III )を順に、対応して示す図6〜8のフロー図に基づいて説明する。
The difference between the copy-forgery-inhibited pattern generation operations (I) and (II) is that the method of detecting the partial change mode is different. The former is a method of directly detecting the instruction of the partial change mode, and the latter is the operation of the partial change mode. A method of detecting the presence of necessary pattern position information is adopted.
The tint block generation operation (III) employs a method of acquiring pattern position information required for the partial change mode operation by a table reference method.
Hereinafter, the background pattern generation operations (I) to (III) will be described in order based on the flowcharts of FIGS.

「地紋生成動作( I )」
この実施形態は、一部変更モードの指示を直接検知し、動作モードの切り替えをする。一部変更モードの指示は、主制御部(図示せず)が、この動作モードであることを認識し、認識結果に従ったフラグ操作を行う、という方法を採ることができる。即ち、動作モードを指示するユーザ操作、或いは、指示されたパターン生成条件におけるパターン位置情報(地紋パターンにおける地紋生成開始位置)の設定等の存在を検出し、この検出結果をもとに設定された動作モードを認識する手段を備え、この手段の認識結果に従い、立てられるフラグにより動作モードを検知することができる。
"Background pattern generation operation (I)"
In this embodiment, the instruction for the partial change mode is directly detected and the operation mode is switched. The partial change mode can be instructed by a method in which a main control unit (not shown) recognizes this operation mode and performs a flag operation according to the recognition result. That is, it detects the presence of a user operation instructing an operation mode or setting of pattern position information (background pattern generation start position in the background pattern pattern) in the specified pattern generation condition, and is set based on the detection result A means for recognizing the operation mode is provided, and the operation mode can be detected by a flag set according to the recognition result of the means.

図6に示すフローを参照して、各地紋生成器102〜105における地紋生成動作( I )を説明する。
地紋生成に必要な生成条件の設定(図5のステップS102、参照)及び前景地紋、背景地紋、マスク地紋及び不正コピーガード地紋の各地紋パターンのうち、要求された地紋パターンの設定(図5のステップS103、参照)が、前段で行われているので、この設定に従って、この地紋生成動作フローが開始される。
With reference to the flow shown in FIG. 6, the background pattern generation operation (I) in each area pattern generators 102 to 105 will be described.
Setting of the generation conditions necessary for generation of the background pattern (see step S102 in FIG. 5) and setting of the requested background pattern among the background patterns of the foreground background pattern, the background background pattern, the mask background pattern, and the illegal copy guard background pattern (see FIG. 5). Since step S103 is performed in the preceding stage, this tint block generation operation flow is started according to this setting.

フローが開始されると、まず、主制御部(図示せず)が認識している動作モードをフラグによって検知する。ここでは、一部変更モードである場合に立てられるフラグを検知することにより、一部変更か、通常かの動作モードを判断する(ステップS201)。
この判断結果により、通常動作モードと一部変更モードに分岐し、それぞれのフローに従い動作を進める。
When the flow is started, first, an operation mode recognized by a main control unit (not shown) is detected by a flag. Here, by detecting a flag set in the partial change mode, it is determined whether the operation mode is partial change or normal (step S201).
Based on the determination result, the operation branches to the normal operation mode and the partial change mode, and the operation proceeds according to each flow.

通常モードであれば(ステップS201-NO)、先ず、地紋パターンを格納しているメモリからパターンを読み込む(ステップS202)。ここに、地紋パターンは、メモリの所定の記憶場所に、パターンの最小単位を画素(ドット)の並び、即ちX,Yの2次元の並びに従って格納されている。
通常モードの場合、記憶場所の先頭から、X,Yの2次元の並びに従って1ライン分のパターンが順に読み込まれる。なお、後記する一部変更モードでは、地紋元画像変更位置に応じて、読み込むパターンの先頭画素の位置(読み込み開始位置)が変わるので、地紋元画像変更位置に対応する地紋パターン位置、つまりパターンの記憶場所を示す位置情報( xi , yi )を保持しておき、一部変更モードの初期設定において、指示する。
次いで、このパターンデータに対し、解像度が地紋元画像と同じ解像度になっていない場合があるマスク地紋、不正コピーガード地紋の各地紋パターンのようなデータに対して、変倍処理を施し、同じ解像度のデータにする(ステップS203)。
If it is the normal mode (step S201-NO), first, the pattern is read from the memory storing the tint block pattern (step S202). Here, the tint block pattern is stored in a predetermined storage location of the memory according to the arrangement of pixels (dots), that is, the two-dimensional arrangement of X and Y, as the minimum unit of the pattern.
In the normal mode, a pattern for one line is sequentially read from the beginning of the storage location according to a two-dimensional arrangement of X and Y. In the partial change mode, which will be described later, the position of the first pixel of the pattern to be read (reading start position) changes according to the background pattern original image change position, so the background pattern pattern position corresponding to the background pattern original image change position, that is, the pattern Position information (xi, yi) indicating the storage location is held and instructed in the initial setting of the partial change mode.
Next, this pattern data is subjected to scaling processing on data such as a mask pattern that may not have the same resolution as the copy-forgery-inhibited pattern original image, and a copy-forgery-inhibited copy-guard pattern pattern that has the same resolution. (Step S203).

処理対象の画像は、主走査( X )方向のラインを単位として画素(ドット)を生成し、この処理を副走査( Y )方向にラインを切替えながら行うことによって、1ページ分の画像データとして処理される。また、地紋生成領域は、走査開始位置( X1 , Y1 )と走査終了位置( X2 , Y2 )で定義される(図2、参照)。
従って、地紋パターンは、上記走査方式に従い、各ラインの画素値(0,1)を画素単位で決めていく作成方法により生成するので、1ページ分の処理対象画像に対する走査が開始された後、走査位置( X , Y )が処理すべき領域であるかを設定された地紋生成領域により判断し、地紋生成領域である場合に、次の処理ステップへ進む(ステップS204-YES)。
The image to be processed generates pixels (dots) in units of lines in the main scanning (X) direction, and this processing is performed while switching the lines in the sub-scanning (Y) direction. It is processed. The tint block generation area is defined by a scanning start position (X1, Y1) and a scanning end position (X2, Y2) (see FIG. 2).
Accordingly, the tint block pattern is generated by a creation method in which the pixel value (0, 1) of each line is determined in units of pixels in accordance with the above scanning method. Whether the scanning position (X, Y) is an area to be processed is determined based on the set tint block generation area, and if it is a tint block generation area, the process proceeds to the next processing step (YES in step S204).

地紋生成領域であれば、パターンを作成すべき走査位置であるから、地紋パターンを作成し、出力する(ステップS207)。
ただ、このフローでは、一部変更モードの地紋生成に必要なデータを保持するために次の動作を行う。即ち、走査位置( X , Y )が地紋元画像変更位置として設定された走査位置( X3 , Y3 )であるか、否かをチェックする(ステップS205)。
ここで、走査位置( X , Y )が地紋元画像変更位置( X3 , Y3 )であれば、この走査位置の地紋パターン(画素の並び)を一部変更モードで生成する地紋パターンに引き継ぐために、最小単位を画素のX,Yの並びで格納されている地紋パターンの記憶場所における位置情報( xi , yi )を保持する(ステップS206)。
If it is the copy-forgery-inhibited pattern generation region, since it is the scanning position where the pattern is to be created, a copy-forgery-inhibited pattern is created and output (step S207).
However, in this flow, the following operation is performed in order to hold data necessary for generation of the tint block pattern in the partial change mode. That is, it is checked whether or not the scanning position (X, Y) is the scanning position (X3, Y3) set as the copy-forgery-inhibited pattern original image changing position (step S205).
Here, if the scan position (X, Y) is the copy-forgery-inhibited pattern original image change position (X3, Y3), the copy-forgery-inhibited pattern (pixel arrangement) at this scan position is transferred to the copy-forgery-inhibited pattern generated in the partial change mode. Then, the position information (xi, yi) at the storage location of the tint block pattern in which the minimum unit is stored in the arrangement of X and Y of the pixels is held (step S206).

保持したパターン位置情報( xi , yi )は、上記のパターン読み込みで述べたように、一部変更モードの初期値に用いるようにする。このようにすることで、今、通常モードで生成している地紋パターンを一部変更モードにおいて生成する変更部分のパターンに引き継ぎ、変更によりパターンずれが起きないようにすることができる。
なお、上記したように、通常モードの動作フローにおいて、パターン位置情報( xi , yi )を保持するS206のステップは、通常モードにリンクして、一部変更モードの動作を行うことが予定されている場合の動作である。
従って、通常モードを単独で行う場合には、ステップS206をスルーする。また、走査位置( X , Y )が地紋元画像変更位置として設定された走査位置( X3 , Y3 )ではない場合にも、ステップS206をスルーする。
The retained pattern position information (xi, yi) is used as the initial value of the partial change mode as described in the pattern reading above. By doing so, the tint block pattern generated in the normal mode can be succeeded to the pattern of the changed portion generated in the partial change mode, and the pattern shift can be prevented from occurring due to the change.
As described above, in the normal mode operation flow, the step of S206 that holds the pattern position information (xi, yi) is linked to the normal mode and the partial change mode operation is scheduled to be performed. It is the operation when there is.
Accordingly, when the normal mode is performed alone, the process goes through step S206. Also, if the scanning position (X, Y) is not the scanning position (X3, Y3) set as the copy-forgery-inhibited pattern original image change position, step S206 is passed.

ステップS207における地紋パターンを作成し、出力するステップでは、走査位置( X , Y )が地紋生成領域に達した場合に、その位置の地紋パターンのデータとして、先に読み込まれた1ライン分の地紋パターンの先頭画素を当てる。また、続いて行われる下記のフローに示すように、走査位置( X )を1ずつ進めながら、パターンデータを1画素ずつ生成するループ処理を行うので、走査位置( X )の歩進に連れて、1ライン分の地紋パターンにおける画素の並びを順に当て、地紋パターンを作成していく。
ただ、出力の仕方は、地紋元画像変倍器101からの地紋元画像データが、例えば、64 bit の単位で地紋合成器106に入力されるので、1画素ずつ生成する地紋パターンデータを同じ64 bit 単位つなげて出力する。
In the step of creating and outputting the tint block pattern in step S207, when the scanning position (X, Y) reaches the tint block generation area, the ground pattern for one line read earlier is used as the tint block pattern data at that position. Apply the first pixel of the pattern. Further, as shown in the following flow, the loop processing for generating the pattern data pixel by pixel is performed while the scanning position (X) is advanced one by one, so that the scanning position (X) is stepped up. The pattern of the tint block pattern is created by sequentially applying the pixel arrangement in the tint block pattern for one line.
However, since the copy-forgery-inhibited pattern original image data from the copy-forgery-inhibited pattern original image multiplier 101 is input to the copy-forgery-inhibited pattern synthesizer 106 in units of 64 bits, for example, the same copy-forgery-inhibited pattern data generated for each pixel is used. Bit united output.

次いで、走査位置( X , Y )が走査終了位置( X2 , Y2 )に達したか、否かをチェックし(ステップS208)、終了位置に達していれば、このフローを終了する。
他方、終了位置に達していなければ、走査位置( X )がEOL(End Of Line)に達したか、否かをチェックし(ステップS209)、達していなければ、X カウンタ値をアップし(ステップS210)、走査位置( X )を1進めた後、地紋元画像変更位置のチェックを行うステップS205以降の手順を繰り返す。
Next, it is checked whether or not the scanning position (X, Y) has reached the scanning end position (X2, Y2) (step S208). If it has reached the end position, this flow is ended.
On the other hand, if the end position has not been reached, it is checked whether or not the scanning position (X) has reached EOL (End Of Line) (step S209). If not, the X counter value is increased (step S209). S210) After the scanning position (X) is advanced by 1, the procedure after step S205 for checking the copy-forgery-inhibited pattern original image changing position is repeated.

また、EOLに達していれば(ステップS209-YES)、Y カウンタ値をアップし、つまりラインを切り替え、かつ X カウンタ値を0とすることにより、ラインの先頭にセットし、地紋パターンを格納している所定の記憶場所から、このラインのパターンを読み込むステップS202以降の手順を繰返す。
以上のフローにより通常モードの動作が行われる。
If EOL has been reached (step S209-YES), the Y counter value is increased, that is, the line is switched, and the X counter value is set to 0, so that the line pattern is stored at the head of the line. The procedure after step S202 for reading this line pattern from the predetermined storage location is repeated.
The normal mode operation is performed by the above flow.

ステップS201で一部変更モードであれば(ステップS201-YES)、このモードのフローに従う動作を行う。
一部変更モードでは、地紋元画像変更領域として既定された領域(図3、参照)の地紋パターンデータを作成するだけでよい。つまり、このデータを作成するためには、最小単位を画素のX,Yの並びで格納されている地紋パターンの記憶場所からパターンを読み込むための設定(下記に詳述)と、地紋パターンデータの作成範囲を指示する値が設定されればよい。
If it is the partial change mode in step S201 (step S201-YES), the operation according to the flow of this mode is performed.
In the partial change mode, it is only necessary to create the copy-forgery-inhibited pattern data of an area (see FIG. 3) defined as the copy-forgery-inhibited pattern original image change area. In other words, in order to create this data, the setting for reading the pattern from the memory location of the tint block pattern stored in the arrangement of the X and Y pixels as the minimum unit (detailed below), and the tint block pattern data A value indicating the creation range may be set.

そこで、このフローでは、まず、初期設定を行う(ステップS221)。
この初期設定は、地紋元画像変更領域の走査位置を指示するX カウンタ及び Y カウンタの設定と、上記した地紋パターンの記憶場所からパターンを読み込むための先頭画素の位置(読み込み開始位置)の設定を行う。
前者は、例えば、地紋元画像変更領域の設定(図3、参照)に従い、走査開始位置( X3 , Y3 )と走査終了位置( X4 , Y4 )をそれぞれ設定値とすることができる。
Therefore, in this flow, first, initial setting is performed (step S221).
This initial setting consists of setting the X counter and Y counter that indicate the scanning position of the copy-forgery-inhibited pattern original image change area, and setting the position of the first pixel (reading start position) for reading the pattern from the copy-forgery-inhibited pattern pattern storage location. Do.
The former can set the scan start position (X3, Y3) and the scan end position (X4, Y4), respectively, as set values, for example, according to the setting of the copy-forgery-inhibited pattern original image change area (see FIG. 3).

後者は、この一部変更モードの動作を上記した通常モードの動作とリンクさせ、例えば、2ページ目を上記した通常モードで行う1ページ目の動作にリンクさせて行う場合、1ページ目を処理するときに、パターン位置情報( xi , yi )を保持するステップS206を通す。このステップを経て、保持された当該パターン位置情報( xi , yi )が、一部変更モードを適用する2ページ目に対し、このステップで行う地紋作成に用いる地紋パターンを指定するために、設定される。
なお、一部変更モードの動作を、通常モードの動作とリンクさせずに、単独で行わせる場合には、別途、指示された設定を行うことによって、実施できる。
The latter links the operation of the partial change mode with the operation of the normal mode described above. For example, when the second page is linked to the operation of the first page performed in the normal mode described above, the first page is processed. In step S206, the pattern position information (xi, yi) is held. Through this step, the pattern position information (xi, yi) held is set to specify the tint block pattern used for creating the tint block pattern created in this step for the second page to which the partial change mode is applied. The
In addition, when the operation in the partial change mode is performed independently without being linked to the operation in the normal mode, it can be performed by separately performing instructed settings.

次に、最小単位を画素のX,Yの並びで格納されている地紋パターンの記憶場所からパターンを読み込む(ステップS222)。この読み込みを行う際、初期設定においてパターン位置情報( xi , yi )として設定された位置を先頭にして、先頭位置から、X,Yの2次元の並びに従って1ライン分のパターンを順に読み込む。
次いで、このパターンデータに対し、解像度が地紋元画像と同じ解像度になっていない場合があるマスク地紋、不正コピーガード地紋の各地紋パターンのようなデータに対して、変倍処理を施し、同じ解像度のデータにする(ステップS223)。
Next, the pattern is read from the memory location of the copy-forgery-inhibited pattern pattern in which the minimum unit is stored as an array of pixels X and Y (step S222). When this reading is performed, a pattern for one line is sequentially read from the head position according to a two-dimensional arrangement of X and Y, starting from the position set as pattern position information (xi, yi) in the initial setting.
Next, this pattern data is subjected to scaling processing on data such as a mask pattern that may not have the same resolution as the copy-forgery-inhibited pattern original image, and a copy-forgery-inhibited copy-guard pattern pattern that has the same resolution. (Step S223).

処理対象の画像は、主走査( X )方向のラインを単位として画素を生成し、この処理を副走査( Y )方向にラインを切替えながら、走査開始位置( X3 , Y3 )と走査終了位置( X4 , Y4 )で設定された地紋元画像変更領域の地紋パターンデータとして処理し、出力する(ステップS224)。
なお、この( X , Y )走査方式に従って行う地紋パターンデータの作成手順は、上記通常モードにおけるのと同様である。つまり、通常モードにおけるステップS207〜S211の動作と、一部変更モードにおけるステップS224〜S228の動作は、基本的に変わりがない。従って、上記の説明を参照することとして、ここでは、記載を省略する。
The image to be processed generates pixels in units of lines in the main scanning (X) direction, and this process is performed while switching the lines in the sub-scanning (Y) direction, and the scanning start position (X3, Y3) and scanning end position ( It is processed and output as the copy-forgery-inhibited pattern image data of the copy-forgery-inhibited pattern original image change area set in (X4, Y4) (step S224).
The tint block pattern data creation procedure performed in accordance with the (X, Y) scanning method is the same as that in the normal mode. That is, the operations in steps S207 to S211 in the normal mode and the operations in steps S224 to S228 in the partial change mode are basically the same. Therefore, the description is omitted here with reference to the above description.

ステップS224における地紋パターンを作成し、出力するステップでは、走査位置( X , Y )が地紋元画像変更領域の走査開始位置( X3 , Y3 )にあれば、その位置の地紋パターンのデータとして、先に読み込まれた1ライン分の地紋パターンの先頭画素を当てる。一部変更モードの動作では、この先頭画素は、初期設定でパターン位置情報( xi , yi )として設定された画素の並びに従う。よって、通常モードで生成している地紋パターンを一部変更モードにおいて生成する変更部分のパターンに引き継ぎ、変更によりパターンずれが起きることはなく、画質の低下が生じない。   In the step of creating and outputting the tint block pattern in step S224, if the scanning position (X, Y) is at the scanning start position (X3, Y3) of the tint block original image change area, the pattern pattern data at that position is used as the data of the tint block pattern. Is applied to the first pixel of the tint block pattern for one line read. In the operation in the partial change mode, this first pixel follows the arrangement of pixels set as pattern position information (xi, yi) by default. Therefore, the copy-forgery-inhibited pattern pattern generated in the normal mode is succeeded to the pattern of the changed portion generated in the partial change mode, and no pattern shift occurs due to the change, and the image quality does not deteriorate.

また、引き続き、走査位置( X )を1ずつ進めながら、地紋パターンデータを1画素ずつ生成するループ処理を行うので、走査位置( X )の歩進に連れて、読み込んだ1ライン分の地紋パターンにおける画素の並びを順に当て、地紋パターンを作成していく。
ただ、出力の仕方は、地紋元画像変倍器101からの地紋元画像データが、例えば、64 bit の単位で地紋合成器106に入力されるので、1画素ずつ生成する地紋パターンデータを同じ64 bit 単位つなげて出力する。
以上のフローにより一部変更モードの動作が行われる。
In addition, since the loop processing for generating the copy-forgery-inhibited pattern data one pixel at a time while proceeding with the scanning position (X) one by one is performed, the read-in pattern pattern for one line is read as the scanning position (X) is advanced. The pattern of the tint block pattern is created by sequentially applying the pixel arrangement in the.
However, since the copy-forgery-inhibited pattern original image data from the copy-forgery-inhibited pattern original image magnification unit 101 is input to the copy-forgery-inhibited pattern synthesizer 106 in units of 64 bits, for example, the same copy-forgery-inhibited pattern data generated for each pixel is used. Bit united output.
The partial change mode operation is performed by the above flow.

「地紋生成動作( II )」
この実施形態は、通常モードと一部変更モードの間で、地紋画像データを生成する動作を切り替える点で、上記地紋生成動作( I )と同じである。
ただ、切り替えを上記地紋生成動作( I )で行った、一部変更モードを認識し、認識結果をフラグで示す方法によらず、各地紋生成器102〜105に対して発行された地紋生成の処理要求に設定された条件に示された情報をもとに、地紋生成動作フローの開始時に動作モードを判断する。
"Boil pattern generation operation (II)"
This embodiment is the same as the background pattern generation operation (I) in that the operation for generating the background pattern image data is switched between the normal mode and the partial change mode.
However, the copy-forgery-inhibited pattern generation issued to the local pattern generators 102 to 105 is performed regardless of the method of recognizing the partial change mode that has been switched by the copy-forgery-inhibited pattern generation operation (I) and indicating the recognition result with a flag. Based on the information indicated in the conditions set in the processing request, the operation mode is determined at the start of the tint block generation operation flow.

図7は、地紋生成動作( II )のフローを示す。図7のフローは、図6に示した地紋生成動作( I )のフローと対比すると明らかであるが、フローの開始時に、一部変更か、通常かの動作モードを判断し、動作を分岐するステップS301が異なるだけで、これ以外は同じ動作手順を有する。つまり、初段で動作モードが、通常か、一部変更かを判断し、その結果に従って、通常モードでは、地紋生成領域全部を対象に地紋生成を行い(図2、参照),また、一部変更モードでは、地紋元画像変更領域を対象に変更部分だけの地紋生成を行う(図3、参照)それぞれのモードの動作手順は、同じである。
従って、それぞれのモードに分岐した後の同一の動作手順については、図6に示した地紋生成動作( I )の上記した説明を参照することとして、ここでは、記載を省略する。
FIG. 7 shows the flow of the tint block generation operation (II). The flow of FIG. 7 is obvious when compared with the flow of the tint block generation operation (I) shown in FIG. 6, but at the start of the flow, it is determined whether the operation mode is partially changed or normal, and the operation is branched. Only step S301 is different, and other than this, the operation procedure is the same. That is, in the first stage, it is determined whether the operation mode is normal or partially changed, and in the normal mode, the background pattern is generated for the entire background pattern generation area (see FIG. 2), and the partial change is performed. In the mode, the copy-forgery-inhibited pattern generation of only the changed portion is performed for the copy-forgery-inhibited pattern original image change area (see FIG. 3).
Therefore, for the same operation procedure after branching to each mode, the description of the copy-forgery-inhibited pattern generation operation (I) shown in FIG.

ステップS301における動作モードの判断は、一部変更モードの動作に必要なパターン位置情報が存在するか、否かに拠る。
このパターン位置情報は、通常モードの動作において、走査位置( X , Y )が地紋元画像変更位置( X3 , Y3 )に達したときに(ステップS305-YES)、ステップS306で得たパターン位置情報である。つまり、この走査位置における地紋パターン(画素の並び)を格納した記憶場所の位置情報( xi , yi )である。この位置情報( xi , yi )を保持しておき、一部変更モードにおけるパターン読み込みの開始位置の指定に用いることで、通常モードで生成している地紋パターンを一部変更モードにおいて生成する変更部分のパターンに引き継ぎ、変更によりパターンずれが起きないようにすることができる。
The determination of the operation mode in step S301 depends on whether or not there is pattern position information necessary for the operation in the partial change mode.
This pattern position information is obtained when the scanning position (X, Y) reaches the copy-forgery-inhibited pattern original image changing position (X3, Y3) in the normal mode operation (step S305-YES). It is. That is, the position information (xi, yi) of the storage location storing the tint block pattern (pixel arrangement) at this scanning position. A change part that generates the copy-forgery-inhibited pattern pattern generated in the normal mode in the partial change mode by holding this position information (xi, yi) and using it to specify the pattern reading start position in the partial change mode. It is possible to take over the pattern and prevent the pattern from being shifted by the change.

よって、このパターン位置情報が保持されているか、いないかによって、動作モードを判断することができ、モード切り替えを行うことができる。
このパターン位置情報が存在するか、否かに拠り動作モードを判断する方法は、各地紋生成器102〜105側で、受け取った地紋生成の処理要求に指示された条件を検知することが可能で、地紋生成動作( I )のフラグ方式に比べ、処理を簡略化できる。
Therefore, the operation mode can be determined depending on whether the pattern position information is held or not, and the mode can be switched.
The method of determining the operation mode based on whether or not the pattern position information exists can detect the condition instructed by the local pattern generators 102 to 105 on the received ground pattern generation processing request. Compared with the flag method of the tint block generation operation (I), the processing can be simplified.

「地紋生成動作( III )」
この実施形態は、通常モードと一部変更モードの間で、地紋画像データを生成する動作を切り替える点で、上記地紋生成動作( I )と同じである。
ただ、一部変更モードに切り替えた後、始めに行う初期設定におけるパターン位置情報の設定を地紋生成動作( III )では、テーブル参照方式とし、上記地紋生成動作( I )における、通常モードの動作で取得し、保持したパターン位置情報を引き継ぐ方式に代えるものである。
"Ground pattern generation (III)"
This embodiment is the same as the background pattern generation operation (I) in that the operation for generating the background pattern image data is switched between the normal mode and the partial change mode.
However, after switching to the partial change mode, the pattern position information setting in the initial setting performed first is the table reference method in the background pattern generation operation (III), and in the normal mode operation in the background pattern generation operation (I). This is a method that replaces the acquired and retained pattern position information.

図8に示すフローを参照して、各地紋生成器102〜105におけるこの実施形態の地紋生成動作( III )を説明する。
地紋生成に必要な生成条件の設定(図5のステップS102、参照)及び前景地紋、背景地紋、マスク地紋及び不正コピーガード地紋の各地紋パターンのうち、要求された地紋パターンの設定(図5のステップS103、参照)が、前段で行われているので、この設定に従って、この地紋生成動作フローが開始される。
With reference to the flow shown in FIG. 8, the background pattern generation operation (III) of this embodiment in each area pattern generators 102 to 105 will be described.
Setting of the generation conditions necessary for generation of the background pattern (see step S102 in FIG. 5) and setting of the requested background pattern among the background patterns of the foreground background pattern, the background background pattern, the mask background pattern, and the illegal copy guard background pattern (see FIG. 5). Since step S103 is performed in the preceding stage, this tint block generation operation flow is started according to this setting.

フローが開始されると、まず、主制御部(図示せず)が認識している動作モードをフラグによって検知する。ここでは、一部変更モードである場合に立てられるフラグを検知することにより、一部変更か、通常かの動作モードを判断する(ステップS401)。
この判断結果により、通常動作モードと一部変更モードに分岐し、それぞれのフローに従い動作を進める。
When the flow is started, first, an operation mode recognized by a main control unit (not shown) is detected by a flag. Here, by detecting a flag set in the partial change mode, it is determined whether the operation mode is partial change or normal (step S401).
Based on the determination result, the operation branches to the normal operation mode and the partial change mode, and the operation proceeds according to each flow.

通常モードであれば(ステップS401-NO)、先ず、地紋パターンを格納しているメモリからパターンを読み込む(ステップS402)。ここに、地紋パターンは、メモリの所定の記憶場所に、パターンの最小単位を画素(ドット)の並び、即ちX,Yの2次元の並びに従って格納されている。
通常モードの場合、記憶場所の先頭から、X,Yの2次元の並びに従って1ライン分のパターンが順に読み込まれる。なお、後記する一部変更モードでは、地紋元画像変更位置に応じて、読み込むパターンの先頭画素の位置(読み込み開始位置)が変わるので、地紋元画像変更位置に対応する地紋パターン位置、つまりパターンの記憶場所を示す位置情報( xi , yi )を保持しておき、一部変更モードの初期設定において、指定する。
次いで、このパターンデータに対し、解像度が地紋元画像と同じ解像度になっていない場合があるマスク地紋、不正コピーガード地紋の各地紋パターンのようなデータに対して、変倍処理を施し、同じ解像度のデータにする(ステップS403)。
If it is the normal mode (step S401-NO), first, the pattern is read from the memory storing the tint block pattern (step S402). Here, the tint block pattern is stored in a predetermined storage location of the memory according to the arrangement of pixels (dots), that is, the two-dimensional arrangement of X and Y, as the minimum unit of the pattern.
In the normal mode, a pattern for one line is sequentially read from the beginning of the storage location according to a two-dimensional arrangement of X and Y. In the partial change mode, which will be described later, the position of the first pixel of the pattern to be read (reading start position) changes according to the background pattern original image change position, so the background pattern pattern position corresponding to the background pattern original image change position, that is, the pattern The position information (xi, yi) indicating the storage location is held and designated in the initial setting of the partial change mode.
Next, this pattern data is subjected to scaling processing on data such as a mask pattern that may not have the same resolution as the copy-forgery-inhibited pattern original image, and a copy-forgery-inhibited copy-guard pattern pattern that has the same resolution. (Step S403).

処理対象の画像は、主走査( X )方向のラインを単位として画素(ドット)を生成し、この処理を副走査( Y )方向にラインを切替えながら行うことによって、1ページ分の画像データとして処理される。また、地紋生成領域は、走査開始位置( X1 , Y1 )と走査終了位置( X2 , Y2 )で定義される(図2、参照)。
従って、地紋パターンは、上記走査方式に従い、各ラインの画素値(0,1)を画素単位で決めていく作成方法により生成するので、1ページ分の処理対象画像に対する走査が開始された後、走査位置( X , Y )が処理すべき領域であるかを設定された地紋生成領域により判断し、地紋生成領域である場合に、次の処理ステップへ進む(ステップS404-YES)。
The image to be processed generates pixels (dots) in units of lines in the main scanning (X) direction, and this processing is performed while switching the lines in the sub-scanning (Y) direction. It is processed. The tint block generation area is defined by a scanning start position (X1, Y1) and a scanning end position (X2, Y2) (see FIG. 2).
Accordingly, the tint block pattern is generated by a creation method in which the pixel value (0, 1) of each line is determined in units of pixels in accordance with the above scanning method. Whether the scanning position (X, Y) is an area to be processed is determined based on the set tint block generation area, and if it is the tint block generation area, the process proceeds to the next processing step (YES in step S404).

地紋生成領域であれば、パターンを作成すべき走査位置であるから、地紋パターンを作成し、出力する(ステップS405)。
このステップでは、走査位置( X , Y )が地紋生成領域に達した場合に、その位置の地紋パターンのデータとして、先に読み込まれた1ライン分の地紋パターンの先頭画素を当てる。また、続いて行われる下記のフローに示すように、走査位置( X )を1ずつ進めながら、パターンデータを1画素ずつ生成するループ処理を行うので、走査位置( X )の歩進に連れて、1ライン分の地紋パターンにおける画素の並びを順に当て、地紋パターンを作成していく。
ただ、出力の仕方は、地紋元画像変倍器101からの地紋元画像データが、例えば、64 bit の単位で地紋合成器106に入力されるので、1画素ずつ生成する地紋パターンデータを同じ64 bit 単位つなげて出力する。
If it is the copy-forgery-inhibited pattern generation region, since it is the scanning position where the pattern is to be created, a copy-forgery-inhibited pattern is created and output (step S405).
In this step, when the scanning position (X, Y) reaches the copy-forgery-inhibited pattern generation region, the first pixel of the copy-forgery-inhibited pattern pattern read in one line is applied as the copy-forgery-inhibited pattern data at that position. Further, as shown in the following flow, the loop processing for generating the pattern data pixel by pixel is performed while the scanning position (X) is advanced one by one, so that the scanning position (X) is stepped up. A background pattern is created by sequentially placing pixels in the background pattern for one line.
However, since the copy-forgery-inhibited pattern original image data from the copy-forgery-inhibited pattern original image magnification unit 101 is input to the copy-forgery-inhibited pattern synthesizer 106 in units of 64 bits, for example, the same copy-forgery-inhibited pattern data generated for each pixel is used. Bit united output.

次いで、走査位置( X , Y )が走査終了位置( X2 , Y2 )に達したか、否かをチェックし(ステップS406)、終了位置に達していれば、このフローを終了する。
他方、終了位置に達していなければ、走査位置( X )がEOL(End Of Line)に達したか、否かをチェックし(ステップS409)、達していなければ、X カウンタ値をアップし(ステップS410)、走査位置( X )を1進めた後、次の画素の地紋パターンを作成し、出力するステップS405以降の手順を繰り返す。
Next, it is checked whether or not the scanning position (X, Y) has reached the scanning end position (X2, Y2) (step S406). If it has reached the end position, this flow is ended.
On the other hand, if the end position has not been reached, it is checked whether or not the scanning position (X) has reached EOL (End Of Line) (step S409). If not, the X counter value is increased (step S409). In step S410, after the scanning position (X) is advanced by 1, the copy-forgery-inhibited pattern pattern of the next pixel is created and output, and the procedure after step S405 is repeated.

また、EOLに達していれば(ステップS409-YES)、Y カウンタ値をアップし、つまりラインを切り替え、かつ X カウンタ値を0とすることにより、ラインの先頭にセットし、地紋パターンを格納している所定の記憶場所から、このラインのパターンを読み込むステップS402以降の手順を繰返す。
以上のフローにより通常モードの動作が行われる。
If EOL has been reached (step S409-YES), the Y counter value is increased, that is, the line is switched, and the X counter value is set to 0, so that the line pattern is stored at the head of the line. The procedure after step S402 for reading this line pattern from the predetermined storage location is repeated.
The normal mode operation is performed by the above flow.

ステップS401で一部変更モードと判断されれば(ステップS401-YES)、このモードのフローに従う動作を行う。
一部変更モードでは、地紋元画像変更領域として既定された領域(図3、参照)の地紋パターンデータを作成するだけでよい。つまり、このデータを作成するためには、地紋パターンデータの作成範囲を指示する領域情報と、最小単位を画素のX,Yの並びで格納されている地紋パターンの記憶場所からパターンを読み込むための読み込み開始位置が設定されればよい。
If it is determined in step S401 that the partial change mode is set (step S401-YES), an operation according to the flow of this mode is performed.
In the partial change mode, it is only necessary to create the copy-forgery-inhibited pattern data of an area (see FIG. 3) defined as the copy-forgery-inhibited pattern original image change area. In other words, in order to create this data, the pattern information is read from the area information indicating the area for creating the tint block pattern data and the tint block pattern storage location in which the minimum unit is stored in the X and Y arrangement of pixels. The reading start position may be set.

そこで、このフローでは、まず、初期設定を行う(ステップS421)。
この初期設定は、地紋元画像変更領域の走査位置を指示するX カウンタ及び Y カウンタの設定と、上記した地紋パターンの記憶場所からパターンを読み込むための先頭画素の位置(読み込み開始位置)の設定を行う。
前者は、地紋元画像変更領域の設定(図3、参照)に従い、走査開始位置( X3 , Y3 )と走査終了位置( X4 , Y4 )をそれぞれ設定値とすることができる。
Therefore, in this flow, first, initial setting is performed (step S421).
This initial setting consists of setting the X counter and Y counter that indicate the scanning position of the copy-forgery-inhibited pattern original image change area, and setting the position of the first pixel (reading start position) for reading the pattern from the copy-forgery-inhibited pattern pattern storage location. Do.
The former can set the scan start position (X3, Y3) and the scan end position (X4, Y4) as set values according to the setting of the copy-forgery-inhibited pattern original image change area (see FIG. 3).

後者は、地紋元画像変更領域を定義する走査開始位置( X3 , Y3 )に対応する地紋パターンの読み込み開始位置との関係を定めたテーブルを予め作成しておき、このテーブルを参照することにより得ることができる。
走査位置( X , Y )と画素のX,Yの並びで表される地紋パターンの関係は、決められており、最小単位を画素のX,Yの並びで格納されている地紋パターンの記憶場所も決まっている。従って、地紋元画像変更領域の走査開始位置( X3 , Y3 )に対応する、地紋パターンの画素位置、つまり地紋パターンの読み込み開始位置は、予めこの関係を定めたテーブルで用意できる。
よって、この初期設定ステップでは、地紋生成の処理要求に指示された走査開始位置( X3 , Y3 )により上記関係テーブルを参照し、対応する地紋パターンの読み込み開始位置( xi , yi )を設定することができる。
The latter is obtained by creating in advance a table that defines the relationship between the scan start position (X3, Y3) defining the copy-forgery-inhibited pattern original image change area and the read-in start position of the copy-forgery-inhibited pattern. be able to.
The relationship between the scanning pattern (X, Y) and the tint block pattern represented by the arrangement of pixels X and Y is determined, and the memory location of the tint block pattern stored as the minimum unit is the arrangement of pixels X and Y. Is also decided. Accordingly, the pixel position of the tint block pattern corresponding to the scanning start position (X3, Y3) of the tint block original image change region, that is, the reading start position of the tint block pattern can be prepared in a table in which this relationship is determined in advance.
Therefore, in this initial setting step, the above-mentioned relationship table is referred to by the scan start position (X3, Y3) instructed in the copy-forgery-inhibited pattern generation processing request, and the corresponding copy-forgery-inhibited pattern pattern read start position (xi, yi) is set. Can do.

次に、最小単位を画素のX,Yの並びで格納されている地紋パターンの記憶場所からパターンを読み込む(ステップS422)。この読み込みを行う際、初期設定で地紋パターンの読み込み開始位置( xi , yi )として設定された位置を先頭にして、先頭位置から、X,Yの2次元の並びに従って1ライン分のパターンを順に読み込む。
次いで、このパターンデータに対し、解像度が地紋元画像と同じ解像度になっていない場合があるマスク地紋、不正コピーガード地紋の各地紋パターンのようなデータに対して、変倍処理を施し、同じ解像度のデータにする(ステップS423)。
Next, the pattern is read from the storage location of the tint block pattern in which the minimum unit is stored in the arrangement of X and Y of pixels (step S422). When performing this reading, the pattern set for one line according to the two-dimensional arrangement of X and Y from the starting position, starting from the position set as the copy-forgery-inhibited pattern pattern reading start position (xi, yi) by default. Read.
Next, this pattern data is subjected to scaling processing on data such as a mask pattern that may not have the same resolution as the copy-forgery-inhibited pattern original image, and a copy-forgery-inhibited copy-guard pattern pattern that has the same resolution. (Step S423).

処理対象の画像は、主走査( X )方向のラインを単位として画素を生成し、この処理を副走査( Y )方向にラインを切替えながら、走査開始位置( X3 , Y3 )と走査終了位置( X4 , Y4 )で設定された地紋元画像変更領域の地紋パターンデータとして処理し、出力する(ステップS424)。
なお、この( X , Y )走査方式に従って行う、地紋パターンデータの作成手順は、上記通常モードにおけるのと同様である。つまり、通常モードにおけるステップS405〜S411の動作と、一部変更モードにおけるステップS424〜S428の動作は、基本的に変わりがない。従って、上記の説明を参照することとして、ここでは、記載を省略する。
The image to be processed generates pixels in units of lines in the main scanning (X) direction, and this process is performed while switching the lines in the sub-scanning (Y) direction, and the scanning start position (X3, Y3) and scanning end position ( It is processed and output as the copy-forgery-inhibited pattern image data of the copy-forgery-inhibited pattern original image change area set in (X4, Y4) (step S424).
The tint block pattern data creation procedure performed in accordance with the (X, Y) scanning method is the same as that in the normal mode. That is, the operations in steps S405 to S411 in the normal mode and the operations in steps S424 to S428 in the partial change mode are basically the same. Therefore, the description is omitted here with reference to the above description.

ステップS424における地紋パターンを作成し、出力するステップでは、走査位置( X , Y )が地紋元画像変更領域の走査開始位置( X3 , Y3 )にあれば、その位置の地紋パターンのデータとして、先に読み込まれた1ライン分の地紋パターンの先頭画素を当てる。一部変更モードの動作では、この先頭画素は、初期設定で地紋パターンの読み込み開始位置( xi , yi )として設定された画素の並びに従う。よって、通常モードで生成している地紋パターンを一部変更モードにおいて生成する変更部分のパターンに引き継ぎ、変更によりパターンずれが起きることはなく、画質の低下が生じない。   In the step of creating and outputting the tint block pattern in step S424, if the scanning position (X, Y) is at the scanning start position (X3, Y3) of the tint block original image change area, the pattern pattern data at that position is used as the data for the tint block pattern. Is applied to the first pixel of the tint block pattern for one line read. In the operation in the partial change mode, this first pixel follows the sequence of pixels set as the copy-forgery-inhibited pattern pattern reading start position (xi, yi) by default. Therefore, the copy-forgery-inhibited pattern pattern generated in the normal mode is succeeded to the pattern of the changed portion generated in the partial change mode, and no pattern shift occurs due to the change, and the image quality does not deteriorate.

また、引き続き、走査位置( X )を1ずつ進めながら、地紋パターンデータを1画素ずつ生成するループ処理を行うので、走査位置( X )の歩進に連れて、読み込んだ1ライン分の地紋パターンにおける画素の並びを順に当て、地紋パターンを作成していく。
ただ、出力の仕方は、地紋元画像変倍器101からの地紋元画像データが、例えば、64 bitの単位で地紋合成器106に入力されるので、1画素ずつ生成する地紋パターンデータを同じ64 bit 単位つなげて出力する。
以上のフローにより一部変更モードの動作が行われる。
In addition, since the loop processing for generating the copy-forgery-inhibited pattern data one pixel at a time while proceeding with the scanning position (X) one by one is performed, the read-in pattern pattern for one line is read as the scanning position (X) is advanced. The pattern of the tint block pattern is created by sequentially applying the pixel arrangement in the.
However, since the copy-forgery-inhibited pattern original image data from the copy-forgery-inhibited pattern original image magnification unit 101 is input to the copy-forgery-inhibited pattern synthesizer 106 in units of 64 bits, for example, the same copy-forgery-inhibited pattern data generated for each pixel is used. Bit united output.
The partial change mode operation is performed by the above flow.

ところで、上記の各地紋生成器102〜105の地紋生成動作(図6〜8のフロー、参照)では、地紋生成に用いる地紋パターンとして、最小単位パターンを持つ例を示した。
この最小単位パターンを持つ方式では、パターンを格納するためのメモリ容量が少なくてすむ利点がある。ただ、各地紋生成器102〜105側の処理では、地紋生成プロセスでメモリに格納されたこの地紋パターンを読み込む際に、指定する記憶場所が、それぞれ長さの異なるパターンを最小単位で持つために、ばらばらになってしまう。このため、処理が煩雑になり、処理負担が大きくなる。
By the way, in the tint block generation operation (see the flows in FIGS. 6 to 8) of the above-described local pattern generators 102 to 105, an example is shown in which the minimum unit pattern is used as the tint block pattern used for the tint block generation.
The method having the minimum unit pattern has an advantage that the memory capacity for storing the pattern can be reduced. However, in the processing on each of the local pattern generators 102 to 105, when reading the tint block pattern stored in the memory in the tint block generation process, the designated storage locations have patterns having different lengths in the minimum unit. , Will fall apart. This complicates the processing and increases the processing load.

そこで、最小単位で持っていた各地紋パターンに代え、各パターン長の最小公倍数の長さでパターンを持つようにする。
このようにすることで、地紋生成プロセスでメモリに格納された各地紋パターンを読み込む際に、異なる種類の地紋でも、同じ記憶場所を指定することができ、処理手順を共通にすることが可能になり、処理の煩雑さを回避し、処理負担を軽減することができる。
Therefore, instead of the local pattern which was held in the minimum unit, the pattern is provided with the least common multiple of each pattern length.
By doing this, when reading the pattern patterns stored in the memory in the pattern generation process, it is possible to specify the same storage location for different types of pattern patterns, and to make the processing procedure common Thus, the complexity of processing can be avoided and the processing load can be reduced.

本発明の実施形態に係る画像処理装置の概略構成を示す。1 shows a schematic configuration of an image processing apparatus according to an embodiment of the present invention. 地紋生成領域全部を対象にする通常動作によって生成される地紋スタンプ画像の1例を示す。An example of a copy-forgery-inhibited pattern stamp image generated by a normal operation for the entire copy-forgery-inhibited pattern generation region is shown. 地紋元画像変更領域を対象にする一部変更動作によって生成される地紋スタンプ画像の1例を示す。An example of a copy-forgery-inhibited pattern stamp image generated by a partial change operation for a copy-forgery-inhibited pattern original image change area is shown. 地紋生成器の内部構成を示す。The internal structure of a tint block generator is shown. 図1の地紋生成器の動作フローを示す。The operation | movement flow of the tint block generator of FIG. 1 is shown. 図4の各地紋生成器の地紋生成動作( I )のフローを示す。The flow of the ground pattern generation operation (I) of the local pattern generator of FIG. 4 is shown. 図4の各地紋生成器の地紋生成動作( II )のフローを示す。The flow of the ground pattern generation operation (II) of the local pattern generator of FIG. 4 is shown. 図4の各地紋生成器の地紋生成動作( III )のフローを示す。The flow of the ground pattern generation operation (III) of the local pattern generator of FIG. 4 is shown.

符号の説明Explanation of symbols

100・・地紋生成器、101・・地紋元画像変倍器、102・・前景地紋生成器、103・・背景地紋生成器、104・・マスク地紋生成器、105・・不正コピーガード地紋生成器、106・・地紋合成器、200・・合成器、300・・画像データ出力器。 100 .. Background pattern generator 101.. Background pattern original image multiplier 102.. Foreground background pattern generator 103. Background background pattern generator 104. Mask background pattern generator 105 105 Unauthorized copy guard pattern generator 106 .. Background pattern synthesizer, 200... Synthesizer, 300.

Claims (7)

地紋元画像と地紋パターンを合成することにより地紋画像を生成する画像処理装置であって、
地紋パターンを記憶する地紋パターン記憶手段と、
処理対象画像面上の地紋画像生成領域に対応して、前記地紋パターン記憶手段の地紋パターンにおける地紋生成開始位置を設定する地紋パターン設定手段と、
前記地紋パターン設定手段の設定に従って、地紋元画像との合成に用いる地紋パターンを生成する手段を有したことを特徴とする画像処理装置。
An image processing apparatus for generating a tint block image by combining a tint block original image and a tint block pattern,
A tint block pattern storing means for storing the tint block pattern;
A copy-forgery-inhibited pattern pattern setting unit for setting a copy-forgery-inhibited pattern generation start position in the copy-forgery-inhibited pattern pattern in the copy-forgery-inhibited pattern pattern storage unit corresponding to a copy-forgery-inhibited pattern image generation region on the processing target image plane;
An image processing apparatus comprising means for generating a tint block pattern used for composition with a tint block original image in accordance with the setting of the tint block pattern setting unit.
請求項1に記載された画像処理装置において、
地紋画像の生成領域を指示する領域指示手段を有し、
前記地紋パターン設定手段は、前記領域指示手段によって指示された生成領域に基づいて、前記地紋パターン記憶手段の地紋パターンにおける地紋生成開始位置の設定値を算出する手段を備えたことを特徴とする画像処理装置。
The image processing apparatus according to claim 1,
An area instruction means for instructing a generation area of the tint block image;
The image is characterized in that the tint block pattern setting unit includes a unit that calculates a set value of a tint block generation start position in the tint block pattern of the tint block pattern storage unit based on the generation area designated by the region designating unit. Processing equipment.
基本単位パターンがそれぞれ異なる長さを持つ複数種の地紋パターンを用いる請求項1又は2に記載された画像処理装置において、
前記地紋パターン記憶手段に前記複数種の地紋パターンにおける各パターン長の最小公倍数の地紋パターンを記憶したことを特徴とする画像処理装置。
The image processing apparatus according to claim 1, wherein the basic unit pattern uses a plurality of types of tint block patterns having different lengths.
An image processing apparatus, wherein the tint block pattern storage means stores a tint block pattern having a least common multiple of each pattern length in the plurality of types of tint block patterns.
請求項1又は3に記載された画像処理装置において、
地紋画像の生成領域を指示する領域指示手段と、
地紋画像の生成領域と、前記地紋パターン記憶手段の地紋パターンにおける地紋生成開始位置との関係を示すテーブルを記憶するテーブル記憶手段を有し、
前記地紋パターン設定手段は、前記領域指示手段によって指示された生成領域により前記テーブル記憶手段のテーブルを参照し、設定する地紋パターンにおける地紋生成開始位置を取得する手段を備えたことを特徴とする画像処理装置。
In the image processing device according to claim 1 or 3,
Area instruction means for instructing the generation area of the tint block image;
A table storage unit that stores a table indicating a relationship between a generation pattern of a background pattern image and a background pattern generation start position in the background pattern pattern of the background pattern pattern storage unit;
The image is characterized in that the tint block pattern setting unit includes a unit that refers to the table of the table storage unit by the generation area instructed by the region instructing unit and acquires the tint block generation start position in the set tint pattern. Processing equipment.
請求項1乃至4のいずれかに記載された画像処理装置において、
前記地紋パターン設定手段による地紋生成開始位置の設定があるか、否かを判定する設定有無判定手段を有し、
前記地紋パターンを生成する手段は、前記設定有無判定手段によって設定があることが判定されたことを条件に、設定に従った生成を行うようにしたことを特徴とする画像処理装置。
The image processing apparatus according to claim 1,
A setting presence / absence determining unit that determines whether or not there is a setting of a tint block generation start position by the tint block pattern setting unit;
The image processing apparatus according to claim 1, wherein the means for generating the copy-forgery-inhibited pattern pattern performs generation according to setting on condition that the setting presence / absence determining means determines that the setting is present.
コンピュータを請求項1乃至4のいずれかに記載された画像処理装置における前記地紋パターン設定手段及び前記地紋パターンを生成する手段として機能させるためのプログラム。   A program for causing a computer to function as the tint block pattern setting unit and the unit for generating the tint block pattern in the image processing apparatus according to any one of claims 1 to 4. コンピュータを請求項5に記載された画像処理装置における前記地紋パターン設定手段、前記地紋パターンを生成する手段及び前記設定有無判定手段として機能させるためのプログラム。   A program for causing a computer to function as the tint block pattern setting unit, the unit for generating the tint block pattern, and the setting presence / absence determining unit in the image processing apparatus according to claim 5.
JP2007068251A 2007-03-16 2007-03-16 Image processing apparatus and program Pending JP2008235972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007068251A JP2008235972A (en) 2007-03-16 2007-03-16 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007068251A JP2008235972A (en) 2007-03-16 2007-03-16 Image processing apparatus and program

Publications (1)

Publication Number Publication Date
JP2008235972A true JP2008235972A (en) 2008-10-02

Family

ID=39908297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007068251A Pending JP2008235972A (en) 2007-03-16 2007-03-16 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP2008235972A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010147524A (en) * 2008-12-16 2010-07-01 Fuji Xerox Co Ltd Image processing apparatus, position code image compositing apparatus, image forming apparatus, image processing method, position code image compositing method and program
JP2012191403A (en) * 2011-03-10 2012-10-04 Ricoh Co Ltd Image forming apparatus, image forming system, image forming method, and program
WO2016122214A1 (en) * 2015-01-28 2016-08-04 주식회사 엘지전자 Vacuum cleaner

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010147524A (en) * 2008-12-16 2010-07-01 Fuji Xerox Co Ltd Image processing apparatus, position code image compositing apparatus, image forming apparatus, image processing method, position code image compositing method and program
JP2012191403A (en) * 2011-03-10 2012-10-04 Ricoh Co Ltd Image forming apparatus, image forming system, image forming method, and program
WO2016122214A1 (en) * 2015-01-28 2016-08-04 주식회사 엘지전자 Vacuum cleaner
RU2697238C2 (en) * 2015-01-28 2019-08-13 ЭлДжи ЭЛЕКТРОНИКС ИНК. Vacuum cleaner

Similar Documents

Publication Publication Date Title
JP4436454B2 (en) Image processing apparatus, image processing method, program thereof, and storage medium
JP2007106047A (en) Information processor, image processing method and computer program
JP2006262481A (en) Image processing apparatus
JP5005490B2 (en) Image processing method, image processing apparatus, and image processing program
JP2001238075A (en) Device and method for outputting picture
JP2007166221A (en) Apparatus and method for processing image
JPWO2008023691A1 (en) Printed matter, image processing device, printed matter authenticity judging device, image processing method, printed matter authenticity judging method, program
US8493629B2 (en) Image processing apparatus, method, and computer program
JP2008235972A (en) Image processing apparatus and program
JP2011166403A (en) Image processing apparatus, method, and computer program
JP3993845B2 (en) Image processing apparatus, image processing method, and image processing program
JP2007194790A (en) Image processor and image processing program superposing image
JP2004048380A (en) Image processing apparatus, image processing method, and storage medium
JP4029281B2 (en) Image processing apparatus, image processing method, and image processing program
JP2004260341A (en) Image processor, image forming system, program and storage medium
JP4608867B2 (en) Image processing device
JP2008160250A (en) Image processing apparatus and image processing program
JP2008205559A (en) Image processing unit, and image processing method, and program thereof
JP2006074093A (en) Image forming apparatus
JP2006128852A (en) Document creation method and device
JP2008124633A (en) Image forming apparatus and program
JP2008035448A (en) Image processing apparatus and information superimposing method
JP2007166510A (en) Image processing apparatus, control method of image processing apparatus, program, and storage medium
JP2005225090A (en) Printing device
JP4238750B2 (en) Image forming apparatus and image forming program