This application is based upon and claims the benefit of priority from the prior Japanese Patent Applications No. 2007-221074, filed on Aug. 28, 2007, No. 2008-177568, filed on Jul. 8, 2008, and No. 2008-211321, filed on Aug. 20, 2008, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a tint block image generation program and a tint block image generation device, and more particularly to a program and device for generating tint block image data to be printed on a print medium. The present invention also relates to a tint block image generation program and generation device which has an effect to inhibit forgery by copying a print medium (original) on which a tint block image is printed based on the tint block data or an effect to distinguish between the original and the copy.
2. Description of the Related Art
The tint block is combined with the original image as background, and allows distinguishing whether the print document is the original or the copy. Characters or images in the forgery inhibited tint block can hardly be identified in the original, but if copied, the characters or images in the tint block emerge. Using this, the original and the copy can easily be distinguished. Also the characters or images in the tint block emerge in copying, so if an original is generated combining with the forgery inhibited tint block, an attempt to copy the original is psychologically discouraged.
The tint block is disclosed in Japanese Patent Application Laid-Open No. 2005-151456, and details follow according to this description.
Generally a tint block is comprised of two areas: a “latent image portion” where dots printed in the original remain or decrease little by copying, and a “background portion” where dots printed in the original are lost or greatly decreased by copying. In other words, in the latent image portion, density changes little by copying, and the original image is reproduced as is, and in the background portion, density changes considerably by copying, and the original image disappears. The characters or images of the tint block are generated by these two areas, and the characters and images of the tint block are called the “latent image”.
The densities of the latent image portion and the background portion are roughly the same, and in the original state, it is visually difficult to find such characters or images as “COPIED” of Japanese character are concealed in the tint block, but at the micro level, the background portion and latent image portion have different characteristics. When the tint block is copied, a density difference is generated between the latent image portion and the background portion, because of the difference of the respective change of density, which makes it easier to discern the characters or images of the tint block created by these two areas.
The latent image portion is comprised of clustered dots so that dots can be easily read when copying (scanning by copying), whereas the background portion is comprised of dispersed dots so that dots cannot be easily read when copying. By this, dots tend to remain in the latent image after copying, and dots tend to disappear in the background portion more easily than the latent image portion. Clustered dots or dispersed dots can be implemented by half tone processing using a different number of lines of half tone dots. In other words, half tone dots of which screen ruling is low are used to obtain a clustered dot arrangement, and half tone dots of which screen ruling is high are used to obtain a dispersed lot arrangement.
Generally a copier has a limitation in image reproducing capability, which depends on the input resolution in a step of reading the micro dots of a copy target original by a scanner, and the output resolution in a step of reproducing micro dots, read by the scanner, using a print engine. Therefore if isolated micro dots exist in the original, exceeding the limitation of the image reproducing capability of the copier, the micro dots cannot be perfectly reproduced in a copy, and the portions of the isolated micro dots disappear. In other words, if the background portion of the tint block is created so as to exceed the limitation of the dots that the copier can reproduce, then large dots (clustered dots) in the forgery inhibited tint block can be reproduced by copying, but small dots (dispersed dots) cannot be reproduced by copying, and a concealed latent image appears in the copy. Even if the dispersed dots in the background portion do not disappear completely by copying, a density difference is generated between the background portion and the latent image portion after copying if the degree of loss of dots is high, compared with the clustered dots in the latent image portion, then a concealed latent image appears in the copy.
In the tint block, a technology called “camouflage” is used to make it more difficult to discern characters or images concealed as a latent image. This camouflage technology is a method for arranging patterns, of which density is different from the latent image portion and the background portion, in the entire tint block image, and in a macro view, the camouflage patterns, of which density is different from the latent image portion and the background portion, standout, making the latent image even more obscure. In other words, the contrast of the camouflage patterns is high, and the contrast of the latent image portion and the background portion is smaller than this, so the latent image is more effectively concealed because of optical illusion. Also the camouflage pattern can give a decorative impression on printed matter, and allows creating an artistically designed tint block. Generally a camouflage pattern is created in binary, and the camouflage pattern is formed by not generating dots of the tint block in an area corresponding to the camouflage pattern. The camouflage pattern with two grayscales is disclosed in Japanese Patent Application Laid-Open No. H04-170569. The above is an overview of the tint block.
In the tint block 16, the latent image portion LI and the background portion BI are formed, excluding a black area CAM of the camouflage pattern, based on the latent image mask pattern 10 and the camouflage pattern 12 in
In the original of the forgery inhibited tint block in
The copy 20 is the same as the copy 18, except for the area CAM of the camouflage pattern. The contrast of the camouflage pattern drops because of the drop in the output density of the background portion BI, and the latent image COPY emerges.
As mentioned above, implementing both high concealment capability for the latent image in the original and high identification capability for a latent image in the copy is demanded for tint blocks. Adding a camouflage pattern can improve the concealment capability in the original, and provide a decorative image to the printed matter, making the tint block design artistic.
However a first problem is that a camouflage pattern formed by binary information, whether dots are generated or not, on the tint block is poor in the artistic expression of a pattern. A second problem is that in the case of the tint block with camouflage pattern 16 in
As mentioned above, it is demanded to prevent a drop in document discerning capability in the original, and to prevent a drop in latent image identification capability in the copy when a camouflage pattern formed by binary information is used. It is also demanded to improve the capability of artistic expression of camouflage patterns.
With the foregoing in view, it is an object of the present invention to provide a program and a device for generating a tint block with which design flexibility of a camouflage pattern is increased.
It is another object of the present invention to provide a program and device for generating a tint block with a camouflage pattern, which can prevent a drop in discerning capability for an original print document while maintaining the concealing capability for a latent image in an original.
It is still another object of the present invention to provide a program and a device for generating a tint block with a camouflage pattern which can prevent a drop in identification capability for a latent image in the copy.
To achieve the above object, a first aspect of present invention provides a computer-readable medium which stores a tint block image generation program for causing a computer to execute a tint block image generation step of generating tint block image data which forms, on a print medium, a tint block image including a latent image portion and a background portion, having different output densities to be reproduced during copying, and the tint block image generation step comprises:
a first step of acquiring camouflage pattern data that has multi-grayscales exceeding two grayscales;
a second step of generating corrected camouflage pattern data by correcting grayscale values of the camouflage pattern data based on input grayscale values of the latent image portion and background portion; and
a third step of generating latent image portion image data corresponding to the grayscale values of the corrected camouflage pattern data by referring to a latent image portion dither matrix in an area corresponding to the latent image portion, and generating background portion image data corresponding to the grayscale values by referring to a background portion dither matrix in an area corresponding to the background portion.
In the first aspect, it is preferable that the latent image portion image data and background portion image data which are generated by referring to the latent image portion dither matrix and background portion dither matrix in the third step, respectively, are image data to reproduce a multi-grayscale latent image portion image and a multi-grayscale background portion image, respectively.
In the first aspect, it is preferable that the latent image portion image data is image data for forming a plurality of first dots in positions corresponding to the grayscale values of the corrected camouflage pattern data, the background portion image data is image data for forming a plurality of second dots in positions corresponding to the grayscale values of the corrected camouflage pattern data, and the latent image portion dither matrix is a dot-clustered dither matrix where dots are clustered in the center of the first dots, and the background portion dither matrix is a dot-dispersed dither matrix where the second dots are dispersed.
In the first aspect, it is preferable that characteristics of output densities with respect to a possible range of the grayscale values match between the latent image portion dither matrix and background portion dither matrix, and the input grayscale values of the latent image portion and background portion are the same.
In the first aspect, it is preferable that the multi-grayscale camouflage pattern data has grayscale data of a plurality of colors, and in the first step, the grayscale values of the camouflage pattern data are grayscale values which are determined based on the grayscale values of the plurality of colors.
A second aspect of the present invention provides a computer-readable medium which stores a tint block image generation program for causing a computer to execute a tint block image generation step of generating tint block image data which forms, on a print medium, a tint block image including a latent image portion and a background portion, having different output densities to be reproduced during copying, and the tint block image generation step comprises:
a step of acquiring camouflage pattern data that has multi-grayscales exceeding two grayscales; and
a step of generating latent image portion image data corresponding to grayscale values of the camouflage pattern data by referring to a latent image portion dither matrix in an area corresponding to the latent image portion, and generating background portion image data corresponding to the grayscale values by referring to a background portion dither matrix in an area corresponding to the background portion, and wherein
characteristics of output densities with respect to a possible range of input grayscale values match between the latent image portion dither matrix and background portion dither matrix, and the grayscale values of the latent image portion and background portion are set to the maximum input grayscale value out of the possible range of the input grayscale values of the latent image portion dither matrix and background portion dither matrix.
A third aspect of the present invention provides a tint block image generation device according to the first or second aspect.
Embodiments of the present invention will now be described with reference to the drawings. The technical scope of the present invention, however, shall not be limited to these embodiments, but extend to matters stated in the Claims and equivalents thereof.
The host computer 30 also generates tint block data with camouflage pattern 37 using the printer driver 32 in response to a request from user. When a print request is received from the user for the image data generated by the application 31, the printer driver generates a print job of the printing target image data 36 based on a printer control language which the printer device 40 can interpret. If the print request from the user includes a request to add the tint block data to the printing target image data 36, then the printer driver 32 generates the tint block data, includes the tint block data 37 in the print job, and sends this data to the interface IF of the printer 40.
The image data 36 could take various forms, such as data described by a page description language, data developed into intermediate code of a printer, and RGB bit map data developed into pixels. The tint block data with camouflage pattern 37 is image data generated by screen-processing the grayscale data of a multi-grayscale camouflage pattern corrected (or modulated) by input grayscales of the tint block using the dither matrices 33 and 34. According to the present embodiment, the camouflage pattern has a multi-grayscale (three or more grayscales), and the grayscale data of the camouflage pattern is 3-bit or more binary data. The tint block data 37 is data to indicate the ON/OFF of dots of each pixel, for example. The ON/OFF of the tint block data is represented by binary values, 0 and 1, for each pixel, for example. If the print target image data is represented by an 8-bit grayscale value for each color, R, G and B, then the ON/OFF of the dots of the tint block data may be represented by 8 bits for each pixel, where ON is a value corresponding to the maximum grayscale value 255, and OFF is a value corresponding to the minimum grayscale value 0.
The printer 40, on the other hand, comprises a print engine 46, which comprises a print medium providing unit, a print execution unit for generating an image on a print medium, and a print medium discharge unit, and a controller 41 for performing a predetermined image processing on a received image data 36 and tint block data 37, and controlling the print engine 42. A CPU of the controller 41 executes an image generation program 42 and generates bit map data by developing the received image data 36 into pixels. If the received image data 36 is already in bit map data format, this bit map data can be directly used.
A combining unit 43 combines bit map data which has a grayscale value for each pixel of the image data 36, and dot data of the tint block data 37. The combining process is a superimposing an image of tint block data 37 with an image of the image data 35 for example. A color conversion unit 44 converts the color of combined RGB data into CMYK data, a binary unit 45 converts the CMYK bit map data into a data of dots in a pixel using a predetermined screen, and outputs the result to the print engine 46. As a result, the print engine 46 prints a combined image of the image generated by the application program and the tint block image on the print media. This is the original.
According to another combining method, before combining the bit map data of the image data 36 and the tint block image data, the color of RGB bit map data of the image data 36 is converted into CMYK bit map data, and the tint block data 37 is combined with a bit map data having any one color of CMYK. In this case, the dot ON/OFF information for each pixel of the tint block data 37 is used as the maximum grayscale value/minimum grayscale value of the bit map data, and this bit map data of any one color of CMYK of the image data 36 is overwritten by this tint block 37. For example, if the image data 36 is text data of black K, the bit map data of any one color of CMY is converted into tint block data 37. Or the pixels of which grayscale value is the minimum density of the bit map data of any one color of the image data 36 is overwritten by the tint block data 37.
In the embodiment in
The tint block generation method by the tint block image generation device according to the present embodiment will now be described in brief. The tint block image generation device is a host computer, in the case of the tint block image being generated by the printer driver 32, or the printer 40, in the case of the tint block image being generated by the image generation program 42. In the present embodiment, just like
The camouflage pattern data according to the present embodiment is 8-bit (0: black to 255: white) grayscale value data for each pixel, and is grayscale image data represented by 256 grayscales. The output density of the camouflage pattern is lower as the grayscale becomes closer to 0 (black), and is higher as the grayscale becomes closer to 255 (white). The output density DA of the tint block, which is output with respect to the grayscale value A (A=0 to 255) of the camouflage pattern is
DA=(A/255)×Dmax(0≦A≦255) (1)
where Dmax is the output density of the tint block in the case of no adding the camouflage pattern.
Therefore when the grayscale values of a camouflage pattern are all white (A=255), the output density DA of the tint block with a camouflage pattern becomes DA=Dmax, that is, the same output density as a tint block without a camouflage pattern. In other words, the output becomes the same as the output of the area other than the pattern CAM in 16 of
As mentioned above, if the multi-grayscale camouflage pattern is used, the multi-grayscale camouflage pattern can be combined with the latent image portion and background portion of the tint block, and compared with 1-bit camouflage pattern data, the contrast of the camouflage pattern can be decreased.
In order to reflect the above camouflage pattern in the tint block, the tint block image generation device generates the corrected camouflage pattern grayscale data based on the input grayscales of the latent image portion and background portion (S3). The input grayscales of the latent image portion and background portion correspond to the output density of the tint block image, and are grayscale values determined by default, or grayscale values corresponding to the output density of the tint block image which the user selected arbitrarily. As the above Expression (1) shows, the tint block image with a camouflage pattern is an image generated by modulating the tint block image comprised of the latent image portion and background portion, with the grayscale values of the multi-grayscales camouflage pattern. In other words, the tint block image with a camouflage pattern is an image generated by modulating the grayscale values of the multi-grayscale camouflage pattern with the input grayscales of the tint block image. The procedure S3 is a procedure to generate the camouflage pattern grayscale data by performing this modulation processing, and the corrected camouflage pattern grayscale data is the modulated grayscale data.
Finally, the tint block image generation device screen-processes the corrected camouflage pattern grayscale data, by referring to the latest image portion dither matrix 33 or the background portion dither matrix 34, according to the latent image mask pattern data, and generates the tint block data with camouflage pattern 37 (S4). In other words, the tint block image data is generated referring to the latent image portion dither matrix 33 in an area corresponding to the latent image portion, and the tint block image data is generated referring to the background portion dither matrix 34 in an area corresponding to the background portion.
The latent image portion dither matrix 33 and background portion dither matrix 34 are a threshold matrix or a grayscale conversion matrix, for example, which are both dither matrices that can be converted into multi-grayscale image data. The dither matrices 33 and 34 may be an AM screen, which represents multi-grayscales by a dot area, or may be an FM screen, which represents multi-grayscales by a dot density. However, the output density to be reproduced in copying must be different between the latent image portion and background portion as an original function of the tint block image, so the screen to be used must implement this function. For example, the screen ruling is different between the latent image portion dither matrix 33 and the background portion dither matrix 34. Or the latent image portion dither matrix 33 and the background portion dither matrix 34 are the dot clustered matrix and dot dispersed matrix respectively.
Now a procedure to generate tint block data with a camouflage pattern according to the present embodiment will be described.
The latent image portion is generated to be an image with a predetermined output density by a plurality of first dots using the latent portion image dither matrix 33. The background portion, on the other hand, is formed to be an image with a predetermined output density by a plurality of second dots using the background portion dither matrix 34. In order to increase the latent image concealing capability in the original, it is preferable that the latent image portion and background portion become images which have a similar output density.
The latent image portion basic dither matrix DM-LI in
As mentioned above, in the original, the tint block is demanded to keep concealment capability for the latent image high by equalizing output densities of the background portion and latent image portion. In the copy, it is demanded to increase the identification capability for the latent image by increasing the difference of output densities between the background portion and latent image portion, and increasing the output density of the latent image portion. The first dot D1, which is large, hardly disappears in the copy, but the second dot D2, which is small, easily disappears in the copy. Thereby the output densities during copying differs between the latent image portion and background portion.
However, in the image generated by the dither matrices DM-BI and DM-LI in
When the tint block image generation device uses the latent image portion basic dither matrix DM-LI shown in
However, the output density corresponding to the input grayscale In=1 in the background portion is between two output densities corresponding to the input grayscales In=12 and 13 in the latent image portion. Therefore, it is not possible to make the output densities of the background portion and latent image portion the same.
The output density range that can be used as the tint block image is 10 to 15% of the maximum output density. In the range of the output density 10 to 15%, the number of grayscales of the output density that can be reproduced by the latent image portion basic dither matrix is at most 20. Since the change of the output densities that can be adjusted by changing one step of the input grayscale value of the latent image portion becomes greater than a predetermined value, it is difficult or impossible to match the output density of the latent image portion with the output density of the background portion at high precision, even if the screen ruling of the latent image portion dither matrix is increased, and the number of grayscales of the output density of the latent image portion is increased.
Even if the change of the output density of the tint block image is enabled within a 10 to 15% range by doubling or quadrupling the size of the background portion basic dither matrix, and increasing the number of grayscales of the output density of the background portion, it is still difficult or impossible to match the output density of the background portion and the output density of the latent image portion at high precision due to reasons similar to above.
Therefore in the present embodiment, for the background portion dither matrix and latent image portion dither matrix, the dither matrices which are generated based on the basic dither matrix in
In order to generate the dither matrix 3334, the sizes of the basic dither matrices DM-BI and DM-LI in
Then using the diffused dither matrix, a background portion and latent image portion, with respect to the plurality of input grayscale values, are printed by a printer, and the output density is measured by a colorimeter. Based on the measurement result of this output density, thresholds are corrected so as to be ideal output density characteristics, such as linear characteristics, with respect to the input grayscale 0 to 255. This correction is the same correction which is normally performed in the calibration step of the screen gamma table. As a result, a corrected and diffused dither matrix is generated.
Finally, the thresholds of the corrected and diffused dither matrix are multiplied by 15/100 so that the maximum value becomes about 15% of the maximum output density, whereby the low density area expanded dither matrices 33 and 34 are generated. In other words, if screen processing is performed using a low density area expanded dither matrix, the output density characteristics, where the output density increases to about 15% at maximum with respect to the input grayscale 0 to 255, are implemented.
In the case of the low density area expanded dither matrix 33 of the latent image portion in
Therefore, by using the low density area expanded dither matrix 33 of the latent image portion, in the image of the latent image portion, the first dot D1 changes from being at the minimum size of an element at positions of the displacement vectors (−8, 8) and (8, 8), to being at the maximum size of the black and gray elements with respect to the input grayscale 0 to 255. Since the output density when the first dot D1 is at the maximum size is 15% solid black, the output density changes in a 0 to 15% range with respect to the input grayscale 0 to 255. Therefore many grayscales (254 grayscales) exist in the output density 0 to 15% range.
In the latent image portion basic dither matrix DM-LI in
In the low density area expanded dither matrix 34 of the background portion in
If the low density area expanded dither matrix 34 of the background portion is used, micro dots D2 are sequentially generated only in pixels at the positions of the displacement vectors (−2, 2) and (2, 2) for the input grayscale values 0 to 255, and dots are not generated for other pixels. Therefore the image of the background portion has only the micro dots D2 dispersed at positions of a screen ruling of 212 lpi, and other dots are not generated. The output density, when micro dots D2 are generated in all pixels at the positions of the displacement vectors (−2, 2) and (2, 2), is about 12% solid black. In other words, the output density of the low density area expanded dither matrix 34 of the background portion increases or decreases within roughly a 0 to 12% range with respect to the input grayscales 0 to 255. As a result, a stable arrangement of micro dots, with which characteristics of the background portion can be exhibited the most, is guaranteed.
The above is a description on the background portion and latent image portion dither matrices 33 and 34 according to the present embodiment.
Now a method for generating the tint block image data with a multi-grayscale camouflage pattern according to the present embodiment will be described.
If the user generates an original latent image mask pattern, the user inputs the text of the tint block (S10). For example, the text “COPIED”, “DUPLICATE” or “CONFIDENTIAL” and this text becomes the latent image of the tint block. Also the size of the tint block text, such as 48 point, is input (S11), an angle of the tint block text, such as 40 degrees, is input (S12), and the tint block effect and the arrangement are selected (S13). The tint block effect is twofold: the text is either void (text is white and surrounding is block) or embossed (text is black and surrounding is white). In the case of void, the text becomes the background portion, and the surrounding becomes the latent image portion, and in the case of embossed, the text becomes the latent image portion and the surrounding becomes the background portion. The arrangement of the tint block is square, oblique and inverted, for example.
When the user finishes input or selection in steps S10 to S13, the printer driver 32 generates a latent image mask pattern (S14). An example of the latent image mask pattern is a 1-bit data, where the latent image portion area and background portion area can be distinguished, as shown in
If the user uses a default latent image mask pattern, S10 to S14 are omitted, and the latent image mask pattern by the user is selected. Then the printer driver 32 sets the input grayscale value of the tint block (S16). If the latent image portion dither matrix 33 and background dither matrix 34 shown in
As the output density characteristics in
The printer driver 32 acquires the camouflage pattern data according to the selection request from the user (S17). The camouflage pattern data is stored in a memory of the host computer or external memory, and the printer driver acquires the camouflage pattern according to the selection request from the user.
Grayscale value A of the camouflage pattern is gray data, as mentioned above. If the camouflage pattern is RGB color image data, the grayscale value A is determined by the following Expression (2).
A=0.3×R+0.59×G+0.11B (2)
As a result of defining the grayscale values of the camouflage pattern data using black “0” and white “255”, the camouflage pattern image generated by the camouflage pattern data and the camouflage pattern image reflected in the tint block are images in which black/white are inverted. In order to allow the user to select the camouflage pattern in a state reflected on the tint block, it is preferable that the printer driver 32 displays a white/black inverted camouflage pattern image on the select screen. The grayscale value K of the image data of the white/black inverted image is determined by the following Expression (3).
K=255−A (3)
Then the printer driver 32 selects a color of the tint block (e.g. black, cyan, magenta) (S18) according to the selection request of the user. It is desirable that the color of the tint block is a single color. The grayscale values of the camouflage pattern data are therefore the grayscale value K generated from the grayscale values A of the gray data, as mentioned above, according to the equation (3). The reason is a difference between RGB of additive color mixture and CMYK of subtractive color mixture.
When S10 to S17, including input by the user, ends, the printer driver 32 executes the tint block image generation processing (S19). The tint block image generation processing is performed according to the flow chart in
If grayscale values of the camouflage pattern are A (0≦A≦255), and the input grayscales of the latent image portion and background portion constituting the tint block are In (1≦In≦254), The grayscale value A is converted to the grayscale value K. And the grayscale value Ki of the corrected camouflage pattern is computed by the following Expression (4).
Ki(K/255)×In (4)
This expression corresponds to the above mentioned Expression (1).
In step S16 to set the input grayscale values of the tint block image in
Therefore according to the present embodiment, a common input grayscale In=170 is used for both the latent image portion and background portion to simplify the computation. However, the background portion dither matrix 34 is normalized so that the maximum output density (12%) is implemented when the input grayscale is In=170 (e.g.
Or, as in the later mentioned variant form of the present embodiment (
Now the case when the input grayscale In=170 is set will be described. In step S21, the grayscale value data of the corrected camouflage pattern, when the input grayscale In=170, is computed based on Expression (4). Then the printer driver 32 normalizes the background portion dither matrix 34 in
Normalized threshold=(threshold/254)×In (5)
Therefore in the normalized background portion dither matrix 34N in
The input grayscale value In of the latent image portion may fluctuate due to age deterioration of the engine. By generating the normalized background portion dither matrix 34N using the input grayscale value In when fluctuation occurs, age deterioration can be absorbed.
Back in
The printer driver compares the grayscale values of the corrected camouflage pattern and the thresholds of the dither matrices 33-4 and 33-5, and if the grayscale value is the threshold or more, the pixel dot is set to ON, and if the grayscale value is less than the threshold, the pixel dot is set to OFF. The grayscale values of the corrected camouflage pattern are set only in a 0 to 254 range. Or if the input grayscale value is 255, such pixels dots are all set to OFF. The comparison target dither matrix is selected corresponding to black or white of the latent image mask pattern.
According to the flow chart in
By this, the first dots (half tone) having a size corresponding to the corrected camouflage pattern grayscale value Ki are generated in the latent image portion, and a number of second dots corresponding to the corrected grayscale value Ki are generated in pixels in the corresponding positions in the background portion.
When the above processing completes, the index j in the row direction of the pixels is incremented (j=j+1) (S24), and the same processing is repeated until the index j reaches the print size width (S25). When the index j reaches the print size width (YES in S25), the index i in the column direction is incremented (i=i+1), and the index j in the row direction is reset to 0 (S26), and the same processing is repeated. When the index i in the column direction reaches the print size height (YES in S27), one page of tint block image generation processing completes. In this way, the processing target pixels are processed from the upper left in the raster scan direction, and each pixel is set to dot ON or OFF.
By the above processing, the tint block data reflecting the multi-grayscale camouflage pattern is generated.
The tine block image generated in this way becomes the tint block image data where each pixel is set to either dot ON or OFF.
The generated tint block image data and the print target image data 36 are combined as follows.
After the print target image data is converted from the RGB bit map data having RGB grayscale values into CMYK bit map data having printer colors, the tint block image is combined with the bit map data having a color of the tint block specified by the user (one of cyan, magenta and black, in the case of this example), out of the CMYK bit map data of the print target image data.
In this combining method, the dot ON data of the tint block image is converted into the grayscale value corresponding to the maximum density of the above mentioned bit map data, and the dot OFF data is converted into the grayscale value corresponding to the minimum density “0” of the bit map data. In the printer, if the values of RGB are 8-bit grayscale values respectively, then the grayscale value corresponding to the maximum density is “255”, and the grayscale value corresponding to the minimum density is “0”. This tint block image data converted into the maximum grayscale value or the minimum grayscale value is overwritten by the grayscale data of the pixels having a grayscale value greater than the grayscale value “0” in the bit map data of the specified tint block color of the print target image data. By this, the tint block image is formed in the pixels having the grayscale value “0” in the print target image, and the print target image is generated in other pixels.
Another combining method is overwriting the tint block image data on the bit map data with the specified tint block color of the print target image data. For example, if the print target image data is data to generated a black character, the CMY bit map data has the grayscale value “0” in all the pixels. Therefore the bit map data with the specified tint block color, out of CMY, does not have information of the print target image data, so all bit map data having this color is replaced with the tint block image data.
The combining method is not limited to the above mentioned overwriting, but may blend the print target image and the tint block image at a predetermined ratio based on the type of image (e.g. text, image, graphic) and the grayscale value of each pixel of the print target image data. The tint block data may be overwritten only on a portion where the grayscale value of the print target data is “0” for all of CMYK out of the bit map data having the specified tint block color, that is, a portion where an image is not formed on the print medium based on the print target image data.
The combined image data is printed on the print medium via ordinary binary processing (screen processing) of a printer.
Out of the combined image data, the portion comprised of only the tint block image is comprised of pixels having the maximum density grayscale value and the minimum grayscale value, so regardless what the threshold matrix of the screen processing is like, the grayscale is converted such that the density value of the portion having the maximum density “255” remains as this density value, and the portion having the minimum density “0” remains as density “0” even after screen processing. As a result, the tint block image generated in the tint block generation processing is printed on the print medium.
The generation of the tint block image with a multi-grayscale camouflage pattern according to the present embodiment will be described using examples.
In the latent image mask pattern 10A, the first dots D1 corresponding to the corrected grayscale Ki=170 are formed in the area 12E, and the first dots D1 corresponding to the corrected grayscale Ki=128 and 85 are formed in the areas 12D, 12C, 12F and 12G. Outside the latent image mask pattern 10A, the second dots D2 corresponding to the corrected grayscale Ki=170 are formed on all the displacement vectors in the area 12A, and the second dots D2 corresponding to the respective corrected grayscale Ki=43, 85, 128, 128, 85 and 43 are formed in the other areas 12B, 12C, 12D, 12F, 12G and 12H.
As the tint block image in
For normalization, the following Expressions (6) and (7) are used.
Normalization threshold=(threshold/In)×254(1≦threshold≦In) (6)
Normalization threshold=255(if In<threshold) (7)
In other words, the thresholds 1 to In (=170) in the latent image portion dither matrix 33 in
When the background portion dither matrix 34 and the normalized latent image portion dither matrix 33N in
In other words, the step of computing the grayscale values of the corrected camouflage pattern (S3 in
However, it is necessary that the output density characteristics with respect to the possible input grayscale value range 0 to 255 of the latent image portion dither matrix 33N and the background portion dither matrix 34 match, and the input grayscale values In of the latent image portion and the background portion of the tint block image are the input grayscale value “255”, which is the maximum in the possible input grayscale value range of the latent image portion dither matrix and background portion dither matrix. In other words, if the latent image portion and background portion dither matrices are designed to be optimum output densities at the maximum input grayscale value In=255, as mentioned above, then the tint block image with a multi-grayscale camouflage pattern can be generated by performing halftone processing in which these dither matrices are referred to for the grayscale values of the camouflage pattern according to the latent image mask pattern.
The normalized dither matrix 34N in
As described above, according to the present embodiment, three-dimensional patterns can also be represented by using the multi-grayscale camouflage pattern, and artistic expression and flexibility of a camouflage pattern can be improved dramatically. The contrast of the camouflage pattern can be adjusted to be lower, so when a camouflage pattern is combined with a print document image, the camouflage pattern does not drop the discerning capability of original. Also in the copy of the tint block image, dots can remain corresponding to the grayscale values of the camouflage pattern, both in the latent image portion and the background portion, so the identification capability for the latent image “COPY” in the copy can be improved.
Number | Date | Country | Kind |
---|---|---|---|
2007-221074 | Aug 2007 | JP | national |
2008-211321 | Aug 2008 | JP | national |