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

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

Info

Publication number
JP5278217B2
JP5278217B2 JP2009167055A JP2009167055A JP5278217B2 JP 5278217 B2 JP5278217 B2 JP 5278217B2 JP 2009167055 A JP2009167055 A JP 2009167055A JP 2009167055 A JP2009167055 A JP 2009167055A JP 5278217 B2 JP5278217 B2 JP 5278217B2
Authority
JP
Japan
Prior art keywords
latent image
mask
image
background
camouflage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009167055A
Other languages
Japanese (ja)
Other versions
JP2011023964A (en
Inventor
誠 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2009167055A priority Critical patent/JP5278217B2/en
Publication of JP2011023964A publication Critical patent/JP2011023964A/en
Application granted granted Critical
Publication of JP5278217B2 publication Critical patent/JP5278217B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing program which reduces the size of a unit pattern image to shorten the time of pattern image data generation processing. <P>SOLUTION: In the image processing program which makes a computer execute image processing for generating pattern image data, the image processing includes: a latent image mask acquisition step of acquiring a latent image mask which prescribes a latent image formed of a latent image part and a background part and has, in each pixel, information indicative of the latent image part or the background part; a latent image mask correction step (S31) of correcting the size of the acquired latent image mask to a multiple of a size of a latent image dither matrix to be referred when generating image data of the latent image part or a background dither matrix to be referred when generating image data of the background part, to generate a corrected latent image mask; and a unit pattern image generation step (S32) of generating image data per pixel on the basis of the corrected latent image mask, the latent image dither matrix, and the background dither matrix, to generate unit pattern image data corresponding to the size of the corrected latent image mask. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、地紋画像生成プログラム及び地紋画像生成装置に関し、特に、印刷媒体に印刷するための地紋画像データを生成するプログラム及び装置に関する。さらに、この地紋画像データに基づいて地紋画像を印刷した印刷媒体(原本)の複写による偽造を抑止する効果、あるいは、原本と複写物とを区別する効果を有する地紋画像の生成プログラム及び生成装置に関する。   The present invention relates to a copy-forgery-inhibited pattern image generation program and a copy-forgery-inhibited pattern image generation device, and more particularly to a program and device for generating copy-forgery-inhibited pattern image data for printing on a print medium. Furthermore, the present invention relates to a copy-forgery-inhibited pattern image generation program and a generation apparatus having an effect of suppressing forgery by copying a print medium (original) on which a copy-forgery-inhibited pattern image is printed based on the copy-forgery-inhibited pattern image data, or an effect of distinguishing an original from a copy. .

地紋は、原本の本来の画像に背景として合成され、印刷された文書が原本か複写物かを区別することを可能にする。地紋は、原本では識別することが難しいが、複写すると地紋の文字や画像が浮かび上がる。それを利用して、原本と複写物とを容易に区別することが可能になる。また、複写によって地紋の文字や画像が浮かび上がるので、地紋を合成して原本を生成すれば、心理的に原本の複写を抑止する効果が得られる。   The copy-forgery-inhibited pattern is combined with the original image of the original as a background, making it possible to distinguish whether the printed document is the original or a copy. Although it is difficult to identify the copy-forgery-inhibited pattern in the original, copying and copy-printing characters and images emerge. By utilizing this, it becomes possible to easily distinguish the original and the copy. In addition, since characters and images of a background pattern are revealed by copying, if an original is generated by synthesizing a background pattern, an effect of psychologically suppressing copying of the original can be obtained.

地紋の一般的な構成は、複写によって原本に印刷されたドットが残るまたはドットの減少が少ない「潜像部」と、複写によって原本に印刷されたドットが消失またはドットが大きく減少する「背景部」の2つの領域からなる。つまり、潜像部は複写による濃度変化が少なく原本の画像がそのまま再現され、背景部は複写による濃度変化が大きく原本の画像が消失する。この2つの領域により地紋の文字や画像が形成され、この地紋の文字や画像を「潜像」と称する。   The general structure of a background pattern consists of a “latent image portion” in which dots printed on the original remain with little or no decrease in dots, and a “background portion” where dots printed on the original due to copying disappear or the number of dots is greatly reduced. It consists of two areas. That is, the latent image portion has a small density change due to copying and the original image is reproduced as it is, and the background portion has a large density change due to copying and the original image disappears. A copy-forgery-inhibited pattern character or image is formed by these two regions, and the copy-forgery-inhibited pattern character or image is referred to as a “latent image”.

この潜像部と背景部の2つの領域は濃度がほぼ同等であり、原本の状態では一見すると「複写」などの地紋の文字や画像が隠れていることが判別困難であるが、ミクロ的には背景部と潜像部の各々が異なる特性を持っている。そして、複写されるとそれらの濃度変化の差により、潜像部と背景部との間に濃度差が生じてこの2つの領域で形成された地紋の文字や画像の判別が容易になる。   The two areas of the latent image portion and the background portion have almost the same density. In the original state, it is difficult to distinguish the characters and images of the copy-forgery-inhibited pattern such as “copy” at a glance. Each of the background portion and the latent image portion has different characteristics. When copied, due to the difference in density change, a density difference is generated between the latent image portion and the background portion, and it becomes easy to distinguish the characters and images of the tint block formed in these two regions.

潜像部は複写時(コピーによるスキャニング時)にドットを読み取り易くするために、各々のドットを集中した固まりのドットで構成し、逆に背景部は複写時にドットを読み取り難くするために、各々のドットを分散したドットで構成する。このようにすることにより、潜像部は複写後にドットが残り易く、背景部は潜像部よりもドットが消え易い特性になる。集中したドットや分散したドットは、異なる線数の網点を用いた網点処理によって実現することができる。すなわち、集中したドット配置を得るためには低い線数の網点を用い、分散したドット配置を得るためには高い線数の網点を用いる。   In order to make it easier to read the dots when copying (when scanning by copying), the latent image part is composed of concentrated dots, and conversely the background part makes each dot difficult to read during copying. Are composed of dispersed dots. By doing so, the latent image portion has a characteristic that dots are likely to remain after copying, and the background portion has a characteristic that the dots are more easily erased than the latent image portion. Concentrated dots and dispersed dots can be realized by halftone processing using halftone dots with different numbers of lines. That is, a low dot number halftone dot is used to obtain a concentrated dot arrangement, and a high line number halftone dot is used to obtain a dispersed dot arrangement.

一般に複写機には、複写対象の原稿の微小なドットをスキャナーで読み取る工程での入力解像度と、スキャナーで読み取った微小なドットを印刷エンジンで再現する工程での出力解像度とに依存した画像再現能力の限界が存在する。従って、複写機の画像再現能力の限界を超えた孤立した微小なドットが原稿中に存在すると、その複写物では微小なドットを完全には再現できず、孤立した微小なドットの部分が消失する。即ち、地紋の背景部が複写機で再現できるドットの限界を超えるように作成されている場合、地紋の大きなドット(集中したドット)は複写によって再現できるが、小さなドット(分散したドット)は複写によって再現できず、複写原稿に隠された潜像が浮かび上がる。また、複写により背景部の分散したドットが完全に消えなくとも、潜像部の集中したドットと比較してドットの消失の程度が大きければ、複写後に背景部と潜像部で濃度差が発生し、複写原稿において隠された潜像が浮かび上がる。   In general, a copying machine has an image reproduction capability that depends on the input resolution in the process of reading minute dots of the document to be copied with a scanner and the output resolution in the process of reproducing minute dots read by the scanner with a print engine. There are limits. Therefore, if isolated small dots exceeding the limit of the image reproduction capability of the copying machine exist in the original, the minute dots cannot be completely reproduced in the copy, and the isolated minute dot portion disappears. . In other words, if the background of the background pattern is created to exceed the limit of dots that can be reproduced by a copying machine, large dots (concentrated dots) on the background pattern can be reproduced by copying, but small dots (distributed dots) can be copied. The latent image hidden in the copied manuscript appears. In addition, even if the dispersed dots in the background area do not disappear completely due to copying, if the degree of dot disappearance is large compared to the dots in which the latent image area is concentrated, a difference in density occurs between the background area and the latent image area after copying. Then, a latent image hidden in the copy original appears.

また、地紋では、潜像として隠されている文字や画像をより判別し難くするために、「カモフラージュ」と言う技術が利用される。このカモフラージュ技術は、潜像部や背景部とは濃度が異なる模様を地紋画像全体に配置する方法であり、マクロ的には一見すると潜像部や背景部とは異なる濃度のカモフラージュ模様が目立ち、潜像が更に目立たなくなる効果がある。つまり、カモフラージュ模様のコントラストが大きく、それに比較して潜像部と背景部のコントラストが小さいため、目の錯覚により潜像がより効果的に隠蔽される。さらに、カモフラージュ模様は印刷物に装飾的な印象を与えることができ、意匠性に優れた地紋を作成することができるといった利点もある。尚、一般的にカモフラージュ模様は2値で作成されており、カモフラージュ模様に相当する領域で地紋のドットを発生させないことでカモフラージュ模様を形成している。以上が地紋の概要である。   In the background pattern, a technique called “camouflage” is used to make it more difficult to distinguish characters and images hidden as latent images. This camouflage technology is a method of arranging a pattern with a density different from that of the latent image part and the background part on the entire tint block image. At a glance, a camouflage pattern with a density different from that of the latent image part and the background part is conspicuous. This has the effect of making the latent image less noticeable. In other words, the camouflage pattern has a large contrast, and the contrast between the latent image portion and the background portion is small compared thereto, so that the latent image is more effectively concealed by the optical illusion. Furthermore, the camouflage pattern has an advantage that a decorative impression can be given to the printed matter, and a background pattern having excellent design can be created. In general, the camouflage pattern is created in binary, and the camouflage pattern is formed by not generating the tint block dots in the area corresponding to the camouflage pattern. The above is the outline of the background pattern.

図1は、地紋の潜像とカモフラージュ模様の例を示す図である。文字「複」の潜像マスクパターン10は、その拡大図10Xにも示されるとおり、例えば黒い部分が地紋の潜像部LIに対応し白い部分が地紋の背景部BIに対応する。一方、カモフラージュ模様12は、その拡大図12Xにも示されるとおり、例えば黒い部分CAMが地紋のドットが形成されない領域となり、白い部分には地紋のドットが形成される。言い換えると、図1の例におけるカモフラージュ模様のデータは、画素毎に地紋画像を印刷する部分と印刷しない部分とを示す2値の画像データである。   FIG. 1 is a diagram illustrating an example of a latent image of a tint block and a camouflage pattern. As shown in the enlarged view 10X, for example, the black portion corresponds to the latent image portion LI of the tint block and the white portion corresponds to the background portion BI of the tint block as shown in the enlarged view 10X. On the other hand, as shown in the enlarged view 12X of the camouflage pattern 12, for example, a black portion CAM is a region where a background pattern dot is not formed, and a background portion dot is formed in a white portion. In other words, the camouflage pattern data in the example of FIG. 1 is binary image data indicating a portion where a copy-forgery-inhibited pattern image is printed and a portion where it is not printed for each pixel.

図2は、地紋を印刷した原本の例を示す図である。地紋14は、図1の潜像マスク10に基づいて潜像部LIと背景部BIとが形成されている。潜像部LIは、ドット集中型ディザ法による低網点線数(53lpi)のドットで形成され、背景部BIは、ドット分散型ディザ法による高網点線数(212lpi)のドットで形成されている。拡大された地紋14Xから明らかなとおり、地紋全体が一定の出力濃度になっているが、潜像部LIのドットは低い網点線数のスクリーンにより形成されているので大きなドットであり、背景部BIのドットは高い網点線数のスクリーンにより形成されているので微少なドットである。   FIG. 2 is a diagram illustrating an example of an original on which a background pattern is printed. In the tint block 14, a latent image portion LI and a background portion BI are formed based on the latent image mask 10 of FIG. The latent image portion LI is formed with dots with a low halftone line number (53 lpi) by a dot concentration type dither method, and the background portion BI is formed with dots with a high halftone line number (212 lpi) by a dot dispersion type dither method. . As is clear from the enlarged background pattern 14X, the entire background pattern has a constant output density, but the dots of the latent image portion LI are large dots because they are formed by a screen with a low number of dotted lines, and the background portion BI. These dots are minute dots because they are formed by a screen having a high number of dotted lines.

地紋16は、図1の潜像マスク10とカモフラージュ模様12に基づいて潜像部LIと背景部BIとがカモフラージュ模様の黒い部分CAMの領域を除いて形成されている。拡大された地紋16Xに示されるとおり、地紋全体は一定の出力濃度であり、カモフラージュ模様の領域CAMにはドットが形成されず、それ以外の領域では、図1と同様に大きなドットからなる潜像部LIと微少なドットからなる背景部BIとが形成されている。カモフラージュ模様のコントラストが大きいため、コントラストが小さい潜像部LIと背景部BIとで形成される潜像(文字「複」)が目立たない。   The copy-forgery-inhibited pattern 16 is formed based on the latent image mask 10 and the camouflage pattern 12 of FIG. 1 except that the latent image portion LI and the background portion BI are excluded from the black portion CAM region of the camouflage pattern. As shown in the enlarged copy-forgery-inhibited pattern 16X, the entire copy-forgery-inhibited pattern has a constant output density, and no dots are formed in the camouflage pattern area CAM. In other areas, a latent image consisting of large dots is formed as in FIG. A portion LI and a background portion BI composed of minute dots are formed. Since the contrast of the camouflage pattern is large, the latent image (character “duplicate”) formed by the latent image portion LI and the background portion BI with low contrast is not conspicuous.

図2の地紋の原本は、潜像部LIと背景部BIの出力濃度が同じであるので、それにより形成される潜像「複」が隠蔽される。これを原本における潜像の隠蔽性が高いと称する。   The original copy-forgery-inhibited pattern in FIG. 2 has the same output density of the latent image portion LI and the background portion BI, so that the latent image “double” formed thereby is concealed. This is called high concealment of the latent image in the original.

図3は、地紋の複写物の例を示す図である。複写物18は、コピーによるスキャニング工程とドット形成工程(スキャニング工程によって生成されたスキャンデータに基づき、印刷媒体に印刷する工程)を経て形成され、その拡大図18Xに示されるとおり、潜像部LIの大きなドットはほとんど消失していないが、背景部BIの微少なドットはかなり消失している。その結果、複写物18において、潜像部LIの出力濃度はほとんど低下しないが、背景部BIの出力濃度はかなり低下し、潜像「複」が浮き上がって見える。つまり、複写物における潜像の識別性が高くなっている。   FIG. 3 is a diagram illustrating an example of a copy of a background pattern. The copy 18 is formed through a scanning process by copying and a dot forming process (a process of printing on a print medium based on scan data generated by the scanning process). As shown in the enlarged view 18X, the latent image portion LI is formed. Most of the large dots disappeared, but the minute dots in the background portion BI disappeared considerably. As a result, in the copied material 18, the output density of the latent image portion LI is hardly lowered, but the output density of the background portion BI is considerably lowered, and the latent image “duplicate” appears to float. That is, the recognizability of the latent image in the copy is high.

複写物20も同様に、カモフラージュ模様の領域CAMを除いて、複写物18と同じである。背景部BIの出力濃度が低下したことでカモフラージュ模様のコントラストが低下し、潜像「複」が浮き上がって見えている。   Similarly, the copy 20 is the same as the copy 18 except for the camouflage pattern area CAM. The contrast of the camouflage pattern decreases due to the decrease in the output density of the background portion BI, and the latent image “double” appears to float.

図4は、図2の原本の拡大図と図3の複写物の拡大図とを更に拡大した図である。(a)原本では、潜像部LIは網点線数が低く面積が大きなドット(網点)で構成され、背景部BIは網点線数が高く微少なドットで構成される。そして、カモフラージュ模様の黒い部分CAMにはいずれのドットも形成されていない。一方、(b)複写物では、潜像部LIの大きなドット(網点)のサイズはそれほど変化していないのに対して、背景部BIの微少なドットはかなりの数が消失している。その結果、複写物では、潜像部LIの出力濃度の低下はほとんどなく、背景部BIの出力濃度の低下は大きく、地紋の潜像「複」が顕在化される。   FIG. 4 is an enlarged view of the enlarged view of the original in FIG. 2 and the enlarged view of the copy in FIG. (A) In the original, the latent image portion LI is composed of dots (halftone dots) having a small number of halftone lines and a large area, and the background portion BI is composed of minute dots having a large number of halftone lines. No dot is formed in the black portion CAM of the camouflage pattern. On the other hand, in (b) the copied material, the size of the large dots (halftone dots) in the latent image portion LI does not change so much, whereas a considerable number of minute dots in the background portion BI disappear. As a result, in the copied material, there is almost no decrease in the output density of the latent image portion LI, the output density of the background portion BI is greatly decreased, and the latent image “duplicate” of the tint block is manifested.

図5は、地紋効果の例を示す図である。地紋画像には、二種類の地紋効果がある。二種類の地紋効果とは、複写時において、潜像である「複写」という文言の領域の濃度を周囲の領域より濃くする浮き出し効果と、「複写」という潜像の領域の濃度を周囲よりも薄くする白抜き効果である。地紋パターン50、51は、複写物における「複写」「コピー」という潜像の浮き出し効果の例を示し、地紋パターン52、53は、白抜き効果の例を示す。浮きだし効果の場合、潜像の領域(黒の部分)は潜像部54、潜像の周囲の領域(白の部分)は背景部55となり、白抜きの効果の場合、潜像の領域(白の部分)は背景部55、潜像の周囲の領域(黒の部分)は潜像部54となる。   FIG. 5 is a diagram illustrating an example of the tint block effect. The tint block image has two types of tint block effects. Two types of copy-forgery-inhibited pattern effects are the embossing effect that makes the density of the word “copy”, which is a latent image, darker than the surrounding area, and the density of the latent image area, “copy”, is higher than the surrounding. This is a whitening effect to make it thinner. The copy-forgery-inhibited pattern patterns 50 and 51 show an example of a latent image embossing effect of “copy” and “copy” in a copy, and the copy-forgery-inhibited pattern patterns 52 and 53 show an example of an outline effect. In the case of the embossing effect, the latent image region (black portion) is the latent image portion 54, and the region around the latent image (white portion) is the background portion 55. The white portion) is the background portion 55, and the region around the latent image (black portion) is the latent image portion 54.

図6は、潜像部のドットを形成する時に参照される潜像ディザマトリクス60の例と、生成される潜像部の画像LIとを示す図である。潜像ディザマトリクス60は、16×16ドットのマトリクスであり、網点線数が53lpiのドット集中型ディザマトリクスである。また、各セルに閾値1〜128が配置されている。閾値1のセルが網点の中心であり、入力階調値が0〜128と大きくなるに伴い、網点の中心からドット面積が徐々に大きくなる。   FIG. 6 is a diagram illustrating an example of a latent image dither matrix 60 that is referred to when forming dots in the latent image portion, and a latent image portion image LI that is generated. The latent image dither matrix 60 is a 16 × 16 dot matrix, and is a dot-concentrated dither matrix having a dot number of 53 lpi. In addition, threshold values 1 to 128 are arranged in each cell. The cell of threshold value 1 is the center of the halftone dot, and the dot area gradually increases from the center of the halftone dot as the input gradation value increases from 0 to 128.

潜像部の画像LIは、入力階調が21に対して生成される複数のドットD1により所望の出力濃度を持つ。ドットD1は入力階調に対応したサイズを有する網点であり、ディザマトリクス内の入力階調以下の閾値を有するセルに対応する画素のドット(以下画素ドットと称する。)の固まりである。   The image LI of the latent image portion has a desired output density due to a plurality of dots D1 generated with an input gradation of 21. The dot D1 is a halftone dot having a size corresponding to the input gradation, and is a cluster of dots (hereinafter referred to as pixel dots) of pixels corresponding to cells having a threshold value equal to or less than the input gradation in the dither matrix.

潜像ディザマトリクスの入力階調値は、原本における潜像部と背景部の出力濃度が等しくなるように設定される。出力濃度は、単に、地紋画像での単位面積当たりの画素ドットの数に比例するものではなく、ドットサイズやドットの分散態様などにも依存する。そのため、印刷した地紋画像における潜像部と背景部とを測色機器で測定し、その出力濃度が等しくなるように潜像ディザマトリクス60に対する入力階調値を選択される場合もあり、測色器を使用せずに、目視における出力濃度が等しくなるように入力階調値を選択される場合もある。   The input tone value of the latent image dither matrix is set so that the output densities of the latent image portion and the background portion in the original are equal. The output density is not simply proportional to the number of pixel dots per unit area in the copy-forgery-inhibited pattern image, but also depends on the dot size, the dot dispersion mode, and the like. For this reason, the latent image portion and the background portion of the printed tint block image are measured by a colorimetric device, and the input gradation value for the latent image dither matrix 60 may be selected so that the output densities thereof are equal. In some cases, the input gradation value is selected so that the visual output density is equal without using a device.

図7は、背景部のドットを形成する時に参照される背景ディザマトリクス70、71の例と、生成される背景部の画像B1、B2とを示す図である。この背景ディザマトリクス70、71は、閾値1と255とが配置された、14×14ドット、12×12ドットの閾値マトリクスである。閾値1の画素は、十字型に隣接する5つの画素と、その5つの隣接画素の間に分散して配置されている単独の画素とで構成されている。入力階調値が1〜254のいずれかと仮定すると、背景部の画像BI1、BI2は、十字型である5つの画素ドットの固まりで構成されるドットD2と、ドットD2の間に分散して配置される1つの画素ドットで構成される微少のドットD3とを有する。   FIG. 7 is a diagram showing an example of background dither matrices 70 and 71 referred to when forming background dots, and generated background images B1 and B2. The background dither matrices 70 and 71 are 14 × 14 dot and 12 × 12 dot threshold matrices in which thresholds 1 and 255 are arranged. A pixel having a threshold value 1 is composed of five pixels adjacent to each other in a cross shape and a single pixel distributed between the five adjacent pixels. Assuming that the input gradation value is any one of 1 to 254, the background images BI1 and BI2 are distributed between the dot D2 composed of a cluster of five pixel dots having a cross shape and the dot D2. And a small dot D3 composed of one pixel dot.

ここでは、背景ディザマトリクス70は、ドットD2が網点線数61lpiを有するのに対して、背景ディザマトリクス71は、ドットD2が網点線数71lpiを有する。よって、背景ディザマトリクス70、71はそれぞれ異なる網点線数を有し、背景ディザマトリクス70を使用して生成された背景部の画像の出力濃度は、背景ディザマトリクス71を使用して生成された背景部の画像の出力濃度よりも低くなる。これらの背景ディザマトリクス70、71は、ユーザーインターフェイス等により設定された地紋の出力濃度に基づいて選択される。   Here, in the background dither matrix 70, the dot D2 has the number of halftone lines 61 lpi, while in the background dither matrix 71, the dot D2 has the number of halftone lines 71 lpi. Therefore, the background dither matrices 70 and 71 each have a different number of halftone lines, and the output density of the background image generated using the background dither matrix 70 is the background generated using the background dither matrix 71. It becomes lower than the output density of the image of the part. These background dither matrices 70 and 71 are selected based on the output density of the background pattern set by the user interface or the like.

特開2008−178146号公報JP 2008-178146 A

図8は、地紋画像データ生成処理を説明する図である。印刷サイズ(A4)の地紋画像80は、複数の潜像マスク81、83が正方配置された例を表しており、横4720×縦6776ドットの画素を有する。潜像マスク(カモフラージュ模様無)81は、カモフラージュ模様を合成する場合の潜像マスクであり、潜像マスク(カモフラージュ模様無)83は、カモフラージュ模様を合成しない場合の潜像マスクであり、いずれの例も、横2080×縦2040ドットの画素を有する。   FIG. 8 is a diagram for explaining the tint block image data generation processing. The print size (A4) copy-forgery-inhibited pattern image 80 represents an example in which a plurality of latent image masks 81 and 83 are squarely arranged, and has pixels of 4720 horizontal × 6776 vertical dots. A latent image mask (no camouflage pattern) 81 is a latent image mask when a camouflage pattern is synthesized, and a latent image mask (no camouflage pattern) 83 is a latent image mask when no camouflage pattern is synthesized. The example also has pixels of horizontal 2080 × vertical 2040 dots.

図8の潜像マスク81、83は、「複写」という文言の潜像を形成し、潜像マスク81、83の各画素は、潜像部の領域と背景部の領域とを区別可能な情報を有する。例えば、地紋効果を浮き出しにする場合、潜像部は黒、背景部は白を示す情報を有し、「複写」の文言に当たる潜像の領域は潜像部、潜像の周辺の領域は背景部に設定される。地紋効果を白抜きにする場合、反対に、「複写」の文言に当たる潜像の領域は背景部、潜像の周辺の領域は潜像部に設定される。   The latent image masks 81 and 83 in FIG. 8 form a latent image of the word “copy”, and each pixel of the latent image masks 81 and 83 is information that can distinguish the latent image area from the background area. Have For example, when embossing the tint block effect, the latent image portion has information indicating black and the background portion indicates white, the area of the latent image corresponding to the word “copy” is the latent image portion, and the area around the latent image is the background. Set to When the tint block effect is outlined, the latent image area corresponding to the word “copy” is set as the background area, and the area around the latent image is set as the latent image area.

ディザマトリクスの配置図84は、潜像マスク(カモフラージュ模様無)83の左上端部領域を拡大したものである。潜像ディザマトリクス85は、18×18ドットのマトリクスであり、潜像マスク83の左上位置から順にタイル状に並べられたように各画素に対応する。背景ディザマトリクス86は、16×16ドットのマトリクスであり、同様に、潜像マスク83の左上位置から順にタイル状に並べられたように各画素に対応する。   The dither matrix layout diagram 84 is an enlargement of the upper left end region of the latent image mask (no camouflage pattern) 83. The latent image dither matrix 85 is a matrix of 18 × 18 dots, and corresponds to each pixel so as to be arranged in a tile shape in order from the upper left position of the latent image mask 83. The background dither matrix 86 is a 16 × 16 dot matrix, and similarly corresponds to each pixel so as to be arranged in a tile shape in order from the upper left position of the latent image mask 83.

地紋画像データの各画素は、潜像マスク83に基づいて、当画素が潜像部に当たる場合は潜像ディザマトリクス85、背景部に当たる場合は背景ディザマトリクス86の対応する各セルの閾値と比較され、ドットのON/OFFが決定される。   Based on the latent image mask 83, each pixel of the copy-forgery-inhibited pattern image data is compared with the threshold value of each corresponding cell in the latent image dither matrix 85 when the pixel hits the latent image portion and when the pixel hits the background portion. , ON / OFF of the dot is determined.

潜像マスク(カモフラージュ模様有)81は、カモフラージュ模様を合成する場合の潜像マスクであり、カモフラージュマスク82との位置関係が示されている。カモフラージュマスク82の画素数は、この例では、横210×縦210ドットであり、カモフラージュマスク82の各画素は、カモフラージュ模様の領域とそれ以外の領域とを区別可能な情報を有し、例えば、カモフラージュ模様の領域は黒、それ以外の領域は白を示す情報を有する。   A latent image mask (with a camouflage pattern) 81 is a latent image mask when a camouflage pattern is synthesized, and the positional relationship with the camouflage mask 82 is shown. In this example, the number of pixels of the camouflage mask 82 is 210 × 210 dots, and each pixel of the camouflage mask 82 has information capable of distinguishing a camouflage pattern region from other regions. The camouflage pattern area has information indicating black, and the other areas have information indicating white.

本例におけるカモフラージュ模様のデータは2値の画像データであるが、カラーまたは多値階調の画像データである場合もある。カラーのカモフラージュ模様データの場合、まず、各画素における複数色の階調値データをグレイの多階調値データに変換する。RGBの多階調のカモフラージュ模様のデータでは、階調値0(黒)に近いほど出力濃度が低く、階調値255(白)に近いほど出力濃度が高いことを示す。そこで、当該階調値を最大階調値(255)で除算し、それに、カモフラージュ模様を付加しない地紋の出力濃度を乗算して、カモフラージュ模様のデータの階調値を補正する。つまり、カモフラージュ模様データにおける当画素の階調値が255(白)の場合、出力階調値はカモフラージュ模様を付加しない地紋と同じとなり、階調値が0の場合、出力階調値は0となりドットは形成されない。これにより、多階調のカモフラージュ模様が形成される。   The camouflage pattern data in this example is binary image data, but it may be color or multilevel gradation image data. In the case of color camouflage pattern data, first, the gradation value data of a plurality of colors in each pixel is converted into gray gradation value data. In the RGB multi-grayscale camouflage pattern data, the closer to the gradation value 0 (black), the lower the output density, and the closer to the gradation value 255 (white), the higher the output density. Therefore, the gradation value of the camouflage pattern data is corrected by dividing the gradation value by the maximum gradation value (255) and multiplying it by the output density of the background pattern to which no camouflage pattern is added. In other words, when the gradation value of this pixel in the camouflage pattern data is 255 (white), the output gradation value is the same as the background pattern to which no camouflage pattern is added, and when the gradation value is 0, the output gradation value is 0. Dots are not formed. Thereby, a multi-tone camouflage pattern is formed.

カモフラージュマスク82の左上端部領域を拡大したものが、ディザマトリクスの配置図84である。地紋画像データの各画素は、カモフラージュマスク82に基づいて、当画素がカモフラージュ模様の領域に当たる場合はドットがOFFに設定される。カモフラージュ模様の領域に当たらない画素については、潜像マスク81に基づいて、当画素が潜像部に当たる場合は潜像ディザマトリクス85、背景部に当たる場合は背景ディザマトリクス86に対応する各セルの閾値と比較され、ドットのON/OFFが決定される。   A dither matrix layout 84 is an enlarged view of the upper left end region of the camouflage mask 82. For each pixel of the copy-forgery-inhibited pattern image data, based on the camouflage mask 82, when the pixel hits a camouflage pattern region, the dot is set to OFF. For pixels that do not fall within the camouflage pattern area, based on the latent image mask 81, the threshold value of each cell corresponding to the latent image dither matrix 85 when the pixel hits the latent image portion and the background dither matrix 86 when the pixel hits the background portion. And ON / OFF of the dot is determined.

印刷サイズ(A4)の地紋画像80から見てとれるように、印刷サイズの地紋画像(A4)80は、「複写」という潜像を構成する潜像マスク81、83が繰り返し配置され、構成されている。   As can be seen from the print size (A4) copy-forgery-inhibited pattern image 80, the print-size copy-forgery-inhibited pattern image (A4) 80 is configured by repeatedly arranging latent image masks 81 and 83 constituting a latent image "copy". Yes.

任意の潜像やカモフラージュ模様の利用をユーザーに許容することは、地紋の利用促進に有効である。そのような場合、潜像マスクやカモフラージュマスクのサイズはまちまちになり、潜像マスクの横・縦の各画素数は、潜像ディザマトリクスおよび背景ディザマトリクスの横・縦の画素数の倍数と必ずしも一致しないことがある。そのため、潜像マスクのサイズの地紋画像データ(以下、単位地紋画像データ)を生成すると、その端部領域において、ディザマトリクスが途切れてしまう。これにより、当該単位地紋画像データを繰り返し使用して配置させ、印刷サイズの地紋画像を生成した場合、単位地紋画像の境界領域において、当該ディザマトリクスによって形成される網点パターンが不連続となり単位地紋画像の境界が顕在化してしまう。   Allowing a user to use an arbitrary latent image or camouflage pattern is effective in promoting the use of a background pattern. In such a case, the size of the latent image mask and the camouflage mask varies, and the number of horizontal and vertical pixels of the latent image mask is not necessarily a multiple of the number of horizontal and vertical pixels of the latent image dither matrix and the background dither matrix. May not match. For this reason, when copy-forgery-inhibited pattern image data having the size of the latent image mask (hereinafter referred to as unit copy-forgery-inhibited pattern image data) is generated, the dither matrix is interrupted in the end region. As a result, when the unit copy-forgery-inhibited pattern image data is repeatedly arranged and generated to generate a print-sized copy-forgery-inhibited pattern image, the halftone dot pattern formed by the dither matrix becomes discontinuous in the boundary region of the unit copy-forgery-inhibited pattern image. The boundary of the image becomes obvious.

カモフラージュマスクについても同様に、潜像マスクの横・縦の各画素数がカモフラージュマスクの横・縦の画素数の倍数と一致しない場合、潜像マスクのサイズの単位地紋画像データを生成すると、その端部領域において、カモフラージュマスクが途切れてしまう。これにより、当該単位地紋画像データを繰り返し使用して配置させ、印刷サイズの地紋画像を生成した場合、単位地紋画像の境界領域において、カモフラージュ模様が不連続となり単位地紋画像の境界が顕在化してしまう。   Similarly, for camouflage masks, if the number of horizontal and vertical pixels of the latent image mask does not match the multiple of the horizontal and vertical number of pixels of the camouflage mask, generating unit copy-forgery-inhibited pattern image data of the size of the latent image mask In the end region, the camouflage mask is interrupted. Accordingly, when the unit background pattern image data is repeatedly used and arranged to generate a print size background pattern image, the camouflage pattern becomes discontinuous in the boundary region of the unit background pattern image, and the boundary of the unit background pattern image becomes apparent. .

図9は、カモフラージュ模様を合成しない場合の単位地紋画像データの端部領域を表す図である。潜像マスク(左上部分)92は、潜像マスク91の左上端部領域を、潜像マスク(左下部分)94は、左下端部領域を拡大したものであり、背景ディザマトリクス93との対応関係を表している。   FIG. 9 is a diagram illustrating an end area of unit tint block image data when a camouflage pattern is not combined. The latent image mask (upper left portion) 92 is an enlargement of the upper left end region of the latent image mask 91, and the latent image mask (lower left portion) 94 is an enlarged view of the lower left end portion region, and is associated with the background dither matrix 93. Represents.

この場合、潜像マスクの横方向の画素数「2080」は、背景ディザマトリクスの横方向の画素数「16」の倍数に一致するが(2080÷16=13)、縦方向の画素数「2040」は、背景ディザマトリクスの縦方向の画素数「16」の倍数に一致しない(2040÷16=127.5)。そのため、背景ディザマトリクス93を潜像マスク91の左上位置から順にタイル状に並べるように対応させると、潜像マスク(左下部分)94における単位地紋画像の境界領域95において、背景ディザマトリクス93が途切れてしまう。   In this case, the horizontal pixel number “2080” of the latent image mask matches a multiple of the horizontal pixel number “16” of the background dither matrix (2080 ÷ 16 = 13), but the vertical pixel number “2040”. "Does not match a multiple of" 16 "in the vertical direction of the background dither matrix (2040/16 = 127.5). Therefore, if the background dither matrix 93 is arranged so as to be tiled in order from the upper left position of the latent image mask 91, the background dither matrix 93 is interrupted in the boundary area 95 of the unit background pattern image in the latent image mask (lower left portion) 94. End up.

図10は、カモフラージュ模様を合成する場合の単位地紋画像データの端部領域を表す図である。潜像マスク(左下部分)102は、潜像マスク101の左下端部領域を拡大したものであり、背景ディザマトリクス103との対応関係を表している。図9と同様に、潜像マスクの縦方向の画素数が背景ディザマトリクスの縦方向の画素数の倍数に一致しないため、潜像マスク(左下部分)102における単位地紋画像の境界領域104において、背景ディザマトリクス103が途切れてしまう。   FIG. 10 is a diagram illustrating an end region of unit copy-forgery-inhibited pattern image data when a camouflage pattern is synthesized. The latent image mask (lower left portion) 102 is an enlargement of the lower left end area of the latent image mask 101 and represents a correspondence relationship with the background dither matrix 103. As in FIG. 9, since the number of pixels in the vertical direction of the latent image mask does not match a multiple of the number of pixels in the vertical direction of the background dither matrix, in the boundary area 104 of the unit tint block image in the latent image mask (lower left part) 102, The background dither matrix 103 is interrupted.

また、カモフラージュマスク106については、潜像マスク101の横方向の画素数「2080」は、カモフラージュマスク102の横方向の画素数「210」の倍数ではなく(2080÷210=9.904)、縦方向の画素数「2040」もまた、カモフラージュマスクの縦方向の画素数「210」の倍数ではない(2040÷210=9.714)。そのため、カモフラージュマスク102を潜像マスク101の左上位置から順にタイル状に並べるように対応させると、単位地紋画像の境界領域107において、カモフラージュマスク106が途切れてしまう。   For the camouflage mask 106, the horizontal pixel number “2080” of the latent image mask 101 is not a multiple of the horizontal pixel number “210” of the camouflage mask 102 (2080 ÷ 210 = 9.904). The number of pixels in the direction “2040” is also not a multiple of the number of pixels in the vertical direction of the camouflage mask “210” (2040 ÷ 210 = 9.714). Therefore, when the camouflage mask 102 is arranged so as to be tiled in order from the upper left position of the latent image mask 101, the camouflage mask 106 is interrupted in the boundary area 107 of the unit background pattern image.

そのため、潜像マスクとカモフラージュマスクとディザマトリクスとのサイズが整合していない場合は、印刷サイズ(A4)全体の地紋画像データを生成する必要がある。   Therefore, when the sizes of the latent image mask, the camouflage mask, and the dither matrix do not match, it is necessary to generate copy-forgery-inhibited pattern image data for the entire print size (A4).

特許文献1には、背景閾値パターン(地紋画像の背景部を構成する2値画像)、潜像閾値パターン(地紋画像の潜像部を構成する2値画像)、潜像マスク、カモフラージュマスクの横・縦それぞれの画素数の最小公倍数を算出し、縦・横それぞれの最小公倍数の画素数で構成される最小単位の地紋画像データを生成し、当該最小単位の地紋画像データを、入力画像の大きさにタイル状に繰り返し並べることが記載されている。   Patent Document 1 discloses a background threshold pattern (binary image constituting a background portion of a tint block image), a latent image threshold pattern (binary image constituting a latent image portion of a tint block image), a latent image mask, and a camouflage mask.・ Calculates the least common multiple of the number of pixels in the vertical direction, generates the minimum unit copy-forgery-inhibited pattern image data composed of the number of pixels in the vertical and horizontal minimum common multiples. In addition, it is described that tiles are repeatedly arranged.

しかし、特許文献1では、潜像マスクやカモフラージュマスクが任意のサイズを有する場合、最小公倍数は必ずしも小さくならず、最小単位の地紋画像が印刷サイズ(A4)を超えることが予想される。   However, in Patent Document 1, when the latent image mask or the camouflage mask has an arbitrary size, the least common multiple is not necessarily small, and the copy-forgery-inhibited pattern image in the minimum unit is expected to exceed the print size (A4).

そこで、本発明の目的は、単位地紋画像のサイズを小さく抑えて、地紋画像データの生成処理を短縮する画像処理プログラムを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide an image processing program that reduces the size of a unit background pattern image and shortens the generation process of the background pattern image data.

上記の目的を達成するために、本発明の第1の側面によれば、複写時に出力濃度に差が生じる潜像部と背景部とを含む地紋画像を印刷媒体上に形成するための地紋画像データを生成する画像処理をコンピューターに実行させる画像処理プログラムにおいて、前記画像処理は、前記潜像部と前記背景部とにより形成される潜像を規定する潜像マスクであって、各画素に前記潜像部または前記背景部の何れかを示す情報を有する前記潜像マスクを取得する潜像マスク取得工程と、前記取得した潜像マスクのサイズを、前記潜像部の画像データ生成時に参照される潜像ディザマトリクスまたは前記背景部の画像データ生成時に参照される背景ディザマトリクスの倍数サイズに補正して補正潜像マスクを生成する潜像マスク補正工程と、前記補正潜像マスクと、前記潜像ディザマトリクスと、前記背景ディザマトリクスとに基づいて画素毎の画像データを生成し、前記補正潜像マスクのサイズに対応する単位地紋画像データを生成する単位地紋画像生成工程とを有する。   In order to achieve the above object, according to a first aspect of the present invention, a tint block image for forming a tint block image including a latent image portion and a background portion that cause a difference in output density during copying on a print medium. In the image processing program for causing a computer to execute image processing for generating data, the image processing is a latent image mask that defines a latent image formed by the latent image portion and the background portion, and each pixel has the latent image mask. The latent image mask acquisition step for acquiring the latent image mask having information indicating either the latent image portion or the background portion, and the size of the acquired latent image mask are referred to when generating the image data of the latent image portion. Latent image dither matrix or a latent image mask correcting step for generating a corrected latent image mask by correcting to a multiple size of a background dither matrix referred to when generating image data of the background portion, and the corrected latent image A unit copy-forgery-inhibited pattern image generation step for generating image data for each pixel based on a mask, the latent image dither matrix, and the background dither matrix, and generating unit copy-forgery-inhibited pattern image data corresponding to the size of the corrected latent image mask; Have

この態様によれば、潜像ディザマトリクスまたは背景ディザマトリクスのサイズの倍数に一致するように、潜像マスクのサイズを補正し、補正した潜像マスクのサイズに対応した単位地紋画像データを生成するため、単位地紋画像データのサイズを小さく抑えることができる。また、印刷サイズの地紋画像データではなく、単位地紋画像データを生成すればよいため、地紋画像データの生成処理にかかる時間を大幅に短縮することができ、また、地紋画像データの保存に要するメモリーを節約することができる。   According to this aspect, the size of the latent image mask is corrected so as to match a multiple of the size of the latent image dither matrix or the background dither matrix, and unit copy-forgery-inhibited pattern image data corresponding to the corrected latent image mask size is generated. Therefore, the size of the unit background pattern image data can be suppressed to be small. In addition, since it is only necessary to generate unit background pattern image data instead of print size background pattern image data, the time required for the generation of the background pattern image data can be greatly reduced, and the memory required for storing the background pattern image data can be reduced. Can be saved.

上記の第1の側面において好ましい態様によれば、さらに、前記潜像マスク補正工程は、前記潜像の領域を前記潜像部とし前記潜像の周辺の領域を前記背景部とする第1の潜像マスクの場合は前記背景ディザマトリクスの倍数サイズに、前記潜像の領域を前記背景部とし前記潜像の周辺の領域を前記潜像部とする第2の潜像マスクの場合は前記潜像ディザマトリクスの倍数サイズに、前記潜像マスクのサイズを補正する。   According to a preferable aspect in the first aspect, the latent image mask correction step further includes a first area in which the area of the latent image is the latent image portion and the area around the latent image is the background portion. In the case of a latent image mask, the latent dither matrix is set to a multiple of the background dither matrix. In the case of a second latent image mask, the latent image region is the background portion and the peripheral region of the latent image is the latent image portion. The size of the latent image mask is corrected to a multiple of the image dither matrix.

この態様によれば、単位地紋画像の境界領域において隣接する領域に対応するディザマトリクスのサイズの倍数に一致するように潜像マスクのサイズを補正するため、単位地紋画像の境界領域において、当該ディザマトリクスが途切れることがない。これにより、単位地紋画像の境界領域において、隣接する網点パターンが不連続となり単位地紋画像の境界が顕在化することを防ぐことができる。   According to this aspect, since the size of the latent image mask is corrected so as to be a multiple of the dither matrix size corresponding to the adjacent region in the boundary region of the unit background pattern image, The matrix is not interrupted. Thereby, it is possible to prevent the adjacent halftone dot pattern from becoming discontinuous in the boundary area of the unit background pattern image and the boundary of the unit background pattern image from becoming obvious.

上記の第1の側面において好ましい態様によれば、さらに、前記潜像マスク補正工程は、前記第1の潜像マスクの場合は前記潜像マスクにおける前記背景部の領域を、前記第2の潜像マスクの場合は前記潜像マスクにおける前記潜像部の領域を拡大して、前記潜像マスクのサイズを補正する。   According to a preferred aspect of the first aspect, the latent image mask correction step further includes the step of changing the background area of the latent image mask to the second latent image mask in the case of the first latent image mask. In the case of an image mask, the area of the latent image portion in the latent image mask is enlarged to correct the size of the latent image mask.

この態様によれば、潜像の周辺の領域部分についてのみ拡大することにより、ユーザーまたはプリンタードライバー等によって指定された潜像自体のサイズを維持でき、また、潜像を拡大することによる潜像のゆがみ等を防止できる。   According to this aspect, it is possible to maintain the size of the latent image itself specified by the user or the printer driver by enlarging only the peripheral area portion of the latent image, and also to increase the latent image by enlarging the latent image. Distortion can be prevented.

上記の第1の側面において好ましい態様によれば、さらに、前記地紋画像に合成されるカモフラージュ模様画像を構成し、各画素についてカモフラージュ模様画像の画像データを有するカモフラージュマスクを取得するカモフラージュマスク取得工程を有し、前記潜像マスク補正工程は、前記潜像マスクのサイズを、前記潜像ディザマトリクスまたは前記背景ディザマトリクスに加えて、前記取得したカモフラージュマスクの倍数サイズに補正し、前記単位地紋画像生成工程は、前記補正潜像マスクに加えて、前記取得したカモフラージュマスクに基づいて前記単位地紋画像データを生成する。   According to a preferred embodiment of the first aspect, a camouflage mask obtaining step of obtaining a camouflage mask having a camouflage pattern image synthesized with the tint block image and having image data of the camouflage pattern image for each pixel is further provided. The latent image mask correction step corrects the size of the latent image mask to a multiple size of the acquired camouflage mask in addition to the latent image dither matrix or the background dither matrix, and generates the unit background pattern image. The step generates the unit tint block image data based on the acquired camouflage mask in addition to the corrected latent image mask.

この態様によれば、カモフラージュ模様を合成する場合であっても、単位地紋画像の境界領域において、当該ディザマトリクス、およびカモフラージュマスクが途切れないため、ディザマトリクスによって形成される網点パターンおよびカモフラージュ模様が不連続となり単位地紋画像の境界が顕在化することを防ぐことができる。   According to this aspect, even when the camouflage pattern is synthesized, the dither matrix and the camouflage mask are not interrupted in the boundary region of the unit background pattern image, so that the halftone dot pattern and the camouflage pattern formed by the dither matrix are It is possible to prevent the boundary of the unit background pattern image from becoming discontinuous and becoming obvious.

上記の第1の側面において好ましい態様によれば、さらに、前記取得した前記カモフラージュマスクのサイズを、前記潜像ディザマトリクスまたは前記背景ディザマトリクスの倍数サイズに補正して補正カモフラージュマスクを生成するカモフラージュマスク補正工程を有し、前記潜像マスク補正工程は、前記潜像マスクのサイズを、前記補正カモフラージュマスクの倍数サイズに補正し、前記単位地紋画像生成工程は、前記補正潜像マスクに加えて、前記補正カモフラージュマスクに基づいて前記単位地紋画像データを生成する。   According to a preferred aspect of the first aspect, the camouflage mask further generates a corrected camouflage mask by correcting the acquired camouflage mask size to a multiple of the latent image dither matrix or the background dither matrix. The latent image mask correction step corrects the size of the latent image mask to a multiple of the correction camouflage mask, and the unit tint block image generation step includes the correction latent image mask. The unit tint block image data is generated based on the correction camouflage mask.

この態様によれば、ディザマトリクスのサイズの倍数に一致するようにカモフラージュマスクのサイズを補正し、補正したカモフラージュマスクのサイズの倍数に一致するように潜像マスクのサイズを補正するため、単位地紋画像の境界領域において、当該ディザマトリクスによって形成される網点パターンが不連続となり単位地紋画像の境界が顕在化することを防ぐことができる。また、カモフラージュマスクの隣接領域において、当該ディザマトリクスによって形成させる網点パターンを連続させることができる。   According to this aspect, the size of the camouflage mask is corrected to match a multiple of the dither matrix size, and the latent image mask size is corrected to match the multiple of the corrected camouflage mask size. In the boundary area of the image, it is possible to prevent the dot pattern formed by the dither matrix from becoming discontinuous and revealing the boundary of the unit background pattern image. Moreover, the halftone dot pattern formed by the dither matrix can be continued in the adjacent region of the camouflage mask.

上記の第1の側面において好ましい態様によれば、さらに、前記カモフラージュマスク補正工程は、前記潜像の領域を前記潜像部とし前記潜像の周辺の領域を前記背景部とする第1の潜像マスクの場合は前記背景ディザマトリクスの倍数サイズに、前記潜像の領域を前記背景部とし前記潜像の周辺の領域を前記潜像部とする第2の潜像マスクの場合は前記潜像ディザマトリクスの倍数サイズに、前記カモフラージュマスクのサイズを補正する。   According to a preferable aspect in the first aspect, the camouflage mask correction step further includes a first latent image in which the latent image region is the latent image portion and the peripheral region of the latent image is the background portion. In the case of an image mask, the latent image has a size that is a multiple of the background dither matrix, and in the case of the second latent image mask, the latent image area is the background portion and the peripheral area of the latent image is the latent image portion. The size of the camouflage mask is corrected to a multiple size of the dither matrix.

この態様によれば、単位地紋画像の境界領域において隣接する領域に対応するディザマトリクスのサイズの倍数に一致するようにカモフラージュマスクのサイズを補正し、補正したカモフラージュマスクのサイズの倍数に一致するように潜像マスクのサイズを補正するため、単位地紋画像の境界領域において、隣接する網点パターンが不連続となり単位地紋画像の境界が顕在化することを防ぐことができる。また、カモフラージュマスクの隣接領域において、当該ディザマトリクスによって形成させる網点パターンを連続させることができる。   According to this aspect, the size of the camouflage mask is corrected so as to match a multiple of the size of the dither matrix corresponding to the adjacent area in the boundary area of the unit tint block image, so that it matches the multiple of the corrected camouflage mask size. In addition, since the size of the latent image mask is corrected, it is possible to prevent the adjacent halftone dot pattern from becoming discontinuous in the boundary region of the unit background pattern image, and the boundary of the unit background pattern image from becoming apparent. Moreover, the halftone dot pattern formed by the dither matrix can be continued in the adjacent region of the camouflage mask.

上記の第1の側面において好ましい態様によれば、さらに、前記カモフラージュマスク補正工程は、前記カモフラージュマスクのサイズを、前記カモフラージュマスクの横辺と縦辺のサイズ比率が維持されるように拡大または縮小して補正する。   According to a preferable aspect in the first aspect, the camouflage mask correction step further enlarges or reduces the size of the camouflage mask so that the size ratio of the horizontal side and the vertical side of the camouflage mask is maintained. To correct.

この態様によれば、補正後のカモフラージュマスクのサイズは、補正前のカモフラージュマスクの横・縦の比率が維持されるように補正されるため、カモフラージュマスクの補正処理によって発生するカモフラージュ模様のゆがみ等を抑えることができる。   According to this aspect, since the size of the camouflage mask after correction is corrected so that the horizontal / vertical ratio of the camouflage mask before correction is maintained, the camouflage pattern distortion generated by the camouflage mask correction processing, etc. Can be suppressed.

上記の第1の側面において好ましい態様によれば、さらに、前記潜像マスク取得工程は、前記潜像と、前記潜像の領域を前記潜像部とし前記潜像の周辺の領域を前記背景部とする第1の潜像マスクかまたは前記潜像の領域を前記背景部とし前記潜像の周辺の領域を前記潜像部とする第2の潜像マスクかの指定とを含む潜像情報に基づいて、前記潜像マスクを生成して取得する工程、または、予め生成された前記潜像マスクから選択し取得する工程のいずれかまたは両方を有する。   According to a preferable aspect in the first aspect, the latent image mask acquisition step further includes the latent image and the latent image area as the latent image portion, and the peripheral area of the latent image as the background portion. The latent image information including the designation of the first latent image mask or the second latent image mask having the latent image area as the background portion and the peripheral area of the latent image as the latent image portion. Based on this, either or both of a step of generating and acquiring the latent image mask and a step of selecting and acquiring from the latent image mask generated in advance are included.

この態様によれば、ユーザーやプリンタードライバー等によって入力された潜像情報に基づいて、潜像マスクを生成、または選択し、単位地紋画像データを生成することができる。   According to this aspect, it is possible to generate or select a latent image mask and generate unit tint block image data based on latent image information input by a user, a printer driver, or the like.

上記の第1の側面において好ましい態様によれば、さらに、前記カモフラージュマスク取得工程は、前記カモフラージュ模様画像を含むカモフラージュ模様情報に基づいて、前記カモフラージュマスクを生成して取得する工程、または、予め生成された前記カモフラージュマスクから選択し取得する工程のいずれかまたは両方を有する。   According to a preferable aspect in the first aspect, the camouflage mask acquisition step further includes a step of generating and acquiring the camouflage mask based on camouflage pattern information including the camouflage pattern image, or generating in advance One or both of selecting and obtaining from said camouflage mask.

この態様によれば、ユーザーやプリンタードライバー等によって入力されたカモフラージュ模様情報に基づいて、カモフラージュマスクを生成、または選択し、単位地紋画像データを生成することができる。   According to this aspect, it is possible to generate or select a camouflage mask based on camouflage pattern information input by a user, a printer driver, or the like, and generate unit tint block image data.

上記の第1の側面において好ましい態様によれば、さらに、前記単位地紋画像データは、印刷対象の画像データと前記地紋画像データとを合成する処理、または、印刷サイズの前記地紋画像データを生成する処理において、繰り返し使用される。   According to a preferred aspect of the first aspect, the unit background pattern image data further generates a print size copy-forgery-inhibited pattern image data or a process for combining the image data to be printed and the background pattern image data. Used repeatedly in processing.

地紋の潜像とカモフラージュ模様の例を示す図である。It is a figure which shows the example of a latent image of a tint block, and a camouflage pattern. 地紋の原本の例を示す図である。It is a figure which shows the example of the original copy-forgery-inhibited pattern. 地紋の複写物の例を示す図である。It is a figure which shows the example of the copy of a background pattern. 図2の原本の拡大図と図3の複写物の拡大図とを更に拡大した図である。FIG. 4 is a further enlarged view of the enlarged view of the original in FIG. 2 and the enlarged view of the copy in FIG. 3. 地紋効果の例を示す図である。It is a figure which shows the example of a tint block effect. 潜像ディザマトリクスとそれにより形成される潜像部の画像とを示す図である。It is a figure which shows a latent-image dither matrix and the image of the latent-image part formed by it. 背景ディザマトリクスとそれにより形成される背景部の画像とを示す図である。It is a figure which shows a background dither matrix and the image of the background part formed by it. 地紋画像データ生成処理を説明する図である。It is a figure explaining a tint block image data generation process. カモフラージュ模様を非合成時の単位地紋画像データの端部を表す図である。It is a figure showing the edge part of the unit copy-forgery-inhibited pattern image data at the time of non-synthesis | combination of a camouflage pattern. カモフラージュ模様を合成時の単位地紋画像データの端部を表す図である。It is a figure showing the edge part of the unit background pattern image data at the time of compositing a camouflage pattern. 本実施の形態における地紋画像形成装置の構成を示す図である。It is a figure which shows the structure of the tint block image forming apparatus in this Embodiment. 本実施の形態における地紋の生成方法を示すフローチャート図である。It is a flowchart figure which shows the generation method of the ground tint in this Embodiment. 単位地紋画像データの生成処理工程を表すフローチャート図であるIt is a flowchart figure showing the generation processing process of unit background pattern image data 潜像マスクのサイズの補正行程を表すフローチャート図である。It is a flowchart figure showing the correction process of the size of a latent image mask. カモフラージュ模様を非合成時の潜像マスクの補正処理を説明する図である。It is a figure explaining the correction process of the latent image mask at the time of non-synthesis | combination of a camouflage pattern. 地紋画像データの生成処理の詳細を説明するフローチャート図である。It is a flowchart figure explaining the detail of the production | generation process of a tint block image data. 単位地紋画像データの印刷までの処理を表すフローチャート図である。FIG. 6 is a flowchart showing processing up to printing unit background pattern image data. 単位地紋画像の配置例を表す図である。It is a figure showing the example of arrangement | positioning of a unit background pattern image. カモフラージュマスクの補正処理を説明する図である。It is a figure explaining the correction process of a camouflage mask. 潜像マスクの補正処理を説明する図である。It is a figure explaining the correction process of a latent image mask.

以下、図面にしたがって本発明の実施の形態について説明する。ただし、本発明の技術的範囲はこれらの実施の形態に限定されず、特許請求の範囲に記載された事項とその均等物まで及ぶものである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the technical scope of the present invention is not limited to these embodiments, but extends to the matters described in the claims and equivalents thereof.

図11は、本実施の形態における地紋画像形成装置を含む印刷システムの構成を示す図である。地紋画像形成装置は、ホストコンピューター30にインストールされているプリンタードライバー32と、潜像ディザマトリクス33と、背景ディザマトリクス34と、プリンター40とで構成される。   FIG. 11 is a diagram illustrating a configuration of a printing system including the tint block image forming apparatus according to the present embodiment. The copy-forgery-inhibited pattern image forming apparatus includes a printer driver 32 installed in a host computer 30, a latent image dither matrix 33, a background dither matrix 34, and a printer 40.

潜像ディザマトリクス33と背景ディザマトリクス34は、プリンターメーカーによって、記録媒体もしくはインターネット等のネットワーク回線を介してユーザーに配布されるプリンタードライバー32に含まれ、プリンタードライバー32をホストコンピューター30にインストールするときに、ホストコンピューター30内の記録媒体に保存される。   The latent image dither matrix 33 and the background dither matrix 34 are included in the printer driver 32 distributed to the user by a printer manufacturer via a recording medium or a network line such as the Internet. When the printer driver 32 is installed in the host computer 30 And stored in a recording medium in the host computer 30.

ホストコンピューター30は、CPUとRAMとアプリケーションプログラム31をさらに有し、アプリケーションプログラム31を実行して文字、イメージ、グラフィックスなどからなる画像データを生成する。   The host computer 30 further includes a CPU, a RAM, and an application program 31, and executes the application program 31 to generate image data composed of characters, images, graphics, and the like.

さらに、ホストコンピューター30は、ユーザーからの要求に応答して、プリンタードライバー32を実行して単位地紋画像データ37を生成する。そして、アプリケーション31が生成した画像データについて、ユーザーから印刷要求を受けると、プリンタードライバー32はプリンター装置40が解釈可能なプリンター制御言語に基づき、印刷対象の画像データ36の印刷ジョブデータを生成する。もし、印刷要求に、画像データ36に対して地紋データを付加することが含まれていた場合には、プリンタードライバー32は、画像データ36と単位地紋画像データ37とを含む印刷ジョブデータをプリンター40のインターフェイスIFに送信する。   Further, in response to a request from the user, the host computer 30 executes the printer driver 32 to generate unit copy-forgery-inhibited pattern image data 37. When a print request is received from the user for the image data generated by the application 31, the printer driver 32 generates print job data of the image data 36 to be printed based on a printer control language that can be interpreted by the printer device 40. If the print request includes adding copy-forgery-inhibited pattern data to the image data 36, the printer driver 32 sends print job data including the image data 36 and unit copy-forgery-inhibited pattern image data 37 to the printer 40. To the interface IF.

画像データ36は、例えば、ページ記述言語で記述されたデータ、プリンターの中間コードに展開されたデータ、または画素に展開したRGBのビットマップデータなど様々な形態をとりうる。   The image data 36 can take various forms, for example, data described in a page description language, data expanded in an intermediate code of a printer, or RGB bitmap data expanded in pixels.

単位地紋画像データ37は、潜像マスクのサイズに対応した地紋画像データであり、印刷サイズの地紋画像データの生成処理や、印刷サイズの画像データ36との合成処理において、繰り返し使用される。単位地紋画像データ37のサイズは、潜像マスクのサイズであることが望ましいが、潜像マスクの倍数サイズであってもよく、その場合でも当該単位地紋画像データ37を繰り返し使用することにより地紋画像データの生成処理を短縮することができる。   The unit copy-forgery-inhibited pattern image data 37 is copy-forgery-inhibited pattern image data corresponding to the size of the latent image mask, and is repeatedly used in the generation process of the print-size copy-forgery-inhibited pattern image data and the combination process with the print-size image data 36. The size of the unit background pattern image data 37 is preferably the size of the latent image mask, but may be a multiple of the latent image mask. In this case, the unit background pattern image data 37 is repeatedly used so that the background pattern image data 37 is repeatedly used. Data generation processing can be shortened.

また、単位地紋画像データ37は、例えば画素毎のドットの有無(ON/OFF)を示すデータで構成され、画素毎に0と1の2値で表現される。または、印刷対象の画像データがRGB各色8ビット階調値で表現される場合は、単位地紋画像データ37のドットの有無は、画素毎に色変換後の色がC、M、Kの各色の最大階調値に対応する値(0,255,255)、(255,0,255)、(0,0,0)と最小階調値に対応する値(255,255,255)として8ビットで表現してもよい。   The unit tint block image data 37 is composed of, for example, data indicating the presence / absence (ON / OFF) of dots for each pixel, and is expressed by binary values of 0 and 1 for each pixel. Alternatively, when the image data to be printed is represented by 8-bit gradation values for each color of RGB, the presence or absence of dots in the unit tint block image data 37 indicates that the color after color conversion is C, M, or K for each pixel. 8 bits as values (0, 255, 255), (255, 0, 255), (0, 0, 0) corresponding to the maximum gradation value and values (255, 255, 255) corresponding to the minimum gradation value It may be expressed as

一方、プリンター40は、画像を生成する印刷エンジン46と、受信した画像データ36と単位地紋画像データ37について所定の画像処理を行いさらに印刷エンジン42の制御を行うコントローラー41とを有する。コントローラー41のCPUは、画像形成プログラム42を実行して、受信した画像データ36から画素に展開したビットマップデータを生成する。受信した画像データ36がビットマップデータの形態であればそのビットマップデータがそのまま利用できる。   On the other hand, the printer 40 includes a print engine 46 that generates an image, and a controller 41 that performs predetermined image processing on the received image data 36 and unit background pattern image data 37 and further controls the print engine 42. The CPU of the controller 41 executes the image forming program 42 to generate bitmap data expanded into pixels from the received image data 36. If the received image data 36 is in the form of bitmap data, the bitmap data can be used as it is.

そして、合成部44は、画像データ36と単位地紋画像データ37とを合成する。具体的には、合成部44は、単位地紋画像データ37における地紋のドット有り、ドット無しの情報を、地紋の色の濃度最大値、濃度最小値に変換して、画像データ36と合成する。また、合成後の画像データがRGBの階調値データである場合、色変換ユニット43は、RGBからCMYKに階調値データを色変換する。   The combining unit 44 combines the image data 36 and the unit background pattern image data 37. Specifically, the composition unit 44 converts the information on the presence / absence of dots of the background pattern in the unit background pattern image data 37 into the maximum density value and the minimum density value of the background pattern color, and combines it with the image data 36. When the combined image data is RGB gradation value data, the color conversion unit 43 performs color conversion of the gradation value data from RGB to CMYK.

さらに、二値化ユニット45が地紋データ合成後の画像データのCMYKの階調値データを画素内のドットのデータに変換し、印刷エンジン46に出力する。その結果、印刷エンジン46は、アプリケーションプログラムにより生成された画像データと地紋画像データとを合成した画像を印刷媒体上に印刷する。これが地紋の原本である。   Further, the binarization unit 45 converts the CMYK gradation value data of the image data after the copy-forgery-inhibited pattern data composition into dot data in the pixel, and outputs it to the print engine 46. As a result, the print engine 46 prints an image obtained by combining the image data generated by the application program and the tint block image data on the print medium. This is the original copy of the background pattern.

図11の実施の形態では、ホストコンピューター30のプリンタードライバー32が、地紋画像生成プログラムにより、単位地紋画像データ37を生成している。ただし、変型例として、プリンタードライバー32が、地紋とカモフラージュ模様生成の指定をする印刷ジョブデータを生成し、プリンター40のコントローラー41が、当該印刷ジョブデータに基づいて潜像ディザマトリクスと背景ディザマトリクスとを使用して単位地紋画像データ37を生成してもよい。当該印刷ジョブデータは、複写時に消失するもしくは再現される文字やパターンの指定、地紋の濃度の指定、カモフラージュ模様の指定など、カモフラージュ模様付き地紋データ生成するために必要な情報を含むデータである。   In the embodiment of FIG. 11, the printer driver 32 of the host computer 30 generates unit background pattern image data 37 using a background pattern image generation program. However, as a modified example, the printer driver 32 generates print job data for designating generation of a tint block and a camouflage pattern, and the controller 41 of the printer 40 uses a latent image dither matrix, a background dither matrix, and a background dither matrix based on the print job data. The unit tint block image data 37 may be generated using. The print job data is data including information necessary for generating the copy-forgery-inhibited pattern data with a camouflage pattern, such as designation of characters or patterns that are lost or reproduced at the time of copying, designation of the density of the tint block, designation of the camouflage pattern.

また、別の形態として、ホストコンピューター30のプリンタードライバー32が、単位地紋画像データ37を繰り返し使用して配置し所定の印刷サイズの地紋画像データを生成し、印刷サイズの地紋画像データと画像データ36を含む印刷ジョブデータをプリンター40に送信してもよい。あるいは、プリンタードライバー32において画像データ36と単位地紋画像データ37とを合成し、合成した画像データを含む印刷ジョブデータをプリンター40に送信してもよい。   As another form, the printer driver 32 of the host computer 30 repeatedly uses the unit copy-forgery-inhibited pattern image data 37 to generate copy-forgery-inhibited pattern image data having a predetermined print size. May be sent to the printer 40. Alternatively, the printer driver 32 may combine the image data 36 and the unit copy-forgery-inhibited pattern image data 37 and send print job data including the combined image data to the printer 40.

[第1の実施の形態例]
本実施の形態例は、カモフラージュ模様を合成しない場合であって、プリンタードライバー32において単位地紋画像データ37を生成し、当該単位地紋画像データ37を画像データ36と共にプリンター40に送信し、プリンター40において単位地紋画像データ37と画像データ36とを合成して印刷する処理の流れを説明するものである。
[First Embodiment]
In this embodiment, the camouflage pattern is not synthesized, and the unit background pattern image data 37 is generated by the printer driver 32, the unit background pattern image data 37 is transmitted to the printer 40 together with the image data 36, and the printer 40 This is a description of the flow of processing for combining and printing unit copy-forgery-inhibited pattern image data 37 and image data 36.

図12は、本実施の形態における地紋の生成方法を示すフローチャート図である。ユーザーは、ホストコンピューター30のプリンタードライバー32において、地紋生成メニューを選択する。プリンタードライバー32は、図12のフローチャートに従って、地紋の設定を取得し、単位地紋画像データ37を生成する。   FIG. 12 is a flowchart showing a tint block generation method in the present embodiment. The user selects a tint block generation menu in the printer driver 32 of the host computer 30. The printer driver 32 acquires the background pattern setting according to the flowchart of FIG. 12 and generates unit background pattern image data 37.

まず、プリンタードライバー32は、地紋印刷の設定のためのユーザーインターフェイスをユーザーに提供する。プリンタードライバー32は、このユーザーインターフェイスを介して、ユーザーに文言や図を入力させ、潜像を取得する(S10)。文言とは、例えば、「複写」「コピー」「社外秘」などであり、図とは、複写禁止であることを想起させる図などである。この文言や図が地紋の潜像になる。   First, the printer driver 32 provides the user with a user interface for setting copy-forgery-inhibited pattern printing. The printer driver 32 obtains a latent image by allowing the user to input words and diagrams via the user interface (S10). The wording is, for example, “copying”, “copying”, “internal secrecy”, and the like, and the figure is a figure reminding that copying is prohibited. This wording or figure becomes a latent image of the background pattern.

さらに、ユーザーが入力した48ポイントなどの文言や図のサイズ、文言や図の角度、地紋効果の配置に対応し、プリンタードライバー32は文言や図のサイズ、文言や図の角度、地紋効果と地紋の配置を取得する(S11、S12、S13)。地紋の効果について、本実施の形態例においては、浮き出し効果を指定したものとする。また、地紋の配置とは、後述する正方配置、斜交配置、反転配置などを指す。   Furthermore, the printer driver 32 supports the wording and figure size such as 48 points inputted by the user, the angle of the wording and the figure, and the arrangement of the tint block effect. Is obtained (S11, S12, S13). As for the effect of the tint block, it is assumed that the embossing effect is designated in the present embodiment. In addition, the arrangement of the ground pattern refers to a square arrangement, a diagonal arrangement, a reverse arrangement, and the like, which will be described later.

工程S10〜S13によりユーザーによる入力または選択が終わると、プリンタードライバー32は潜像マスクを生成する(S14、S15、S16)。ユーザーがデフォルト設定を選択した場合は(S14のNO)、プリンタードライバー32は、予め用意された潜像マスクから、設定に基づいた潜像マスクを選択する(S16)。一方、ユーザーが独自に潜像を生成することを選択した場合は、プリンタードライバー32はその設定に基づいて潜像マスクを生成する(S15)。   When the input or selection by the user is completed in steps S10 to S13, the printer driver 32 generates a latent image mask (S14, S15, S16). When the user selects the default setting (NO in S14), the printer driver 32 selects a latent image mask based on the setting from the previously prepared latent image mask (S16). On the other hand, if the user selects to generate a latent image independently, the printer driver 32 generates a latent image mask based on the setting (S15).

次に、プリンタードライバー32は、カモフラージュ模様の選択を受け付ける(S17)。本実施の形態例では、カモフラージュ模様を合成しない(S17のNO)。カモフラージュ模様を合成する場合、ユーザーはカモフラージュ模様を選択する(S17のYES)。ユーザーがデフォルト設定を選択した場合は(S18のNO)、プリンタードライバー32は、予め用意されたカモフラージュマスクから、設定に基づいたカモフラージュマスクを選択する(S20)。一方、ユーザーが独自にカモフラージュ模様を指定した場合は、プリンタードライバー32は当該指定に基づいてカモフラージュマスクを生成する(S19)。   Next, the printer driver 32 receives selection of a camouflage pattern (S17). In the present embodiment, the camouflage pattern is not synthesized (NO in S17). When synthesizing a camouflage pattern, the user selects a camouflage pattern (YES in S17). When the user selects a default setting (NO in S18), the printer driver 32 selects a camouflage mask based on the setting from camouflage masks prepared in advance (S20). On the other hand, when the user designates a camouflage pattern independently, the printer driver 32 generates a camouflage mask based on the designation (S19).

次に、プリンタードライバー32は、ユーザーの選択要求に応じて、地紋の色(ブラック、シアン、マゼンタなど)の選択を促す(S21)。地紋の色は、単色であることが望ましい。   Next, the printer driver 32 prompts the user to select a tint block color (black, cyan, magenta, etc.) in response to a user selection request (S21). The tint block color is preferably a single color.

以上のユーザーによる入力などS10〜S21が終了して、プリンタードライバー32が地紋の情報を取得する。地紋の情報を取得後、プリンタードライバー32は、単位地紋画像データ37を生成する(S30)。   After S10 to S21 such as the above input by the user are completed, the printer driver 32 acquires the copy-forgery-inhibited pattern information. After acquiring the background pattern information, the printer driver 32 generates unit background pattern image data 37 (S30).

図13は、単位地紋画像データ37の生成処理工程を表すフローチャート図である。単位地紋画像データ37の生成処理工程は、潜像マスクおよび選択されたカモフラージュマスクのサイズの補正工程(S31)と、補正した潜像マスク、カモフラージュマスクに基づいた単位地紋画像データ37の生成処理工程(S32)からなる。本実施の形態例では、カモフラージュマスクを合成しないため、S31の工程においてカモフラージュマスクを補正しない。   FIG. 13 is a flowchart showing the generation processing steps of the unit background pattern image data 37. The unit copy-forgery-inhibited pattern image data 37 is generated by a process for correcting the size of the latent image mask and the selected camouflage mask (S31), and a process for generating the unit copy-forgery-inhibited pattern image data 37 based on the corrected latent image mask and camouflage mask. (S32). In the present embodiment, since no camouflage mask is synthesized, the camouflage mask is not corrected in step S31.

図14は、潜像マスクのサイズの補正工程を表すフローチャート図である。プリンタードライバー32は、はじめに、カモフラージュ模様を合成するかどうか判定する(S3101)。本実施の形態例では、カモフラージュ模様を合成しないため、S3101でNOと判定され、次に、地紋効果が浮き出しかどうか判定する(S3102)。   FIG. 14 is a flowchart showing a process for correcting the size of the latent image mask. First, the printer driver 32 determines whether to synthesize a camouflage pattern (S3101). In the present embodiment, since no camouflage pattern is synthesized, it is determined NO in S3101, and then it is determined whether the tint block effect is raised (S3102).

地紋効果が浮き出しの場合は(S3102のYES)、潜像マスクにおいて潜像部は背景部に囲まれているため、単位地紋画像の境界領域において潜像部は隣接しない。そのため、単位地紋画像の境界領域で隣接する単位地紋画像内において背景部の網点パターンが連続するように、潜像マスクの横・縦の画素数(サイズ)を背景ディザマトリクスの横・縦の画素数(サイズ)の倍数に補正する(S3103)。一方、地紋効果が白抜きの場合は(S3102のNO)、単位地紋画像の境界領域で隣接する単位地紋画像内において潜像部の網点パターンが連続するように、潜像マスクの横・縦の画素数を潜像ディザマトリクスの横・縦の画素数の倍数に補正する(S3104)。   When the tint block effect is raised (YES in S3102), the latent image portion is not adjacent to the boundary region of the unit tint block image because the latent image portion is surrounded by the background portion in the latent image mask. Therefore, the horizontal and vertical pixel numbers (sizes) of the latent image mask are set to the horizontal and vertical sizes of the background dither matrix so that the background halftone dot pattern is continuous in the unit ground pattern image adjacent to the boundary area of the unit background pattern image. Correction is made to a multiple of the number of pixels (size) (S3103). On the other hand, when the tint block effect is white (NO in S3102), the latent image mask is horizontally / vertically aligned so that the halftone dot pattern of the latent image portion is continuous in the unit tint block image adjacent to the boundary region of the unit tint block image. Is corrected to a multiple of the number of horizontal and vertical pixels of the latent image dither matrix (S3104).

潜像マスクのサイズを、ディザマトリクスのサイズの倍数に補正する処理(S3103、S3104)は、次のように行われる。   The process of correcting the size of the latent image mask to a multiple of the dither matrix size (S3103, S3104) is performed as follows.

はじめに、潜像マスクの横・縦それぞれの補正サイズを算出する。潜像マスクの補正サイズを求める計算式は以下の通りであり、ディザマトリクスのサイズの倍数であって、補正前の潜像マスクのサイズに近い値が算出される。また、この計算式では、補正前と同じか大きい値が算出されるが、これは潜像マスクが縮小されることにより、潜像が一部欠けるなど潜像が判別し難くなることを防ぐためである。そのため、潜像が判別可能な範囲で縮小されても良い。   First, the horizontal and vertical correction sizes of the latent image mask are calculated. The calculation formula for obtaining the correction size of the latent image mask is as follows, and is a multiple of the dither matrix size and a value close to the size of the latent image mask before correction. In this calculation formula, a value equal to or larger than that before correction is calculated. This is to prevent the latent image from becoming difficult to discriminate due to the latent image mask being reduced, for example, part of the latent image is missing. It is. Therefore, the image may be reduced within a range where the latent image can be discriminated.

式中のSecM_xは補正前の潜像マスクの画素数、SecM_x‘は補正潜像マスクの画素数、Dth_xはディザマトリクスの画素数である。また、MOD(*)は余りを求める演算式、INT(*)は切り捨て処理の表す演算式である。なお、補正サイズを求める式は、横・縦方向ともに同じである。   In the equation, SecM_x is the number of pixels of the latent image mask before correction, SecM_x 'is the number of pixels of the corrected latent image mask, and Dth_x is the number of pixels of the dither matrix. MOD (*) is an arithmetic expression for calculating the remainder, and INT (*) is an arithmetic expression representing a truncation process. The formula for obtaining the correction size is the same in both the horizontal and vertical directions.

MOD(SecM_x/Dth_x)= 0の場合
SecM_x‘=SecM_x
MOD(SecM_x/Dth_x)≠ 0の場合
SecM_x‘={INT(SecM_x/Dth_x)+1.0}×Dth_x
上記の計算式では、潜像マスクのサイズをディザマトリクスのサイズで除算した余りが0の場合、潜像マスクのサイズは既にディザマトリクスのサイズの倍数に一致するため、サイズを補正しない。一方、当該除算した余りが0でない場合、つまり潜像マスクのサイズがディザマトリクスのサイズの倍数に一致しない場合、潜像マスクのサイズをディザマトリクスのサイズで除算した値を切り上げ、当該値にディザマトリクスのサイズを乗算した値を補正サイズとしている。このため、上述したように、上記の計算式では補正前と同じか大きい値が算出される。
When MOD (SecM_x / Dth_x) = 0, SecM_x ′ = SecM_x
When MOD (SecM_x / Dth_x) ≠ 0 SecM_x ′ = {INT (SecM_x / Dth_x) +1.0} × Dth_x
In the above calculation formula, when the remainder obtained by dividing the size of the latent image mask by the size of the dither matrix is 0, the size of the latent image mask already matches a multiple of the size of the dither matrix, so the size is not corrected. On the other hand, when the remainder after division is not 0, that is, when the size of the latent image mask does not match a multiple of the size of the dither matrix, the value obtained by dividing the size of the latent image mask by the size of the dither matrix is rounded up, A value obtained by multiplying the matrix size is used as a correction size. For this reason, as described above, in the above calculation formula, a value equal to or larger than that before the correction is calculated.

図15は、カモフラージュ模様を合成しない場合の潜像マスクの補正処理を説明する図である。補正前の潜像マスク150は、横2080×縦2040ドットの画素を有し、背景ディザマトリクス153は、横16×縦16ドットの画素を有する。地紋効果は浮き出し効果であり(S3102のYES)、潜像マスクにおいて潜像の周辺の領域には背景ディザマトリクスが適用されるため、潜像マスクのサイズを、背景ディザマトリクスのサイズの倍数であって、補正前の潜像マスクのサイズに近い値に補正する(S3103)。   FIG. 15 is a diagram for explaining a latent image mask correction process when a camouflage pattern is not combined. The latent image mask 150 before correction has pixels of horizontal 2080 × vertical 2040 dots, and the background dither matrix 153 has pixels of horizontal 16 × vertical 16 dots. The copy-forgery-inhibited pattern effect is a relief effect (YES in S3102), and since the background dither matrix is applied to the area around the latent image in the latent image mask, the size of the latent image mask is a multiple of the size of the background dither matrix. Thus, it is corrected to a value close to the size of the latent image mask before correction (S3103).

潜像マスクの横方向について上記計算式に当てはめると、MOD(2080/16)=0 であり、補正サイズは「2080」のままとなる。同様にして、縦方向について計算式に当てはめると、MOD(2040/16)≠0であるため、左側の補正前の潜像マスク150、151では、背景ディザマトリクス152が途切れてしまう。よって、{INT(2040/16)+1.0}×16 を演算し、補正サイズ「2048」が算出される。この結果、補正後の潜像マスクの画素数は横2080×縦2048ドットに決定される。これにより、右側の補正後の潜像マスク154、157では、背景ディザマトリクス158は途切れることはない。   When applied to the calculation formula in the horizontal direction of the latent image mask, MOD (2080/16) = 0, and the correction size remains “2080”. Similarly, when applied to the calculation formula in the vertical direction, since MOD (2040/16) ≠ 0, the background dither matrix 152 is interrupted in the latent image masks 150 and 151 on the left before correction. Therefore, {INT (2040/16) +1.0} × 16 is calculated to calculate the correction size “2048”. As a result, the number of pixels of the corrected latent image mask is determined to be horizontal 2080 × vertical 2048 dots. As a result, the background dither matrix 158 is not interrupted in the corrected latent image masks 154 and 157 on the right side.

次に、算出した補正サイズに基づいて、潜像マスクを補正する。この場合、横2080×縦2040ドットから横2080×縦2048ドットに、潜像マスクを縦方向に8画素分拡大する。拡大の方法としてはニアレストレイバー法等があるが、望ましくは、潜像の周辺の領域部分を拡大することにより、潜像自体のサイズを変えずに潜像マスクを拡大する。これにより、指定された潜像自体のサイズを維持でき、ユーザーの指定を尊重することができる。また、潜像を拡大することによる潜像のゆがみ等を防止できる。   Next, the latent image mask is corrected based on the calculated correction size. In this case, the latent image mask is enlarged by 8 pixels in the vertical direction from horizontal 2080 × vertical 2040 dots to horizontal 2080 × vertical 2048 dots. As a method of enlargement, there is a near-less tray method or the like. Preferably, the latent image mask is enlarged without changing the size of the latent image itself by enlarging the area around the latent image. As a result, the size of the designated latent image itself can be maintained, and the user's designation can be respected. Further, distortion of the latent image due to enlargement of the latent image can be prevented.

補正後の潜像マスク154は、縦方向に8画素分拡大した例である。本実施の形態例における地紋効果は浮き出し効果であるため、補正後の潜像マスク154は、潜像の周辺の領域である背景部領域が縦方向に4画素ずつ図中155、156のように追加して拡大されている。潜像マスクが補正されたことにより、単位地紋画像の境界領域における、背景ディザマトリクス153、158が途切れていない。これにより、単位地紋画像の境界領域において、背景ディザマトリクス158によって形成される網点パターンが連続するため、単位地紋画像の境界が顕在化することを防ぐことができる。   The corrected latent image mask 154 is an example that is enlarged by 8 pixels in the vertical direction. Since the tint block effect in the present embodiment is an embossing effect, the corrected latent image mask 154 has a background area, which is a peripheral area of the latent image, in the vertical direction as four pixels at a time as indicated by 155 and 156 in the figure. Added and expanded. By correcting the latent image mask, the background dither matrices 153 and 158 in the boundary area of the unit background pattern image are not interrupted. Thereby, since the halftone dot pattern formed by the background dither matrix 158 is continuous in the boundary area of the unit background pattern image, it is possible to prevent the boundary of the unit background pattern image from becoming obvious.

上記の例では、潜像マスクを拡大して補正する計算式とその補正例を挙げているが、潜像マスクを縮小して補正する場合は、潜像マスクにおける潜像の周辺の端部領域を数画素ずつ削減することによって縮小してもよい。   In the above example, the calculation formula for correcting the latent image mask by enlarging it and an example of the correction are given. However, in the case of correcting by reducing the latent image mask, the edge region around the latent image in the latent image mask is given. May be reduced by reducing several pixels at a time.

図13に戻り、潜像マスクの補正が終わると(図13のS31)、補正した潜像マスクのサイズの単位地紋画像データを生成する(S32)。地紋画像データの生成処理(S32)は、図16のフローチャートに従って行われる。   Returning to FIG. 13, when the correction of the latent image mask is completed (S31 in FIG. 13), unit tint block image data having the corrected size of the latent image mask is generated (S32). The tint block image data generation process (S32) is performed according to the flowchart of FIG.

図16は、地紋画像データの生成処理の詳細を説明するフローチャート図である。はじめに、地紋画像データの画素のインデックスi、jをそれぞれi=0、j=0に初期化する(S3201)。次に、カモフラージュ模様が合成されるかどうか判断する(S3202)。カモフラージュ模様が合成される場合(S3202のYES)、当画素のカモフラージュマスクの値が判定される(S3203)。当画素(i、j)におけるカモフラージュマスクの値が黒である場合(S3203のYES)、無条件で当画素(i、j)はドットOFF(ドットなし)に設定される(S3204)。   FIG. 16 is a flowchart for explaining the details of the tint block image data generation process. First, the pixel indexes i and j of the copy-forgery-inhibited pattern image data are initialized to i = 0 and j = 0, respectively (S3201). Next, it is determined whether or not a camouflage pattern is synthesized (S3202). When the camouflage pattern is synthesized (YES in S3202), the value of the camouflage mask for this pixel is determined (S3203). When the value of the camouflage mask at this pixel (i, j) is black (YES in S3203), this pixel (i, j) is unconditionally set to dot OFF (no dot) (S3204).

本実施の形態例のようにカモフラージュ模様を合成しない場合(S3202のNO)、または、当画素におけるカモフラージュマスクの値が黒でない場合は(S3203のNO)、次に、当画素(i、j)における潜像マスクの値が判断される(S3209)。   If the camouflage pattern is not synthesized as in the present embodiment (NO in S3202), or if the camouflage mask value in the pixel is not black (NO in S3203), then the pixel (i, j) The value of the latent image mask at is determined (S3209).

潜像マスクが黒の場合(S3209のYES)、当画素(i、j)に対応する潜像ディザマトリクスのセルの閾値と地紋画像の入力階調値とが比較され(S3210)、潜像マスクが黒でない場合は(S28のNO)、対応する背景ディザマトリクスのセルの閾値と地紋画像の入力階調値とが比較される(S3212)。いずれの比較でも、入力階調値が閾値以上だった場合(S3210、S3212のYES)、当画素(i、j)のドットはON(ドットあり)に設定され(S3211)、入力階調値が閾値未満だった場合は(S3210、S3212のNO)、ドットがOFFに設定される(S3213)。   When the latent image mask is black (YES in S3209), the threshold value of the cell of the latent image dither matrix corresponding to the pixel (i, j) is compared with the input gradation value of the tint block image (S3210), and the latent image mask is determined. Is not black (NO in S28), the cell threshold of the corresponding background dither matrix is compared with the input gradation value of the tint block image (S3212). In any comparison, when the input tone value is equal to or greater than the threshold (YES in S3210 and S3212), the dot of this pixel (i, j) is set to ON (with a dot) (S3211), and the input tone value is If it is less than the threshold (NO in S3210 and S3212), the dot is set to OFF (S3213).

上記の処理が完了すると、画素の行方向のインデックスjがインクリメントされ(S3205)、インデックスjが潜像マスクの横サイズに達するまで(S3206)同じ処理が繰り返される。インデックスjが潜像マスクの横サイズに達すると(S3206のYES)、列方向のインデックスiがインクリメントされ、かつ、行方向のインデックスjが0にリセットされる(S3207)。そして、列方向のインデックスiが潜像マスクの縦サイズに達するまで、同じ処理が繰り返される(S3208)。   When the above processing is completed, the index j of the pixel in the row direction is incremented (S3205), and the same processing is repeated until the index j reaches the horizontal size of the latent image mask (S3206). When the index j reaches the horizontal size of the latent image mask (YES in S3206), the index i in the column direction is incremented and the index j in the row direction is reset to 0 (S3207). The same process is repeated until the index i in the column direction reaches the vertical size of the latent image mask (S3208).

列方向のインデックスiが潜像マスクの縦サイズに達すると(S3208のYES)、単位地紋画像データ37の生成処理が終了する。このように処理の対象画素が、補正された潜像マスクの左上位置からラスタスキャン方向に移動し、各画素がドットONかOFFに設定される。   When the index i in the column direction reaches the vertical size of the latent image mask (YES in S3208), the generation process of the unit tint block image data 37 ends. Thus, the pixel to be processed moves in the raster scan direction from the upper left position of the corrected latent image mask, and each pixel is set to ON or OFF.

このようにして生成された画像データは、画素毎にドットON/OFFのいずれかを有する単位地紋画像データ37となる。単位地紋画像データ37は、その後、入力画像データ36と共にプリンター40に送信され、画像データ36と合成され、印刷される。   The image data generated in this way becomes unit copy-forgery-inhibited pattern image data 37 having either dot ON / OFF for each pixel. The unit copy-forgery-inhibited pattern image data 37 is then transmitted to the printer 40 together with the input image data 36, and is combined with the image data 36 and printed.

図17は、単位地紋画像データ37と印刷対象の画像データ36とを合成して印刷する処理を表すフローチャート図である。   FIG. 17 is a flowchart showing a process of combining and printing the unit background pattern image data 37 and the image data 36 to be printed.

プリンター40は、プリンタードライバー32から送信された印刷ジョブ内の画像データ36と単位地紋画像データ37とを合成する(S41)。単位地紋画像データ37は画像データ36のサイズに満たないため、単位地紋画像データ37を繰り返し使用して画像データ36の各画素に対応させて合成する。そして、プリンター40は、合成後の画像データを、RGBの階調値を持つRGBビットマップデータからプリンターの色であるCMYKビットマップデータに変換する(S42)。   The printer 40 combines the image data 36 in the print job transmitted from the printer driver 32 and the unit background pattern image data 37 (S41). Since the unit background pattern image data 37 is less than the size of the image data 36, the unit background pattern image data 37 is repeatedly used to be combined with each pixel of the image data 36. Then, the printer 40 converts the combined image data from RGB bitmap data having RGB gradation values to CMYK bitmap data that is the color of the printer (S42).

合成方法(S41)については、例えば、次のような方法がある。地紋画像データ37のドットONのデータを上記ビットマップデータの最大濃度に対応する階調値に変換し、ドットOFFのデータを上記ビットマップデータの最小濃度「0」に対応する階調値に変換する。プリンター40における画素毎のRGBの各色が8ビットの階調値である場合は、地紋画像データの色変換後の色がC、M、Kの各色の最大濃度に対応するRGB階調値は(0,255,255)、(255,0,255)、(0,0,0)、最小濃度に対応するRGB階調値は(255,255,255)となる。そして、この最大階調値もしくは最小階調値に変換された単位地紋画像データ37を用いて、印刷対象の画像データ36においてRGB階調値(255,255,255)の画素(白)について、地紋画像データの階調データを上書きする。これにより、印刷対象の画像の階調値(255,255,255)の画素(白)には地紋画像が形成され、それ以外の画素には印刷対象画像が形成される。   As for the synthesis method (S41), for example, there are the following methods. The dot ON data of the tint block image data 37 is converted to a gradation value corresponding to the maximum density of the bitmap data, and the dot OFF data is converted to a gradation value corresponding to the minimum density “0” of the bitmap data. To do. When the RGB colors for each pixel in the printer 40 are 8-bit gradation values, the RGB gradation values corresponding to the maximum densities of the C, M, and K colors after the color conversion of the tint block image data are ( 0, 255, 255), (255, 0, 255), (0, 0, 0), and RGB gradation values corresponding to the minimum density are (255, 255, 255). Then, by using the unit background pattern image data 37 converted to the maximum gradation value or the minimum gradation value, the pixels (white) of the RGB gradation values (255, 255, 255) in the image data 36 to be printed are Overwrites the gradation data of the tint block image data. As a result, a copy-forgery-inhibited pattern image is formed on the pixels (white) of the gradation values (255, 255, 255) of the image to be printed, and the image to be printed is formed on the other pixels.

または、画像データ36を、RGBの階調値を持つRGBビットマップデータからCMYKビットマップデータに変換した後(S42)、画像データのCMYKビットマップデータのうち、ユーザーが指定した地紋の色(本実施の形態例では、C、M、Kのいずれか)のビットマップデータに対して、単位地紋画像データ37を合成してもよい(S41)。   Alternatively, after the image data 36 is converted from RGB bitmap data having RGB gradation values to CMYK bitmap data (S42), the color of the background pattern specified by the user (the book color) in the CMYK bitmap data of the image data In the embodiment, the unit copy-forgery-inhibited pattern image data 37 may be synthesized with bitmap data (any one of C, M, and K) (S41).

CMYKのビットマップデータに対して単位地紋画像データ37を合成する場合、ユーザーが指定した地紋指定色のビットマップデータにおいて、印刷対象の画像データ36の階調値「0」の画素に、地紋画像データを上書きする。または、印刷対象の画像データ36のうち地紋指定色のビットマップデータに、地紋画像データを上書きする方法もある。例えば、印刷対象の画像データが黒色の文字を形成するデータの場合、印刷対象の画像データのCMYのビットマップデータにおける全画素の階調値は「0」である。したがって、CMYのうち地紋指定色のビットマップデータは印刷対象画像データとしての情報を有していないため、地紋指定色のビットマップデータは全て地紋画像データに置き換えられる。   When the unit copy-forgery-inhibited pattern image data 37 is combined with the CMYK bitmap data, the copy-forgery-inhibited pattern image is applied to the pixel of the gradation value “0” of the image data 36 to be printed in the bit map data of the copy-forgery-inhibited pattern specified by the user. Overwrite the data. Alternatively, there is a method in which the copy-forgery-inhibited pattern image data is overwritten on the bitmap data of the designated copy-forgery-inhibited pattern in the image data 36 to be printed. For example, when the image data to be printed is data forming a black character, the gradation values of all the pixels in the CMY bitmap data of the image data to be printed are “0”. Accordingly, since the bit map data of the tint block designated color in CMY does not have information as the image data to be printed, all the bit map data of the tint block designated color is replaced with the tint block image data.

なお、合成方法(S41)は上記の上書きの方法に限定されず、印刷対象の画像データ36の各画素の画像種別(テキスト、イメージ、グラフィックなど)と階調値とに基づき、印刷対象の画像と地紋画像とを所定の割合でブレンディング処理してもよい。   The combining method (S41) is not limited to the above-described overwriting method, and the image to be printed is based on the image type (text, image, graphic, etc.) and the gradation value of each pixel of the image data 36 to be printed. And the copy-forgery-inhibited pattern image may be blended at a predetermined ratio.

図18は、印刷サイズの地紋画像における単位地紋画像の配置例を表す図である。単位地紋画像データ37と画像データ36とを合成する際、例えば、次のように単位地紋画像を配置できる。正方配置210では、単位地紋画像がタイル状に左端部位置から配置されている。斜交配置211では、単位地紋画像が、改行の度に所定の長さ183だけ副走査方向にずらして配置されている。反転配置212では、さらに、改行の度に単位地紋画像が上下反転して配置されている。このように、配置を変えることによって、単位地紋画像における潜像マスクの規則性を減らし、原本における潜像の隠蔽性を向上させる。   FIG. 18 is a diagram illustrating an arrangement example of unit background pattern images in a print size background pattern image. When combining the unit background pattern image data 37 and the image data 36, for example, a unit background pattern image can be arranged as follows. In the square arrangement 210, the unit copy-forgery-inhibited pattern images are arranged in tiles from the left end position. In the oblique arrangement 211, the unit copy-forgery-inhibited pattern images are arranged so as to be shifted in the sub-scanning direction by a predetermined length 183 for each line feed. In the reverse arrangement 212, the unit copy-forgery-inhibited pattern image is arranged upside down at each line feed. In this way, by changing the arrangement, the regularity of the latent image mask in the unit background pattern image is reduced, and the concealment property of the latent image in the original is improved.

なお、図18の斜交配置181では、行単位に、副走査方向に所定の長さ183だけずらして単位地紋画像を配置しているが、列単位に、主走査方向に所定の長さだけずらして配置してもよい。同様に、反転配置182においても、列単位に、単位地紋画像を上下反転させて配置してもよい。   In the oblique arrangement 181 of FIG. 18, the unit background pattern images are arranged by shifting by a predetermined length 183 in the sub-scanning direction for each row, but only by a predetermined length in the main scanning direction for each column. It may be shifted. Similarly, in the reverse arrangement 182, the unit copy-forgery-inhibited pattern image may be arranged upside down in units of columns.

また、斜交配置181における所定の長さ183、184は、地紋効果に対応して潜像、または背景ディザマトリクスのサイズの倍数に設定することが望ましい。具体的には、浮き出し効果の場合は背景ディザマトリクス、白抜き効果の場合は潜像ディザマトリクスの画素数(副走査方向にずらす場合はその横辺、主走査方向にずらす場合はその縦辺)の倍数に、所定の長さ183、184を設定する。これにより、単位地紋画像の境界領域185、186において、ディザマトリクスによって形成される網点パターンが連続するため、単位地紋画像の境界が顕在化することを防ぐことができる。   The predetermined lengths 183 and 184 in the oblique arrangement 181 are preferably set to a multiple of the size of the latent image or the background dither matrix corresponding to the tint block effect. Specifically, the background dither matrix for the embossing effect, the number of pixels of the latent image dither matrix for the whitening effect (the horizontal side when shifting in the sub-scanning direction, the vertical side when shifting in the main scanning direction) Predetermined lengths 183 and 184 are set to multiples of. Thereby, since the dot patterns formed by the dither matrix are continuous in the boundary areas 185 and 186 of the unit background pattern image, it is possible to prevent the boundary of the unit background pattern image from becoming obvious.

図17に戻り、合成された画像データは、通常のプリンターの2値化処理(スクリーン処理)を経て(S43)、印刷媒体に印刷される(S44)。合成された画像データのうち、地紋画像のみからなる部分は、最大濃度階調値と最小階調値からなる階調値を持つ画素で構成されることになるので、スクリーン処理の閾値マトリクスがどのようなものであろうと、スクリーン処理後も最高濃度「255」の部分はその濃度値が保存されるように階調変換され、最小濃度「0」の部分は濃度が「0」となるように階調変換される。その結果、単位地紋データ生成処理で生成した地紋画像が印刷媒体上に印刷される。   Returning to FIG. 17, the synthesized image data undergoes a normal printer binarization process (screen process) (S 43), and is printed on a print medium (S 44). Of the synthesized image data, the portion consisting only of the copy-forgery-inhibited pattern image is composed of pixels having gradation values consisting of the maximum density gradation value and the minimum gradation value. Even if it is such, gradation conversion is performed so that the density value of the portion of the highest density “255” is preserved even after the screen processing, and the density of the portion of the minimum density “0” becomes “0”. Tone conversion is performed. As a result, the tint block image generated by the unit tint block data generation process is printed on the print medium.

このように、本発明では、ユーザーインターフェイスを介してユーザーが指定した地紋の情報に基づいた潜像マスクのサイズを補正し、補正した潜像マスクのサイズに対応した単位地紋画像データ37を形成する。これにより、潜像マスクのサイズ分の地紋画像データを生成すればよいため、地紋画像データの生成処理にかかる時間を大幅に短縮することができ、さらに、地紋画像データの保存に要するメモリーを節約することができる。また、本実施の形態例のようにホストコンピューター30からプリンター40に、単位地紋画像データ37と画像データ36が送信される場合において、通信データ量を減らすことができる。   As described above, in the present invention, the size of the latent image mask is corrected based on the copy-forgery-inhibited pattern information designated by the user via the user interface, and unit copy-forgery-inhibited pattern image data 37 corresponding to the corrected latent image mask size is formed. . As a result, it is only necessary to generate copy-forgery-inhibited pattern image data for the size of the latent image mask, so the time required for the generation of the copy-forgery-inhibited pattern image data can be greatly reduced, and the memory required for storing the copy-forgery-inhibited pattern image data can be saved. can do. Further, when the unit background pattern image data 37 and the image data 36 are transmitted from the host computer 30 to the printer 40 as in the present embodiment, the amount of communication data can be reduced.

また、補正された潜像マスクのサイズは、ディザマトリクスのサイズの倍数に一致するため、単位地紋画像の境界領域において、当該ディザマトリクスによって形成される網点パターンが連続せずに単位地紋画像の境界が顕在化することを防ぐ。   Since the corrected latent image mask size matches a multiple of the dither matrix size, the halftone pattern formed by the dither matrix is not continuous in the boundary area of the unit background pattern image, and Prevent the boundary from becoming obvious.

さらに、潜像マスクのサイズを、ディザマトリクスのサイズの倍数に一致させるように補正するため、各サイズの最小公倍数によって補正サイズを算出するよりも、潜像マスクの補正サイズを小さく抑えることができ、単位地紋画像データ37のサイズを小さく抑えることができる。潜像ディザマトリクスと背景ディザマトリクスとは、形成する網点線数が異なるため、そのディザマトリクスのサイズも異なる。そのため、両ディザマトリクスのサイズの最小公倍数を単位地紋画像データ37のサイズとすると、そのサイズが大きくなり過ぎてしまう。   Furthermore, since the size of the latent image mask is corrected so that it matches the multiple of the dither matrix size, the correction size of the latent image mask can be kept smaller than calculating the correction size based on the least common multiple of each size. Thus, the size of the unit background pattern image data 37 can be reduced. Since the latent image dither matrix and the background dither matrix have different numbers of halftone lines to be formed, the sizes of the dither matrix are also different. Therefore, if the least common multiple of the sizes of both dither matrices is the size of the unit copy-forgery-inhibited pattern image data 37, the size becomes too large.

さらに、潜像マスクの補正処理の基準となるディザマトリクスを、地紋効果に基づいて潜像ディザマトリクスまたは背景ディザマトリクスのいずれかに限定するため、潜像マスクの補正サイズを小さく抑えることができ、単位地紋画像データ37のサイズを小さく抑えることができる。   Furthermore, since the dither matrix used as a reference for the latent image mask correction processing is limited to either the latent image dither matrix or the background dither matrix based on the tint block effect, the correction size of the latent image mask can be kept small. The size of the unit background pattern image data 37 can be reduced.

このように、潜像マスクの補正サイズは、潜像ディザマトリクスと背景ディザマトリクスのサイズが異なる場合、地紋効果が浮き出し効果であるか白抜き効果であるかに応じて異なる。また、潜像ディザマトリクス、背景ディザマトリクスのサイズは地紋画像の入力階調に応じて異なり、それに対応して潜像マスクの補正サイズも異なる。このため、デフォルトの潜像マスクを使用する場合であっても、潜像マスクの補正処理が必要となる。   As described above, when the latent image dither matrix and the background dither matrix are different in size, the correction size of the latent image mask differs depending on whether the tint block effect is an embossing effect or a whitening effect. Further, the sizes of the latent image dither matrix and the background dither matrix differ according to the input gradation of the tint block image, and the correction size of the latent image mask also differs accordingly. Therefore, even when a default latent image mask is used, a latent image mask correction process is required.

[第2の実施の形態例]
第2の実施の形態例では、カモフラージュ模様を合成しない第1の実施の形態例に対して、カモフラージュ模様を合成する場合の単位地紋画像データの生成処理について説明する。カモフラージュ模様の設定を除く地紋の設定、潜像マスク、潜像ディザマトリクス、背景ディザマトリクスの画素数は、第1の実施例と同様である。
[Second Embodiment]
In the second embodiment, generation processing of unit tint block image data when a camouflage pattern is synthesized will be described with respect to the first embodiment in which a camouflage pattern is not synthesized. The background pattern setting excluding the camouflage pattern setting, the latent image mask, the latent image dither matrix, and the number of pixels in the background dither matrix are the same as in the first embodiment.

カモフラージュ模様を合成する場合における潜像マスクの補正処理には、次の二つの方法がある。第1の方法は、まず、カモフラージュマスクのサイズをディザマトリクスのサイズの倍数に補正し、さらに、潜像マスクのサイズを、補正したカモフラージュマスクのサイズの倍数に補正する方法である。これにより、カモフラージュ模様の境界領域において、当該ディザマトリクスによって形成される網点パターンが連続し、カモフラージュマスクの境界が顕在化することを抑える。また、単位地紋画像の境界領域においても、ディザマトリクス、およびカモフラージュマスクが途切れないため、その境界が顕在化することを防ぐことができる。   There are the following two methods for correcting the latent image mask when synthesizing a camouflage pattern. The first method is to first correct the camouflage mask size to a multiple of the dither matrix size, and further correct the latent image mask size to a multiple of the corrected camouflage mask size. Thereby, in the boundary region of the camouflage pattern, the halftone dot pattern formed by the dither matrix is suppressed, and the boundary of the camouflage mask is suppressed from becoming apparent. Further, since the dither matrix and the camouflage mask are not interrupted even in the boundary area of the unit background pattern image, it is possible to prevent the boundary from becoming apparent.

第2の方法は、潜像マスクのサイズを、ディザマトリクスのサイズおよびカモフラージュマスクのサイズの倍数に補正する方法である。この場合、カモフラージュマスクはディザマトリクスのサイズの倍数である必要はない。地紋効果に基づいた潜像ディザマトリクスまたは背景ディザマトリクス、カモフラージュマスクのサイズの倍数に一致するように、潜像マスクのサイズを補正する。第1の方法と同様に、単位地紋画像の境界領域において、ディザマトリクス、およびカモフラージュマスクが途切れないため、単位地紋画像の境界が顕在化することを防ぐことができる。   The second method is a method of correcting the size of the latent image mask to a multiple of the size of the dither matrix and the size of the camouflage mask. In this case, the camouflage mask need not be a multiple of the dither matrix size. The size of the latent image mask is corrected so as to match a multiple of the size of the latent image dither matrix, background dither matrix, or camouflage mask based on the tint block effect. Similar to the first method, since the dither matrix and the camouflage mask are not interrupted in the boundary area of the unit background pattern image, it is possible to prevent the boundary of the unit background pattern image from becoming obvious.

本実施の形態例では、第1の方法に基づいて、カモフラージュマスクを補正し、補正したカモフラージュマスクのサイズの倍数になるように潜像マスクを補正して単位地紋画像データ37を生成する処理の流れについて説明する。   In the present embodiment, the camouflage mask is corrected based on the first method, and the latent tint mask data 37 is generated by correcting the latent image mask so as to be a multiple of the corrected camouflage mask size. The flow will be described.

まず、第1の実施の形態例と同様に、プリンタードライバー32は、ユーザーインターフェイスを介して地紋の情報を取得する(図12のS10〜S21)。第2の実施の形態例ではカモフラージュ模様を合成するため、ユーザーはカモフラージュ模様を選択し(S17のYES)、プリンタードライバー32は、カモフラージュマスクを生成(S19)、または選択する(S20)。本実施の形態例におけるカモフラージュ模様の画像データは2値の画像データとする。   First, as in the first exemplary embodiment, the printer driver 32 acquires tint block information via the user interface (S10 to S21 in FIG. 12). In the second embodiment, since the camouflage pattern is synthesized, the user selects the camouflage pattern (YES in S17), and the printer driver 32 generates (S19) or selects the camouflage mask (S20). The camouflage pattern image data in this embodiment is binary image data.

続いて、単位地紋画像データ37の生成処理(S30、図13)に進み、プリンタードライバー32は、カモフラージュマスクおよび、潜像マスクのサイズを補正する(S31)。補正処理については、図14のフローチャート図に則って説明する。   Subsequently, the process proceeds to the unit tint block image data 37 generation process (S30, FIG. 13), and the printer driver 32 corrects the sizes of the camouflage mask and the latent image mask (S31). The correction process will be described with reference to the flowchart of FIG.

図14に戻り、プリンタードライバー32は、はじめに、カモフラージュ模様を合成するかどうか判定する(S3101)。本実施の形態例では、カモフラージュ模様を合成するため、S3101でYESと判定され、次に、地紋効果が浮き出しかどうか判定する(S3105)。地紋効果が浮き出しの場合は(S3105のYES)、単位地紋画像の境界領域で隣接する単位地紋画像内において背景部の網点パターンが連続するように、カモフラージュマスクのサイズを背景ディザマトリクスのサイズの倍数に補正する(S3106)。一方、地紋効果が白抜きの場合は(S3105のNO)、単位地紋画像の境界領域で隣接する単位地紋画像内において潜像部の網点パターンが連続するように、カモフラージュマスクのサイズを潜像ディザマトリクスのサイズの倍数に補正する(S3107)。   Returning to FIG. 14, the printer driver 32 first determines whether to synthesize a camouflage pattern (S3101). In this embodiment, in order to synthesize the camouflage pattern, it is determined YES in S3101, and then it is determined whether the tint block effect is raised (S3105). If the tint block effect is raised (YES in S3105), the size of the camouflage mask is set to the size of the background dither matrix so that the background dot pattern is continuous in the unit tint block image adjacent to the boundary region of the unit tint block image. It is corrected to a multiple (S3106). On the other hand, when the tint block effect is white (NO in S3105), the size of the camouflage mask is set so that the halftone dot pattern of the latent image portion is continuous in the unit tint block image adjacent to the boundary region of the unit tint block image. Correction is made to a multiple of the size of the dither matrix (S3107).

カモフラージュマスクのサイズをディザマトリクスのサイズの倍数に補正する処理(S3106、S3107)は、次のように行われる。   The process of correcting the camouflage mask size to a multiple of the dither matrix size (S3106, S3107) is performed as follows.

まず、カモフラージュマスクの横・縦それぞれの補正サイズを算出する。カモフラージュマスクの補正サイズを求める計算式は以下の(a)〜(c)の通りである。これらの計算式では、ディザマトリクスの画素数の倍数であって、カモフラージュマスクの画素数に近い値が算出される。また、この(a)〜(c)の算出結果から、その横・縦辺の画素数の比率が補正前のカモフラージュマスクの横・縦の比率と最も近い算出結果を、補正サイズとする。なお、(a)〜(c)の算出結果の縦・横の比率が同じ場合は、(a)、(b)、(c)の優先順に従って、補正サイズを決定する。   First, the horizontal and vertical correction sizes of the camouflage mask are calculated. Calculation formulas for obtaining the correction size of the camouflage mask are as follows (a) to (c). In these calculation formulas, a value that is a multiple of the number of pixels of the dither matrix and is close to the number of pixels of the camouflage mask is calculated. Further, from the calculation results of (a) to (c), a calculation result in which the ratio of the number of pixels on the horizontal and vertical sides is closest to the horizontal and vertical ratio of the camouflage mask before correction is set as a correction size. When the vertical and horizontal ratios of the calculation results of (a) to (c) are the same, the correction size is determined according to the priority order of (a), (b), and (c).

式中のCam_xは補正前のカモフラージュマスクの画素数、Cam_x‘はカモフラージュマスクの補正画素数である。また、第1の実施の形態例と同様に、Dth_xはディザマトリクスの画素数であり、MOD(*)は余りを求める演算式、INT(*)は切り捨て処理を表す。補正サイズを求める式は、横・縦方向ともに同じである。   In the equation, Cam_x is the number of pixels of the camouflage mask before correction, and Cam_x ′ is the number of corrected pixels of the camouflage mask. As in the first embodiment, Dth_x is the number of pixels in the dither matrix, MOD (*) is an arithmetic expression for calculating the remainder, and INT (*) is a truncation process. The formula for obtaining the correction size is the same in both the horizontal and vertical directions.

(a)四捨五入に基づく計算式
Cam_x‘=INT{Cam_x/Dth_x+0.5}×Dth_x
(b)切り上げに基づく計算式
MOD(Cam_x/Dth_x)= 0の場合
Cam_x‘=Cam_x
MOD(Cam_x/Dth_x)≠ 0の場合
Cam_x‘={INT(Cam_x/Dth_x)+1.0}×Dth_x
(c)切り捨てに基づく計算式
MOD(Cam_x/Dth_x)= 0の場合
Cam_x‘=Cam_x
MOD(Cam_x/Dth_x)≠ 0の場合
Cam_x‘=INT(Cam_x/Dth_x)×Dth_x
(a)の計算式では、カモフラージュマスクのサイズをディザマトリクスのサイズで除算した値を四捨五入し、当該値にディザマトリクスのサイズを乗算した値を補正サイズとする。(b)の計算式では、当該除算した余りが0の場合、カモフラージュマスクのサイズは既にディザマトリクスのサイズの倍数であるため、サイズを補正しない。一方、当該除算した余りが0でない場合、除算した値を切り上げ、当該値にディザマトリクスのサイズを乗算した値を補正サイズとする。(c)の計算式も(b)と同様に、余りが0の場合はサイズを補正せず、余りが0でない場合、除算した値を切り捨て、当該値にディザマトリクスのサイズを乗算した値を補正サイズとする。
(A) Formula based on rounding: Cam_x ′ = INT {Cam_x / Dth_x + 0.5} × Dth_x
(B) Formula based on rounding up When MOD (Cam_x / Dth_x) = 0 Cam_x ′ = Cam_x
When MOD (Cam_x / Dth_x) ≠ 0 Cam_x ′ = {INT (Cam_x / Dth_x) +1.0} × Dth_x
(C) Calculation formula based on truncation When MOD (Cam_x / Dth_x) = 0 Cam_x ′ = Cam_x
When MOD (Cam_x / Dth_x) ≠ 0 Cam_x ′ = INT (Cam_x / Dth_x) × Dth_x
In the calculation formula (a), a value obtained by dividing the camouflage mask size by the dither matrix size is rounded off, and a value obtained by multiplying the value by the dither matrix size is used as the correction size. In the calculation formula (b), when the remainder after division is 0, the size of the camouflage mask is already a multiple of the size of the dither matrix, so the size is not corrected. On the other hand, when the remainder after division is not 0, the divided value is rounded up, and a value obtained by multiplying the value by the dither matrix size is set as the correction size. Similarly to (b), the calculation formula of (c) does not correct the size when the remainder is 0, and when the remainder is not 0, the divided value is rounded down, and the value obtained by multiplying the value by the dither matrix size is obtained. The correction size.

(a)の計算式は四捨五入に基づいているため、サイズの補正幅は(b)(c)と比較して同じか小さくなる。また、(b)の計算式は切り上げに基づいているため、カモフラージュマスクは補正前と同じサイズか、または拡大される。(c)の計算式では切り捨てに基づいているため、カモフラージュマスクは補正前と同じサイズか、または縮小される。   Since the calculation formula of (a) is based on rounding off, the size correction width is the same as or smaller than (b) and (c). In addition, since the calculation formula (b) is based on rounding up, the camouflage mask is the same size as before correction or enlarged. Since the calculation formula (c) is based on truncation, the camouflage mask is the same size as before correction or reduced.

図19は、カモフラージュ模様を合成する場合のカモフラージュマスクの補正処理を説明する図である。補正前のカモフラージュマスク190は、横210×縦210ドットの画素を有し、背景ディザマトリクス192は、横16×縦16ドットの画素を有する。地紋効果は浮き出し効果であり(S3105のYES)、潜像マスクにおいて潜像の周辺の領域には背景ディザマトリクスが適用されるため、カモフラージュマスクのサイズを、背景ディザマトリクスのサイズの倍数であって、補正前のカモフラージュマスクのサイズに近い値に補正する(S3106)。   FIG. 19 is a diagram for explaining a camouflage mask correction process when a camouflage pattern is synthesized. The camouflage mask 190 before correction has pixels of horizontal 210 × longitudinal 210 dots, and the background dither matrix 192 has pixels of horizontal 16 × vertical 16 dots. The copy-forgery-inhibited pattern effect is a relief effect (YES in S3105), and since the background dither matrix is applied to the area around the latent image in the latent image mask, the size of the camouflage mask is a multiple of the size of the background dither matrix. Then, the value is corrected to a value close to the size of the camouflage mask before correction (S3106).

(a)の計算式に当てはめ、INT{210/16+0.5}×16 を演算すると、補正サイズ「208」が算出される。次に、(b)の計算式に当てはめると、MOD(210/16)≠0であるため、{INT(210/16)+1.0}×16 を演算すると、補正サイズ「224」が算出される。最後に、(c)の計算式に当てはめると、MOD(210/16)≠0であるため、INT(210/16)×16 を演算すると、補正サイズ「208」が算出される。   By applying the calculation formula (a) and calculating INT {210/16 + 0.5} × 16, the correction size “208” is calculated. Next, when applied to the calculation formula (b), since MOD (210/16) ≠ 0, when {INT (210/16) +1.0} × 16 is calculated, the correction size “224” is calculated. The Finally, when applied to the calculation formula (c), since MOD (210/16) ≠ 0, when calculating INT (210/16) × 16, the correction size “208” is calculated.

本実施の形態例では、カモフラージュマスク、背景ディザマトリクス共に、横・縦の画素数の比率が1対1であるため、横・縦の算出結果は同値となる。そのため、(a)〜(c)の計算結果における補正後の横・縦の画素数の比率も全て1対1となる。比率が同じであるため、(a)の計算式による算出結果「208」がカモフラージュマスクの補正サイズに採用される。   In the present embodiment, since the ratio of the number of horizontal and vertical pixels is 1: 1 for both the camouflage mask and the background dither matrix, the horizontal and vertical calculation results are the same value. For this reason, the ratios of the number of horizontal and vertical pixels after correction in the calculation results of (a) to (c) are all 1: 1. Since the ratio is the same, the calculation result “208” based on the calculation formula (a) is adopted as the correction size of the camouflage mask.

次に、算出した補正サイズに基づいて、カモフラージュマスクを補正する。この場合、横210×縦210ドットから横208×縦208ドットに、カモフラージュマスクを横・縦方向に2画素分縮小する。この例では、カモフラージュマスクを縮小するが、カモフラージュマスクを拡大するケースもある。カモフラージュマスクを拡大、縮小する方法として、ここではニアレストレイバー法を利用する。ただし、拡大、縮小の方法はニアレストレイバー法に限定されるものではない。例えば、潜像マスクの補正と同様に、カモフラージュ模様の周辺の領域を追加、削除することによって、拡大、縮小してもよい。   Next, the camouflage mask is corrected based on the calculated correction size. In this case, the camouflage mask is reduced by two pixels in the horizontal and vertical directions from 210 horizontal × 210 vertical dots to 208 horizontal × 208 vertical dots. In this example, the camouflage mask is reduced, but the camouflage mask may be enlarged. As a method for enlarging or reducing the camouflage mask, the near-less tray method is used here. However, the enlargement / reduction method is not limited to the near-less tray method. For example, similarly to the correction of the latent image mask, the area around the camouflage pattern may be enlarged or reduced by adding or deleting the area.

ニアレストレイバー法による拡大、縮小方法は以下のとおりである。次の計算式によって、補正後の各画素に対応する補正前の座標が得られる。式中のCam_wは、カモフラージュマスクの横方向における補正前の画素数であり、Cam_w‘は補正後の画素数である。同様に、Cam_hは、カモフラージュマスクの縦方向における補正前の画素数であり、Cam_h‘は補正後の画素数である。   The enlargement and reduction methods using the near-less tray bar method are as follows. The coordinates before correction corresponding to each pixel after correction are obtained by the following calculation formula. Cam_w in the equation is the number of pixels before correction in the horizontal direction of the camouflage mask, and Cam_w ′ is the number of pixels after correction. Similarly, Cam_h is the number of pixels before correction in the vertical direction of the camouflage mask, and Cam_h ′ is the number of pixels after correction.

i、jは、補正後のカモフラージュマスク上の座標を、m、nは、補正前のカモフラージュマスク上の座標を表し、Cam‘[i][j](0≦i<Cam_w‘,0≦j<Cam_h‘)並びにCam[m][n](0≦m<Cam_w,0≦n<Cam_h)の関係にある。   i and j represent coordinates on the camouflage mask after correction, m and n represent coordinates on the camouflage mask before correction, and Cam ′ [i] [j] (0 ≦ i <Cam_w ′, 0 ≦ j). <Cam_h ′) and Cam [m] [n] (0 ≦ m <Cam_w, 0 ≦ n <Cam_h).

m=INT(i/Cam_w‘×Cam_w+0.5)
n=INT(j/Cam_h‘×Cam_h+0.5)
算出したカモフラージュマスクのサイズを当てはめると以下のような計算式が得られる。補正後のカモフラージュマスクの座標を[i][j]に指定すると、当該座標に対応する補正前のカモフラージュマスク上の座標[m][n]が得られる。これにより、カモフラージュマスクを拡大、または縮小できる。
m = INT (i / Cam_w ′ × Cam_w + 0.5)
n = INT (j / Cam_h ′ × Cam_h + 0.5)
When the calculated camouflage mask size is applied, the following calculation formula is obtained. When the coordinates of the corrected camouflage mask are designated as [i] [j], the coordinates [m] [n] on the uncorrected camouflage mask corresponding to the coordinates are obtained. Thereby, the camouflage mask can be enlarged or reduced.

m=INT(i/208×210+0.5)
n=INT(j/208×210+0.5)
上記の計算式に基づいてカモフラージュマスクを縮小したのが、図19の補正後のカモフラージュマスク193である。カモフラージュマスクが補正されたことにより、補正後の背景ディザマトリクス194は途切れていない。これによって、カモフラージュマスクの境界領域において、背景ディザマトリクス194によって形成される網点パターンが連続し、カモフラージュマスクの境界が顕在化することを防ぐことができる。
m = INT (i / 208 × 210 + 0.5)
n = INT (j / 208 × 210 + 0.5)
A camouflage mask 193 after correction in FIG. 19 is obtained by reducing the camouflage mask based on the above calculation formula. By correcting the camouflage mask, the corrected background dither matrix 194 is not interrupted. Accordingly, it is possible to prevent the halftone dot pattern formed by the background dither matrix 194 from being continuous in the boundary region of the camouflage mask and revealing the boundary of the camouflage mask.

また、補正後のカモフラージュマスク193のサイズは、補正前のカモフラージュマスク190の横・縦の比率(この場合は1対1)に近い値が選択されるため、カモフラージュマスクの拡大、縮小処理によるカモフラージュ模様のゆがみ等を抑えることができる。   Also, since the camouflage mask 193 after correction is selected to have a value close to the horizontal / vertical ratio of the camouflage mask 190 before correction (one-to-one in this case), the camouflage mask is enlarged or reduced. The distortion of the pattern can be suppressed.

図14に戻り、カモフラージュマスクの補正が終わると(図14のS3106、S3107)、次に、補正したカモフラージュマスクに基づいて潜像マスクのサイズを補正する(S3108)。潜像マスクの補正サイズを求める計算式は以下の通りである。この式では、カモフラージュマスクのサイズの倍数であって、潜像マスクのサイズに近い値が算出される。また、この計算式は、第1の実施の形態例における潜像マスクの補正サイズを算出する計算式と同様であり、第1の実施の形態例における計算式のDth_xが、第2の実施の形態例ではCom_x‘(補正後のカモフラージュマスクのサイズ)に置き代わる。   Returning to FIG. 14, when the camouflage mask correction is completed (S3106 and S3107 in FIG. 14), the size of the latent image mask is corrected based on the corrected camouflage mask (S3108). The calculation formula for obtaining the correction size of the latent image mask is as follows. In this equation, a value that is a multiple of the size of the camouflage mask and close to the size of the latent image mask is calculated. This calculation formula is the same as the calculation formula for calculating the correction size of the latent image mask in the first embodiment, and Dth_x of the calculation formula in the first embodiment is the same as that in the second embodiment. In the embodiment, Com_x ′ (camouflage mask size after correction) is replaced.

MOD(SecM_x/Com_x‘)= 0の場合
SecM_x‘=SecM_x
MOD(SecM_x/Com_x‘)≠ 0の場合
SecM_x‘={INT(SecM_x/Com_x‘)+1.0}×Com_x‘
図20は、カモフラージュ模様を合成する場合の潜像マスクの補正処理を説明する図である。補正前の潜像マスク200は、横2080×縦2040ドットの画素を有し、補正後のカモフラージュマスク202は、横208×縦208ドットの画素を有する。潜像マスク200には、左上位置からカモフラージュマスク202がタイル状に並べられたように対応している。
When MOD (SecM_x / Com_x ′) = 0, SecM_x ′ = SecM_x
When MOD (SecM_x / Com_x ′) ≠ 0 SecM_x ′ = {INT (SecM_x / Com_x ′) + 1.0} × Com_x ′
FIG. 20 is a diagram for explaining a latent image mask correction process when a camouflage pattern is synthesized. The latent image mask 200 before correction has pixels of horizontal 2080 × vertical 2040 dots, and the camouflage mask 202 after correction has pixels of horizontal 208 × vertical 208 dots. The latent image mask 200 corresponds to a camouflage mask 202 arranged in a tile shape from the upper left position.

潜像マスクの横方向について計算式に当てはめると、MOD(2080/208)=0 であり、補正後のサイズは「2080」のままとなる。同様にして、縦方向について計算式に当てはめると、MOD(2040/208)≠0であるため、さらに{INT(2040/208)+1.0}×208 を演算し、補正サイズ「2080」が算出される。これにより、補正後の潜像マスクの画素数が横2080×縦2080ドットに決定される。   When applied to the calculation formula in the horizontal direction of the latent image mask, MOD (2080/208) = 0, and the corrected size remains “2080”. Similarly, when applied to the calculation formula in the vertical direction, MOD (2040/208) ≠ 0, so {INT (2040/208) +1.0} × 208 is further calculated to calculate the correction size “2080”. Is done. As a result, the number of pixels of the corrected latent image mask is determined to be horizontal 2080 × vertical 2080 dots.

次に、算出した補正サイズに基づいて、潜像マスクを補正する。この場合、横2080×縦2040ドットから横2080×縦2080ドットに、潜像マスクを縦方向に40画素分拡大する。第1の実施例で前述したとおり、潜像の周辺の領域部分について拡大することにより、潜像自体のサイズを変えることなく、潜像マスクを拡大することができる。   Next, the latent image mask is corrected based on the calculated correction size. In this case, the latent image mask is enlarged by 40 pixels in the vertical direction from horizontal 2080 × vertical 2040 dots to horizontal 2080 × vertical 2080 dots. As described above in the first embodiment, the latent image mask can be enlarged without changing the size of the latent image itself by enlarging the area around the latent image.

補正後の潜像マスク203は、縦方向に40画素分拡大した例である。この場合の地紋効果は浮き出し効果であるため、補正後の潜像マスク203は、潜像の周辺の領域である背景部領域について縦方向に20画素ずつ205、206拡大されている。また、潜像マスクが補正されたことにより、単位地紋画像の境界領域において、補正後のカモフラージュマスク204は途切れない。また、カモフラージュマスク204は、背景ディザマトリクスのサイズの倍数に設定されているため、当然に、潜像マスクのサイズは、背景ディザマトリクスのサイズの倍数となり、背景ディザマトリクスも途切れない。これによって、単位地紋画像の境界領域において、カモフラージュ模様、およびディザマトリクスによって形成される網点パターンが連続するため、単位地紋画像の境界が顕在化することを防ぐ。   The corrected latent image mask 203 is an example enlarged by 40 pixels in the vertical direction. Since the tint block effect in this case is an embossing effect, the corrected latent image mask 203 is enlarged 205 and 206 by 20 pixels in the vertical direction with respect to the background area which is the peripheral area of the latent image. Further, since the latent image mask is corrected, the corrected camouflage mask 204 is not interrupted in the boundary region of the unit background pattern image. Since the camouflage mask 204 is set to a multiple of the size of the background dither matrix, the size of the latent image mask is naturally a multiple of the size of the background dither matrix, and the background dither matrix is not interrupted. Accordingly, since the camouflage pattern and the halftone dot pattern formed by the dither matrix are continuous in the boundary area of the unit background pattern image, the boundary of the unit background pattern image is prevented from becoming obvious.

図13に戻り、潜像マスクの補正が終わると(図13のS31)、単位地紋画像データ37を生成する(S32)。単位地紋画像データの生成処理は、第1の実施例と同様に、図16のフローチャートに従って行われる。   Returning to FIG. 13, when the latent image mask correction is completed (S31 in FIG. 13), unit tint block image data 37 is generated (S32). The unit copy-forgery-inhibited pattern image data generation processing is performed according to the flowchart of FIG. 16 as in the first embodiment.

カモフラージュ模様を合成する場合(図16のS3202のYES)、処理の対象画素に対応するカモフラージュマスクが黒の情報を示す場合は(S3203のYES)、当画素(i、j)はドットOFFに設定される。処理の対象画素に対応するカモフラージュマスクが白の情報を示す場合は(S3203のNO)、カモフラージュマスクを合成しない場合と同様に、対応するディザマトリクスの閾値と比較されて、当画素(i、j)のドットのON、OFFが決定される。図16の処理が終わると、単位地紋画像データ37が生成される。   When compositing a camouflage pattern (YES in S3202 in FIG. 16), if the camouflage mask corresponding to the pixel to be processed indicates black information (YES in S3203), this pixel (i, j) is set to dot OFF. Is done. When the camouflage mask corresponding to the processing target pixel indicates white information (NO in S3203), the pixel (i, j) is compared with the threshold value of the corresponding dither matrix as in the case where the camouflage mask is not combined. ) Dot ON / OFF is determined. When the processing of FIG. 16 is completed, unit background pattern image data 37 is generated.

その後の、プリンター40において単位地紋画像データ37と画像データ36とを合成して印刷する処理(図17)は第1の実施の形態例と同様である。ただし、図17の単位地紋画像データを繰り返し使用して画像データと合成する処理(S42)において、斜交配置(図18の181)または反転配置(図18の182)を行う場合は、所定の長さ183、184を、さらに、カモフラージュマスクの画素数の倍数に設定すると、単位地紋画像の境界領域185、186において、カモフラージュ模様を連続させることができ単位地紋画像の境界が顕在化することを防ぐ。   The subsequent processing (FIG. 17) of combining and printing the unit background pattern image data 37 and the image data 36 in the printer 40 is the same as in the first embodiment. However, in the process (S42) of repeatedly using the unit tint block image data of FIG. 17 and combining with the image data (S42), when the oblique arrangement (181 in FIG. 18) or the reverse arrangement (182 in FIG. 18) is performed, a predetermined arrangement When the lengths 183 and 184 are further set to a multiple of the number of pixels of the camouflage mask, the camouflage pattern can be continued in the boundary areas 185 and 186 of the unit background pattern image, and the boundary of the unit background pattern image becomes apparent. prevent.

また、反転配置182の場合、カモフラージュマスクが点対象に構成されていることが望ましい。カモフラージュマスクが点対象に構成されていることにより、反転した単位地紋画像と、反転しない単位地紋画像との境界領域186において、カモフラージュ模様が連続するため、単位地紋画像の境界が顕在化することを防ぐ。   Further, in the case of the inverted arrangement 182, it is desirable that the camouflage mask is configured as a point object. By configuring the camouflage mask as a point object, the camouflage pattern is continuous in the boundary region 186 between the inverted unit background pattern image and the unit background pattern image that is not inverted, so that the boundary of the unit background pattern image becomes apparent. prevent.

このように、カモフラージュ模様を合成する場合であっても、さらに、カモフラージュマスクのサイズの倍数に一致させるように潜像マスクのサイズを補正し、補正した潜像マスクのサイズに対応する単位地紋画像データ37を形成する。これにより、潜像マスクのサイズ分の単位地紋画像データ37を生成すればよいため、地紋画像データの生成処理にかかる時間を大幅に短縮することができ、また、地紋画像データの保存に要するメモリーを節約することができる。   As described above, even when a camouflage pattern is synthesized, the latent image mask size is further corrected to match a multiple of the camouflage mask size, and the unit tint block image corresponding to the corrected latent image mask size is obtained. Data 37 is formed. As a result, the unit tint block image data 37 corresponding to the size of the latent image mask only needs to be generated, so that the time required for the tint block image data generation processing can be greatly reduced, and the memory required for storing the tint block image data is reduced. Can be saved.

また、補正された潜像マスクのサイズは、カモフラージュマスク、およびディザマトリクスのサイズの倍数に一致するため、単位地紋画像の境界領域において、当該ディザマトリクスによって形成される網点パターン、および、カモフラージュ模様が連続せずに単位地紋画像データ37の境界が顕在化することを防ぐ。   Since the corrected latent image mask size matches a multiple of the camouflage mask and dither matrix size, the halftone dot pattern and camouflage pattern formed by the dither matrix in the boundary area of the unit background pattern image Prevents the boundary of the unit copy-forgery-inhibited pattern image data 37 from becoming obvious.

また、カモフラージュマスクのサイズを、ディザマトリクスのサイズの倍数に補正し、さらに、潜像マスクのサイズを補正したカモフラージュマスクのサイズの倍数に補正する場合、カモフラージュマスクの境界領域において、当該ディザマトリクスによって形成される網点パターンを連続させることができる。   In addition, when the camouflage mask size is corrected to a multiple of the dither matrix size, and further corrected to a multiple of the camouflage mask size corrected for the latent image mask size, the dither matrix is used in the boundary region of the camouflage mask. The formed halftone dot pattern can be continuous.

さらに、カモフラージュマスクのサイズをディザマトリクスのサイズの倍数に、または、潜像マスクのサイズをカモフラージュマスクのサイズの倍数に一致させるように補正するため、カモフラージュマスクのサイズを含めた各サイズの最小公倍数によって補正サイズを算出するよりも、潜像マスクの補正サイズを小さく抑えることができ、地紋画像データ37のサイズを小さく抑えることができる。   In addition, to correct the camouflage mask size to a multiple of the dither matrix size or to match the latent image mask size to a multiple of the camouflage mask size, the least common multiple of each size, including the camouflage mask size. Therefore, the correction size of the latent image mask can be suppressed smaller than the calculation of the correction size, and the size of the copy-forgery-inhibited pattern image data 37 can be reduced.

14,16:原本、18,20:複写物、14X,16X:原本の拡大画像、18X,20X:複写物の拡大画像、LI:潜像部、BI:背景部、
30:ホストコンピューター、31:アプリケーションプログラム、32:プリンタードライバー、33:潜像ディザマトリクス、34:背景ディザマトリクス、36:画像データ、37:単位地紋画像データ、40:プリンター、41:コントローラー、42:画像形成プログラム、43:合成部、44:色変換、45:二値化ユニット、46:印刷エンジン
14, 16: original, 18, 20: copy, 14X, 16X: enlarged image of original, 18X, 20X: enlarged image of copy, LI: latent image portion, BI: background portion,
30: Host computer, 31: Application program, 32: Printer driver, 33: Latent image dither matrix, 34: Background dither matrix, 36: Image data, 37: Unit tint block image data, 40: Printer, 41: Controller, 42: Image forming program, 43: composition unit, 44: color conversion, 45: binarization unit, 46: print engine

Claims (15)

複写時に出力濃度に差が生じる潜像部と背景部とを含む地紋画像を印刷媒体上に形成するための地紋画像データを生成する画像処理をコンピューターに実行させる画像処理プログラムにおいて、
前記画像処理は、
前記潜像部と前記背景部とにより形成される潜像を規定する潜像マスクであって、各画素に前記潜像部または前記背景部の何れかを示す情報を有する前記潜像マスクを取得する潜像マスク取得工程と、
前記取得した潜像マスクのサイズを、前記潜像部の画像データ生成時に参照される潜像ディザマトリクスまたは前記背景部の画像データ生成時に参照される背景ディザマトリクスの倍数サイズに補正して補正潜像マスクを生成する潜像マスク補正工程と、
前記補正潜像マスクと、前記潜像ディザマトリクスと、前記背景ディザマトリクスとに基づいて画素毎の画像データを生成し、前記補正潜像マスクのサイズに対応する単位地紋画像データを生成する単位地紋画像生成工程とを有することを特徴とする画像処理プログラム。
In an image processing program for causing a computer to execute image processing for generating copy-forgery-inhibited pattern image data for forming a copy-forgery-inhibited pattern image including a latent image portion and a background portion that cause a difference in output density at the time of copying on a print medium.
The image processing is
A latent image mask that defines a latent image formed by the latent image portion and the background portion, the latent image mask having information indicating either the latent image portion or the background portion in each pixel is obtained. A latent image mask acquisition step,
The size of the acquired latent image mask is corrected to a multiple size of the latent image dither matrix referred to when generating the image data of the latent image portion or the background dither matrix referred to when generating the image data of the background portion. A latent image mask correction step for generating an image mask;
A unit background pattern for generating image data for each pixel based on the corrected latent image mask, the latent image dither matrix, and the background dither matrix, and generating unit background pattern image data corresponding to the size of the corrected latent image mask An image processing program comprising an image generation step.
請求項1において、
前記潜像マスク補正工程は、前記潜像の領域を前記潜像部とし前記潜像の周辺の領域を前記背景部とする第1の潜像マスクの場合は前記背景ディザマトリクスの倍数サイズに、前記潜像の領域を前記背景部とし前記潜像の周辺の領域を前記潜像部とする第2の潜像マスクの場合は前記潜像ディザマトリクスの倍数サイズに、前記潜像マスクのサイズを補正することを特徴とする画像処理プログラム。
In claim 1,
In the latent image mask correction step, in the case of a first latent image mask having the latent image area as the latent image portion and the peripheral area of the latent image as the background portion, the multiple size of the background dither matrix is used. In the case of a second latent image mask having the latent image area as the background portion and the peripheral area of the latent image as the latent image portion, the size of the latent image mask is set to a multiple of the latent image dither matrix. An image processing program for correcting.
請求項2において、
前記潜像マスク補正工程は、前記第1の潜像マスクの場合は前記潜像マスクの周辺の前記背景部の領域を、前記第2の潜像マスクの場合は前記潜像マスクの周辺の前記潜像部の領域を拡大または縮小して、前記潜像マスクのサイズを補正することを特徴とする画像処理プログラム。
In claim 2,
In the latent image mask correcting step, in the case of the first latent image mask, the background area around the latent image mask is set. In the case of the second latent image mask, the area around the latent image mask is set. An image processing program for correcting the size of the latent image mask by enlarging or reducing the area of the latent image portion.
請求項1乃至3のいずれかにおいて、
さらに、前記地紋画像に合成されるカモフラージュ模様画像を構成し、各画素についてカモフラージュ模様画像の画像データを有するカモフラージュマスクを取得するカモフラージュマスク取得工程を有し、
前記潜像マスク補正工程は、前記潜像マスクのサイズを、前記潜像ディザマトリクスまたは前記背景ディザマトリクスに加えて、前記取得したカモフラージュマスクの倍数サイズに補正し、
前記単位地紋画像生成工程は、前記補正潜像マスクに加えて、前記取得したカモフラージュマスクに基づいて前記単位地紋画像データを生成することを特徴とする画像処理プログラム。
In any one of Claims 1 thru | or 3,
Furthermore, it has a camouflage mask acquisition step of configuring a camouflage pattern image to be combined with the tint block image, and acquiring a camouflage mask having image data of the camouflage pattern image for each pixel,
The latent image mask correction step corrects the size of the latent image mask to a multiple size of the acquired camouflage mask in addition to the latent image dither matrix or the background dither matrix,
The unit copy-forgery-inhibited pattern image generation step generates the unit copy-forgery-inhibited pattern image data based on the acquired camouflage mask in addition to the corrected latent image mask.
請求項4において、
さらに、前記取得した前記カモフラージュマスクのサイズを、前記潜像ディザマトリクスまたは前記背景ディザマトリクスの倍数サイズに補正して補正カモフラージュマスクを生成するカモフラージュマスク補正工程を有し、
前記潜像マスク補正工程は、前記潜像マスクのサイズを、前記補正カモフラージュマスクの倍数サイズに補正し、
前記単位地紋画像生成工程は、前記補正潜像マスクに加えて、前記補正カモフラージュマスクに基づいて前記単位地紋画像データを生成することを特徴とする画像処理プログラム。
In claim 4,
Furthermore, it has a camouflage mask correction step for correcting the size of the acquired camouflage mask to a multiple size of the latent image dither matrix or the background dither matrix to generate a correction camouflage mask,
The latent image mask correction step corrects the size of the latent image mask to a multiple of the correction camouflage mask,
The unit copy-forgery-inhibited pattern image generation step generates the unit copy-forgery-inhibited pattern image data based on the corrected camouflage mask in addition to the corrected latent image mask.
請求項5において、
前記カモフラージュマスク補正工程は、前記潜像の領域を前記潜像部とし前記潜像の周辺の領域を前記背景部とする第1の潜像マスクの場合は前記背景ディザマトリクスの倍数サイズに、前記潜像の領域を前記背景部とし前記潜像の周辺の領域を前記潜像部とする第2の潜像マスクの場合は前記潜像ディザマトリクスの倍数サイズに、前記カモフラージュマスクのサイズを補正することを特徴とする画像処理プログラム。
In claim 5,
In the camouflage mask correction step, in the case of a first latent image mask in which the area of the latent image is the latent image portion and the peripheral area of the latent image is the background portion, the multiple size of the background dither matrix is used. In the case of a second latent image mask in which the latent image area is the background portion and the peripheral area of the latent image is the latent image portion, the size of the camouflage mask is corrected to a multiple of the latent image dither matrix. An image processing program characterized by that.
請求項6において、
前記カモフラージュマスク補正工程は、前記カモフラージュマスクのサイズを、前記カモフラージュマスクの横辺と縦辺のサイズ比率が維持されるように拡大または縮小して補正することを特徴とする画像処理プログラム。
In claim 6,
The camouflage mask correction step corrects the size of the camouflage mask by enlarging or reducing the size so that the size ratio of the horizontal and vertical sides of the camouflage mask is maintained.
請求項1乃至3のいずれかにおいて、
前記潜像マスク取得工程は、前記潜像と、前記潜像の領域を前記潜像部とし前記潜像の周辺の領域を前記背景部とする第1の潜像マスクかまたは前記潜像の領域を前記背景部とし前記潜像の周辺の領域を前記潜像部とする第2の潜像マスクかの指定とを含む潜像情報に基づいて、前記潜像マスクを生成して取得する工程、または、予め生成された前記潜像マスクから選択し取得する工程のいずれかまたは両方を有することを特徴とする画像処理プログラム。
In any one of Claims 1 thru | or 3,
The latent image mask obtaining step includes the first latent image mask or the latent image region in which the latent image and the latent image region are the latent image portion and the peripheral region of the latent image is the background portion. Generating and acquiring the latent image mask based on latent image information including a second latent image mask having the background portion as a background portion and the surrounding area of the latent image as the latent image portion; Alternatively, an image processing program comprising one or both of steps of selecting and acquiring from the latent image mask generated in advance.
請求項4乃至7のいずれかにおいて、
前記カモフラージュマスク取得工程は、前記カモフラージュ模様画像を含むカモフラージュ模様情報に基づいて、前記カモフラージュマスクを生成して取得する工程、または、予め生成された前記カモフラージュマスクから選択し取得する工程のいずれかまたは両方を有することを特徴とする画像処理プログラム。
In any of claims 4 to 7,
The camouflage mask acquisition step is either a step of generating and acquiring the camouflage mask based on camouflage pattern information including the camouflage pattern image, or a step of selecting and acquiring from the camouflage mask generated in advance. An image processing program characterized by having both.
請求項1乃至9のいずれかにおいて、
前記単位地紋画像データは、印刷対象の画像データと前記地紋画像データとを合成する処理、または、印刷サイズの前記地紋画像データを生成する処理において、繰り返し使用されることを特徴とする画像処理プログラム。
In any one of Claims 1 thru | or 9,
The unit copy-forgery-inhibited pattern image data is used repeatedly in a process of combining image data to be printed and the copy-forgery-inhibited pattern image data, or in a process of generating the copy-forgery-inhibited pattern image data. .
複写時に出力濃度に差が生じる潜像部と背景部とを含む地紋画像を印刷媒体上に形成するための地紋画像データを生成する画像処理方法において、
前記潜像部と前記背景部とにより形成される潜像を規定する潜像マスクであって、各画素に前記潜像部または前記背景部の何れかを示す情報を有する前記潜像マスクを取得する潜像マスク取得工程と、
前記取得した潜像マスクのサイズを、前記潜像部の画像データ生成時に参照される潜像ディザマトリクスまたは前記背景部の画像データ生成時に参照される背景ディザマトリクスの倍数サイズに補正して補正潜像マスクを生成する潜像マスク補正工程と、
前記補正潜像マスクと、前記潜像ディザマトリクスと、前記背景ディザマトリクスとに基づいて画素毎の画像データを生成し、前記補正潜像マスクのサイズに対応する単位地紋画像データを生成する単位地紋画像生成工程と、
前記単位地紋画像データを繰り返し使用して、印刷対象の画像データと前記地紋画像データとを合成し、または、印刷サイズの前記地紋画像データを生成する単位地紋画像使用工程とを有することを特徴とする画像処理方法。
In an image processing method for generating copy-forgery-inhibited pattern image data for forming on a print medium a copy-forgery-inhibited pattern image including a latent image portion and a background portion that cause a difference in output density during copying,
A latent image mask that defines a latent image formed by the latent image portion and the background portion, the latent image mask having information indicating either the latent image portion or the background portion in each pixel is obtained. A latent image mask acquisition step,
The size of the acquired latent image mask is corrected to a multiple size of the latent image dither matrix referred to when generating the image data of the latent image portion or the background dither matrix referred to when generating the image data of the background portion. A latent image mask correction step for generating an image mask;
A unit background pattern for generating image data for each pixel based on the corrected latent image mask, the latent image dither matrix, and the background dither matrix, and generating unit background pattern image data corresponding to the size of the corrected latent image mask An image generation process;
A unit copy-forgery-inhibited pattern image use step of combining the image data to be printed and the copy-forgery-inhibited pattern image data by repeatedly using the unit copy-forgery-inhibited pattern image data, or generating the copy-forgery-inhibited pattern image data of a print size. Image processing method.
請求項11において、
前記単位地紋画像使用工程は、前記単位地紋画像データを、行単位に、第1の長さ分副走査方向にずらして配置させ、当該第1の長さは、前記潜像の領域を前記潜像部とし前記潜像の周辺の領域を前記背景部とする第1の潜像マスクの場合は前記背景ディザマトリクスの横辺の倍数サイズ、前記潜像の領域を前記背景部とし前記潜像の周辺の領域を前記潜像部とする第2の潜像マスクの場合は前記潜像ディザマトリクスの横辺の倍数サイズであり、
または、前記単位地紋画像データを、列単位に、第2の長さ分主走査方向にずらして配置させ、当該第2の長さは前記第1の潜像マスクの場合は前記背景ディザマトリクスの縦辺の倍数サイズ、前記第2の潜像マスクの場合は前記潜像ディザマトリクスの縦辺の倍数サイズであることを特徴とする画像処理方法。
In claim 11,
In the unit tint block image use step, the unit tint block image data is arranged in units of lines while being shifted in the sub-scanning direction by a first length, and the first length is based on the latent image area. In the case of a first latent image mask having an image portion and a peripheral region of the latent image as the background portion, a size that is a multiple of the horizontal side of the background dither matrix, and the latent image region is used as the background portion of the latent image. In the case of the second latent image mask having a peripheral region as the latent image portion, it is a multiple of the horizontal side of the latent image dither matrix,
Alternatively, the unit copy-forgery-inhibited pattern image data is arranged in units of columns and shifted in the main scanning direction by a second length, and the second length is the same as that of the background dither matrix in the case of the first latent image mask. An image processing method, wherein the size is a multiple of the vertical side, and in the case of the second latent image mask, the size is a multiple of the vertical side of the latent image dither matrix.
請求項11において、
さらに、前記地紋画像に合成されるカモフラージュ模様画像を構成し、各画素についてカモフラージュ模様画像の画像データを有するカモフラージュマスクを取得するカモフラージュマスク取得工程を有し、
前記潜像マスク補正工程は、前記潜像マスクのサイズを、前記潜像ディザマトリクスまたは前記背景ディザマトリクスに加えて、前記取得したカモフラージュマスクの倍数サイズに補正し、
前記単位地紋画像生成工程は、前記補正潜像マスクに加えて、前記補正したカモフラージュマスクに基づいて前記単位地紋画像データを生成することを特徴とする画像処理方法。
In claim 11,
Furthermore, it has a camouflage mask acquisition step of configuring a camouflage pattern image to be combined with the tint block image, and acquiring a camouflage mask having image data of the camouflage pattern image for each pixel,
The latent image mask correction step corrects the size of the latent image mask to a multiple size of the acquired camouflage mask in addition to the latent image dither matrix or the background dither matrix,
In the image processing method, the unit background pattern image generation step generates the unit background pattern image data based on the corrected camouflage mask in addition to the corrected latent image mask.
請求項13において、
前記単位地紋画像使用工程は、前記単位地紋画像データを、行単位に、前記補正したカモフラージュマスクの横辺の倍数サイズ分、副走査方向にずらして配置させ、
または、前記単位地紋画像データを、列単位に、前記補正したカモフラージュマスクの縦辺の倍数サイズ分、主走査方向にずらして配置させることを特徴とする画像処理方法。
In claim 13,
In the unit tint block image use step, the unit tint block image data is arranged in a row unit, shifted in the sub-scanning direction by a multiple of the horizontal size of the corrected camouflage mask,
Alternatively, the unit tint block image data is arranged in units of columns while being shifted in the main scanning direction by a multiple of the vertical side of the corrected camouflage mask.
複写時に出力濃度に差が生じる潜像部と背景部とを含む地紋画像を印刷媒体上に形成するための地紋画像データを生成する画像処理装置において、
前記潜像部と前記背景部とにより形成される潜像を規定する潜像マスクであって、各画素に前記潜像部または前記背景部の何れかを示す情報を有する前記潜像マスクを取得する潜像マスク取得手段と、
前記取得した潜像マスクのサイズを、前記潜像部の画像データ生成時に参照される潜像ディザマトリクスまたは前記背景部の画像データ生成時に参照される背景ディザマトリクスの倍数サイズに補正して補正潜像マスクを生成する潜像マスク補正手段と、
前記補正潜像マスクと、前記潜像ディザマトリクスと、前記背景ディザマトリクスとに基づいて画素毎の画像データを生成し、前記補正潜像マスクのサイズに対応する単位地紋画像データを生成する単位地紋画像生成手段と、
前記単位地紋画像データを繰り返し使用して、印刷対象の画像データと前記地紋画像データとを合成し、または、印刷サイズの前記地紋画像データを生成する単位地紋画像使用手段とを有することを特徴とする画像処理装置。
In an image processing apparatus for generating copy-forgery-inhibited pattern image data for forming on a print medium a copy-forgery-inhibited pattern image including a latent image portion and a background portion that cause a difference in output density during copying,
A latent image mask that defines a latent image formed by the latent image portion and the background portion, the latent image mask having information indicating either the latent image portion or the background portion in each pixel is obtained. Latent image mask acquisition means for
The size of the acquired latent image mask is corrected to a multiple size of the latent image dither matrix referred to when generating the image data of the latent image portion or the background dither matrix referred to when generating the image data of the background portion. Latent image mask correcting means for generating an image mask;
A unit background pattern for generating image data for each pixel based on the corrected latent image mask, the latent image dither matrix, and the background dither matrix, and generating unit background pattern image data corresponding to the size of the corrected latent image mask Image generating means;
Characterized in that it has unit copy-forgery-inhibited pattern image use means for repeatedly using the unit copy-forgery-inhibited pattern image data to synthesize the image data to be printed and the copy-forgery-inhibited pattern image data, or for generating the copy-forgery-inhibited pattern image data. An image processing apparatus.
JP2009167055A 2009-07-15 2009-07-15 Image processing program, image processing method, and image processing apparatus Expired - Fee Related JP5278217B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009167055A JP5278217B2 (en) 2009-07-15 2009-07-15 Image processing program, image processing method, and image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009167055A JP5278217B2 (en) 2009-07-15 2009-07-15 Image processing program, image processing method, and image processing apparatus

Publications (2)

Publication Number Publication Date
JP2011023964A JP2011023964A (en) 2011-02-03
JP5278217B2 true JP5278217B2 (en) 2013-09-04

Family

ID=43633648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009167055A Expired - Fee Related JP5278217B2 (en) 2009-07-15 2009-07-15 Image processing program, image processing method, and image processing apparatus

Country Status (1)

Country Link
JP (1) JP5278217B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6132260B2 (en) * 2013-07-30 2017-05-24 ブラザー工業株式会社 Print data editing program
JP6079728B2 (en) 2014-08-14 2017-02-15 コニカミノルタ株式会社 Image processing apparatus, image processing method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007124234A (en) * 2005-10-27 2007-05-17 Canon Inc Information processor and woven pattern printing method

Also Published As

Publication number Publication date
JP2011023964A (en) 2011-02-03

Similar Documents

Publication Publication Date Title
KR100647765B1 (en) Image processing method, image processing device and recording medium thereof
JP4535194B2 (en) Background pattern image generation program, background pattern image generation method, and background pattern image generation apparatus
US5258850A (en) Line screen design for gray scale rendering
JP3499921B2 (en) Pixel error diffusion method
JP6116229B2 (en) Apparatus, method, and program
JP4290681B2 (en) Image processing apparatus, image processing method, image processing program, machine-readable recording medium recording image processing program, and printed matter
US5260807A (en) Method and apparatus for imbedding controlled structure for gray scale rendering
US8705142B2 (en) Tint block image generation program, tint block image generation device, and tint block image generation method
JP5278217B2 (en) Image processing program, image processing method, and image processing apparatus
JP4502014B2 (en) Background pattern image generation program and background pattern image generation apparatus
JP2007124234A (en) Information processor and woven pattern printing method
JP5083115B2 (en) Background pattern image generation program and background pattern image generation apparatus
JP4434282B2 (en) Background pattern image generation program and background pattern image generation apparatus
JP4038956B2 (en) Image generation system and image generation method
JP2003209692A (en) Half-tone processing device, method therefor, and printer
JP2004048380A (en) Image processing apparatus, image processing method, and storage medium
JP5071315B2 (en) Background pattern image generation program and background pattern image generation apparatus
JP4363489B2 (en) Background pattern image generation program, background pattern image generation apparatus, and background pattern image generation method
JP2006310988A (en) Image processing apparatus and image processing method
JP4404155B2 (en) Background pattern image generation program and background pattern image generation apparatus
JP4826549B2 (en) Background pattern image generation program and background pattern image generation apparatus
JP2003125219A (en) Threshold value matrix, and method and apparatus for gradation reproduction using the same
JP2007295589A (en) Image forming apparatus
JP2007258930A (en) Facsimile machine
JP4930387B2 (en) Background pattern image generation program and background pattern image generation apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120410

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130322

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130506

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5278217

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees