This application claims the benefit of Japanese Patent Application No. 2022-035506, filed Mar. 8, 2022, which is hereby incorporated by reference herein in its entirety.
The present disclosure relates to a technique of handling information embedded in a printed original (hereinafter, referred to as print original).
A technique is known in which information is embedded by multiplexing in printing of an electronic document on paper. Japanese Patent Laid-Open No. 2007-6134 (hereinafter, referred to as Literature 1) describe a technique of embedding two different types of additional information in the same print original by two different types of means and a technique of reading the additional information from the print original. Specifically, Literature 1 describes a technique in which first additional information is embedded by using a print density of a visible light region and second additional information is embedded by using a print density of an invisible light region.
In the technique of Literature 1, an invisible light reading unit needs to be provided in addition to a visible light reading unit.
An image processing apparatus according to one aspect of the present disclosure includes: a first obtaining unit configured to obtain an original image; a second obtaining unit configured to obtain a first multiplexed image created by embedding first information in the original image by a first method in which a shape of a pattern is changed; a third obtaining unit configured to obtain a second multiplexed image created by embedding second information in the first multiplexed image by a second method in which a density of a pattern is changed, the second information being a different type of information from the first information; and a control unit configured to perform control of outputting print data for a print original by using the second multiplexed image.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Preferable embodiments of the present disclosure are described below in detail with reference to the attached drawings. Note that the embodiments described below do not limit the matters of the present disclosure, and not all of combinations of features described in the following embodiments are necessarily essential for solving means of the present disclosure.
Returning to the
The CPU 501 executes a process according to programs held in the HDD 503 or the RAM 502. The RAM 502 is a volatile storage, and temporarily holds programs and data. The HDD 503 is a non-volatile storage, and holds programs and data. The data transfer interface (I/F) 504 controls exchange of data with the MFP 10. Wired connection such as USB, IEEE 1394, or LAN and wireless connection such as Bluetooth or Wi-Fi can be used as a connection method for this data exchange. The keyboard mouse interface (I/F) 505 is an I/F that controls a human interface device (HID) such as a keyboard or a mouse. A user can perform input through the keyboard mouse I/F 505. The display interface (I/F) 506 controls displaying in a display (not illustrated). The network interface (I/F) 507 connects the host PC 50 to an external network, communicates with one or multiple external PCs, and makes a check request and a result request of a document ID, a request of document data, and the like. Note that the example illustrated in
The MFP 10 includes a CPU 101, a RAM 102, a ROM 103, a data transfer I/F 104, a head controller 105, and an image processing accelerator 106. The MFP 10 also includes a scanner controller 107 and a motor controller 108.
The CPU 101 executes processes to be described later in
The data transfer interface (I/F) 104 controls exchange of data with the host PC 50. The head controller 105 controls a heating operation of heaters mounted in the print head 14 based on the print data to eject the inks. Specifically, the head controller 105 may be configured to read control parameters and the print data from predetermined addresses in the RAM 102. In the case where the CPU 101 writes the control parameters and the print data to the predetermined addresses in the RAM 102, the head controller 105 activates a process and performs the heating operation of the heaters mounted in the print head 14. The image processing accelerator 106 is formed of hardware, and executes image processes at higher speed than the CPU 101. Specifically, the image processing accelerator 106 may be configured to read parameters and data necessary for the image processes from predetermined addresses in the RAM 102. In the case where the CPU 101 writes the parameters and the data to the predetermined addresses in the RAM 102, the image processing accelerator 106 is activated and performs a predetermined image process. Note that the image processing accelerator 106 is not necessarily an essential element, and the aforementioned image processes may be executed only in processes by the CPU 101 depending on specifications of the printer or the like. Moreover, although description is given by using the inkjet printing apparatus that prints images by ejecting the inks as an example of the printing apparatus, a printing apparatus that applies inks to a medium in another method may be used. Moreover, an electrophotographic printing apparatus that prints images by using toners may be used.
The scanner controller 107 controls the scanner unit 12 that functions as a reading apparatus. For example, the scanner controller 107 instructs the scanner unit 12 to irradiate an original with light and transmit light amount information obtained by catching reflected light with an imaging element such as a CCD to the scanner controller 107. Specifically, in the case where the CPU 101 writes control parameters and a read data write-out address in predetermined addresses of the RAM 102, the scanner controller 107 activates a process. Then, the scanner controller 107 performs light emission control of an LED mounted in the scanner unit 12, a process of obtaining the light amount information from the scanner unit 12, and a process of writing the light amount information after the read data write-out address in the RAM 102.
The motor controller 108 controls motor operations of not-illustrated multiple motor units. The motors are used in the case where the print head 14 is moved relative to a print sheet, the case where the scanner unit 12 is moved relative to a read original, and similar cases. Moreover, some MFPs include a motor for maintenance of the print head.
In the present embodiment, description is given of an example in which the following two types of information are embedded in the print original (print document).
First, the information embedding process is described. In S3001, the MFP 10 obtains the document data. Specifically, in the present embodiment, the host PC 50 connects to a not-illustrated external PC via the network I/F 507 to make a request for the document data, and obtains the document data from the external PC. The host PC 50 transmits a command to print the obtained document data to the MFP 10. In S3001, the MFP 10 obtains the document data sent from the host PC 50 as described above.
In the present example, the document data is assumed to be described in a PDL. The PDL is an abbreviation of page description language, and is formed of a set of rendering commands in a page unit. Types of rendering commands are defined for each PDL specification, and the following three types are mainly used as examples in the present embodiment
PDLs that are generally commonly used include portable document format (PDF) proposed by Adobe Inc., XPS proposed by Microsoft Corporation, IP-GL/2 proposed by Hewlett-Packard Company, and the like. Any PDL may be used as the PDL in the present embodiment, and a PDL other than those described above may be applied.
<PAGE=001> in the first row is a tag expressing the page number in the present embodiment. Since the PDL data is normally designed to enable description of multiple pages, a tag indicating page partition is written in the PDL data. In the present example, the PDL expresses that the first page is up to </PAGE> in the ninth row. In the present example, the first page corresponds to the original 400 of
A portion from <TEXT> in the second row to </TEXT> in the third row is a rendering command 1, and corresponds to a character string of the first row in an object 401 of
A portion from <TEXT> in the fifth row to </TEXT> in the sixth row is a rendering command 2, and corresponds to a character string of the second row in the object 401 of
A portion from <TEXT> in the seventh row to </TEXT> in the eighth row is a rendering command 3, and corresponds to a character string of the third row in the object 401 of
A portion from <BOX> to </BOX> in the ninth row is a rendering command 4, and corresponds to an object 402 in
Next, an image rendering command in the tenth row corresponds to an object 403 in
Then, </PAGE> written in the eleventh row describes that the rendering for this page is completed.
Note that, in many cases, an actual PDL file is a file integrally including the “STD” font data and the “PORTRAIT.jpg” image file in addition to the rendering command set described above. This is because, in the case where the font data and the image file are separately managed, the character portion and the image portion cannot be formed only with the rendering commands, and information is insufficient for forming the image of the original 400 in
In S3002, the MFP 10 obtains the document ID that indicates the authenticity of the document data obtained in S3001. For example, the document ID may be information calculated based on the entire document file including the PDL file, the font data, and the image file described above. In the present embodiment, the document ID is 256-bit information. A calculation method of this document ID is designed such that, in the case where any of the files forming the document is changed, the calculated document ID takes a different value. Accordingly, a unique document ID corresponds to the document file. Specifically, in the present embodiment, the document ID is obtained in such a way that the MFP 10 makes the request of the document ID to the external PC from which the host PC 50 has obtained the document file, and receives the document ID. Note that the MFP 10 may obtain the document ID from the host PC 50. Moreover, the MFP 10 may obtain the document ID together with the document data.
As another implementation method, there may be adopted a configuration such as a block chain in which the document data and the document ID are managed in multiple external PCs and the host PC 50 makes the request of the document ID to these multiple PCs. Then, the MFP 10 may obtain the document data and the document ID obtained by the host PC 50 as described above. Using a system such as the block chain can reduce a manipulation risk of the document ID itself.
Subsequently, in S3003, the MFP 10 performs a rendering process of the document data obtained in S3001. The rendering process is a process of executing the rendering commands described in the PDL data and forming a bitmap image formed of color information of each pixel. In the present embodiment, since the original 400 of
In S3004, the MFP 10 performs a multiplexing process of generating a multiplexed image (also referred to as first multiplexed image) in which the document ID is multiplexed. Note that the multiplexing is also referred to as embedding. Specifically, the document ID obtained in S3002 is superimposed on the bitmap image generated in the rendering in S3003 to generate the multiplexed image. Reasons for performing the multiplexing process include the following reason: in the case where an outputted product (print original) in which the multiplexed image is printed is copied with a copier, the multiplexing process allows the document ID to be extracted from the scanned print original on the copier side. Using such a multiplexed image enables, for example, determination of whether the print original itself is an original based on a digital document managed by the document ID.
In the present embodiment, the embedded information is handled as binary data, and is superimposed on the bitmap image. The binary data is described below. Handling information in the information processing apparatus typified by the PC specifically means handling binary data. The binary data is information of “0” or “1”, and consecutive connection of pieces of information of “0” and “1” causes the binary data to have a specific meaning. For example, in the case where information of “hello” is handled in binary data, in the case of “shift JIS” that is one of character codes, “h” corresponds to binary data “01101000”. Similarly, “e” corresponds to binary data of “01100101”, “1” corresponds to binary data of “01101100”, and “o” corresponds to binary data of “01101111”. Specifically, the characters “hello” can be expressed as “0110100001100101011011000110110001101111” in binary data. Conversely, in the case where the binary data of “0110100001100101011011000110110001101111” is obtained, the characters “hello” can be obtained. It can be understood based on this idea that the multiplexing can be implemented by embedding data in such a way that “0” and “1” are determinable.
Two masks illustrated in
A pseudo-code that alternately applies the mask of
As described above, embedding of information by multiplexing can be implemented by the aforementioned method.
In the present embodiment, the aforementioned embedding of the document ID is performed only on the B pixel values among the RGB pixel values in
As illustrated in
Note that, in the aforementioned example, it is described that the masks of
Returning to the explanation of the flowchart of
Next, in S3006, the MFP 10 performs the multiplexing process of further superimposing the apparatus information on the multiplexed image (first multiplexed image) generated in S3004. The multiplexing process of the apparatus information in S3006 is performed by using patterns for multiplexing of the apparatus information, unlike the multiplexing process of the document ID in S3004. The image on which the apparatus information is further multiplexed is also referred to as second multiplexed image.
In an actual embedment pattern, the apparatus information may be embedded as it is or a pattern obtained by encoding the apparatus information may be embedded.
The multiplexed image (second multiplexed image) in which the first information and the second information are embedded is thereby generated. Although the example of generating the multiplexed image by multiplexing the apparatus information in the image subjected to the multiplexing of the document ID is described in this section, the configuration is not limited to this. The multiplexed image may be generated by multiplexing the document ID in an image subjected to the multiplexing of the apparatus information. Moreover, the document ID and the apparatus information may be multiplexed in combination.
Description continues by returning to
In the color conversion, specifically, a three-dimensional look-up table is used to calculate a preferable combination of output pixels values (Rout, Gout, Bout) for a combination of input pixel values (Rin, Gin, Bin). Ideally, since each of Rin, Gin, and Bin that are the input values have 256 levels, a table Table1 [256][256][256][3] having 256×256×256, that is a total of 16,777,216 combinations of output values is prepared. Then, the color conversion can be implemented by setting the output pixel values as follows.
Rout=Table1[Rin][Gin][Bin][0]
Gout=Table1[Rin][Gin][Bin][1]
Bout=Table1[Rin][Gin][Bin][2]
Moreover, it is possible to use a publicly-known technique of reducing the table size such as reducing the number of grids in the look-up table from 256 grids to, for example, 16 grids or the like and determining the output values by interpolating table values of multiple grids.
The ink color separation is a process of converting Rout, Gout, and Bout that are the output values of the color conversion process to output values of the respective ink colors used in the printing apparatus. In the present embodiment, the four ink colors of cyan, magenta, yellow, and black are assumed to be used. Although there are various methods of implementing this conversion, in the present embodiment, a preferable combination of ink color pixel values (C, M, Y, K) is calculated for the combination of the output pixel values (Rout, Gout, Bout) as in the color conversion process. In this calculation, a three-dimensional look-up table Table2 [256][256][256][4] is used. Then, the ink color separation can be implemented by setting the ink color pixel values as follows.
C=Table2[Rout][Gout][Bout][0]
M=Table2[Rout][Gout][Bout][1]
Y=Table2[Rout][Gout][Bout][2]
K=Table2[Rout][Gout][Bout][3]
Moreover, a publicly-known technique of reducing the table size may be used.
In this case, in the multiplexing process of S3004, CMYK pixel values corresponding to the pixel values (R=255, G=255, B=191) that are the result of the tone change on the paper white (R=255, G=255, B=255) using the masks of
The output characteristic conversion is a process of converting the density of each ink color to a print dot count ratio. Specifically, for example, 256-level densities of the respective colors are converted to 1024-level dot count ratios Cout, Mout, Yout, and Kout of the respective colors. To implement this, a one-dimensional look-up table Table3 [4][256] in which preferable print dot count ratios are set for the densities of the respective ink colors is used. Then, the output characteristic conversion can be implemented by setting the dot count ratios as follows.
Cout=Table3[0][C]
Mout=Table3[1][M]
Yout=Table3[2][Y]
Kout=Table3[3][K]
Moreover, it is possible to use a publicly-known technique of reducing the table size such as reducing the number of grids in the look-up table from 256 grids to, for example, 16 grids or the like and determining the output values by interpolating table values of multiple grids.
The quantization is conversion of each of the print dot count ratios Cout, Mout, Yout, and Kout of the respective ink colors to a value indicating on or off of a print dot in each actual pixel. Any method such as an error diffusion method or a dither method may be used as the method of quantization. As an example, in the dither method, on or off of the print dots of the respective ink colors can be implemented by setting the values as follows:
Cdot=Halftone[Cout][x][y]
Mdot=Halftone[Mout][x][y]
Ydot=Halftone[Yout][x][y]
Kdot=Halftone[Kout][x][y]
and comparing the values with thresholds corresponding to each pixel position. Occurrence probabilities of the respective print dots are Cout/1023, Mout/1023, Yout/1023, and Kout/1023. The generation process of the print image in S3007 is thereby completed.
Next, in S3008, the MFP 10 performs printing using the print image generated in S3007. Performing the series of processes as described above allows the print original created by embedding the document ID and the apparatus information in the document data to be printed on the print sheet and obtained. A process of generating a printed product created by embedding the document ID and the apparatus information in an image based on a rendered image as described above is also referred to as “multiplex encoding process”.
Next, the reason why the document ID and the apparatus information are appropriately embedded in the case where both pieces of information are embedded in the document data is described below. First, with reference to the patterns of
In this case, the patterns have the following features, as can be found from comparison between
In the comparison between
Moreover, in the comparison between
As described above, using the embedment patterns of the present embodiment can reduce loss of embedded information due to interference between the embedment patterns even in the case where the positions of the patterns embedded in the multiplexing process in S3004 and the multiplexing process in S3006 overlap each other.
The reduction of the loss of embedded information is independent of the types of the embedded information. Specifically, the processes work also in the case where the embedment patterns of the document ID and the apparatus information are interchanged. In other words, the following information embedding processes are performed.
Moreover, satisfying the following conditions can increase the degree of reduction of interference between the two processes.
Description has been given by using the example in which the two types of embedding are performed by using the ink of the same color. However, the ink color to be used for the shape embedding and that for the density embedding may be different ink colors. Using different ink colors can further reduce the interference between the two processes.
The reason why the interference can be reduced by using different ink colors is described below. Each of the ink colors used in the printing are designed to mainly absorb the following color(s).
Moreover, the information embedding processes may be performed by using the K ink. However, the K ink absorbs all colors. Accordingly, for the example, the shape embedding is performed with the K ink while the density embedding is performed with the Y ink. Extracting information as described below in an RGB image read with a scanner can reduce the interference of the Y ink used for the density embedding with the shape embedding.
It is generally known that using different ink colors can reduce the interference between multiple embedding processes. However, in the case where the black ink is used in one of the information embedding processes and the black ink overlaps an ink of another color, information printed with the ink of the other color is damaged and reduction of the interference is difficult. However, using the density embedding and the shape embedding in the two types of embedding processes as in the present embodiment can reduce the case where the black ink damages the embedded information printed with the ink of the other color. Accordingly, it is possible to obtain the effect of reducing the loss of embedded information due to the interference.
As can be understood from comparison between
Meanwhile, in the case where the shape embedding is performed with the black ink and the density embedding is performed with the yellow ink, a percentage of the pixels interfered by the shape embedding in the density embedding process pixels is suppressed to 20% (two pixels out of twelve pixels).
Moreover, the aforementioned percentages of the interfered pixels are the same also in the case where the shape embedding and the density embedding are both performed with the ink of the same color such as the black ink.
Although the example in which the tone change is performed on the B pixel values in the RGB pixel values is described in the present embodiment, a method in which the tone change is performed on the CMYK pixel values may be used. In this case, the paper white is Y=0, M=0, C=0, and K=0, and the tone change with respect to the paper white needs to take a positive value. Accordingly, it is only necessary to invert the signs of the tone change values illustrated in
The method in which the tone change is performed on the CMYK pixel values provides higher controllability in the case where the ink to be applied to the paper white is limited only to the Y ink. Meanwhile, the method in which the tone change is performed on the RGB pixel values provides higher controllability of suppressing changes in color hues in the case where information is embedded in the image portion. Accordingly, it is preferable to select a preferable tone change method depending on the characteristics of print processes such as electrophotographic or inkjet, ratios of paper white, character, and image regions in the document, and the like.
Moreover, although the tone change value is 64 in the present embodiment, the tone change value is not limited to this. In order to clearly control the dot shape or to align the print patterns between the inkjet printing methods or the electrophotographic print methods, it is effective to increase the tone change value. For example, setting the tone change value around 255 is effective. Moreover, in the case where the print density on a paper surface is desired to be reduced, the pattern size that is 8×8 pixels in the present embodiment may be increased. Alternatively, the tone change values of
Next, the information extracting process of extracting the information embedded as described above from the print original is described. As described above,
In S3101, the MFP 10 reads a printed product (print original) in which the document ID and the apparatus information are multiplex-encoded. First, the user sets the print original in the scanner unit 12, and inputs a read instruction. Then, in S3101, the MFP 10 performs a process of reading the original. Specifically, the MFP 10 controls the scanner unit 12 such that the original is irradiated with LED light and imaging elements such as CCDs corresponding to the respective pixels convert reflected light to analog electric signals.
Next, in S3102, the MFP 10 digitalizes the analog electric signals obtained in the process of S3101, and obtains a bitmap image formed of digital RGB pixel values. Any publicly-known method can be used in the process of obtaining the bitmap image. In the present embodiment, an example using the following method is described. In the present embodiment, the following four processes are performed on each of the pixels in the bitmap image obtained in S3102 and formed of the RGB pixel values.
The modulation transfer function (MTF) correction is a process of performing correction relating to resolution among reading performances of the scanner. In the reading with the scanner unit 12, an image is defocused due to deviation from a focus position, limitations in performance of a lens itself, or the like. Accordingly, restoration is performed to some extent by performing a filter process using the MTF correction or the like. In actual, in the case where an enhancing process is performed at such a strength that the image is completely restored, a white area is formed or an image noise and a dust pixel are enhanced, and image defects stand out more than the enhancement. Accordingly, the design is performed while achieving a balance between the image improvement and the image defect. Description is given below of an example in which an edge enhancement filter that multiples pixel values in an image center portion fivefold and that multiples pixel values in upper, lower, left, and right portions by −1 is used in the MTF correction to simplify the description.
R′[x][y]=R[x][y]x5−R[x−1][y]−R[x+1][y]−R[x][y−1]−R[x][y+1]
G′[x][y]=G[x][y]x5−G[x−1][y]−G[x+1][y]−G[x][y−1]−G[x][y+1]
B′[x][y]=B[x][y]x5−B[x−1][y]−B[x+1][y]−B[x][y−1]−B[x][y+1]
The input correction is a process of converting an output value of the CCD that is originally a photon amount, to lightness matching the sensitivity of the human eyes. Specifically, for example, R′G′B′ signals with 4096 levels for each color are converted to color intensity values R″, G″, and B″ with 1024 levels for each color. This can be implemented by performing processes as described below while using a one-dimensional look-up table Table 4 [4][4096] in which preferable print dot count ratios are set for the densities of the respective ink colors.
R″=Table4[0][R′]
G″=Table4[1][G′]
B″=Table4[2][B′]
Moreover, it is possible to use a publicly-known technique of reducing the table size such as reducing the number of grids in the look-up table from 4096 grids to, for example, 256 grids or the like and determining the output values by interpolating table values of multiple grids.
The shading correction is a process of reducing color unevenness or density unevenness caused by variation in reading sensitivities at the respective pixel positions caused by manufacturing variation or assembly variation in the lens, the LED, and the CCDs forming the scanner unit 12. Specifically, for example, the R″G″B″ signals with 1024 levels for each color are converted to color intensity values R′″, G′″, and B′″ with 256 levels for each color. This can be implemented by performing processes as described below on each signal in a direction (X direction) in which scanner lenses are arranged, while using a one-dimensional look-up table Table5 [x][3][1024] for density conversion for each X pixel position.
R′″=Table5[x][0][R″]
G′″=Table5[x][1][G″]
B′″=Table5[x][2][B″]
Moreover, it is possible to use a publicly-known technique of reducing the table size such as reducing the number of grids in the look-up table from 1024 grids to, for example, 256 grids or the like and determining the output values by interpolating table values of multiple grids.
Next, the color conversion process is performed. The color conversion process is a process in which, since R′″, G′″, and B′″ calculated at this point are values unique to the scanner device, R′″, G′″, and B′″ are converted to Rout, Gout, and Bout values preferable for displaying on the display, conversely to the color conversion in the printing. To implement this, since each of R′″, G′″, and B′″ that are the input values has 256 levels, a table Table6 [256][256][256][3] having 256×256×256, that is a total of 16,777,216 combinations of output values is prepared as in the color conversion in the printing. Then, the color conversion can be implemented by setting the output pixel values as follows.
Rout=Table6[R′″][G′″][B′″][0]
Gout=Table6[R′″][G′″][B′″][1]
Bout=Table6[R′″][G′″][B′″][2]
Moreover, it is possible to use a publicly-known technique of reducing the table size such as reducing the number of grids in the look-up table from 256 grids to, for example, 16 grids or the like and determining the output values by interpolating table values of multiple grids. The process of obtaining the bitmap image in S3102 is completed by performing the processes as described above.
Next, in S3103, the MFP 10 extracts the multiplexed apparatus information from the bitmap image. As an extraction method, the MFP 10 determines which one of the patterns of
Next, in S3104, the MFP 10 determines whether the apparatus information has been extracted. In the case where the determination result is yes, the MFP 10 proceeds to S3105, displays the extracted apparatus information, and proceeds to S3107. In the case where the determination result is no, the MFP 10 proceeds to S3106, displays information indicating that “apparatus information is absent”, and proceeds to S3107.
In S3107, the MFP 10 extracts the multiplexed document ID from the bitmap image obtained in S3102. As an extraction method, the MFP 10 determines which one of the patterns of
Next, in S3108, the MFP 10 determines whether the document ID has been extracted. In the case where the determination result is yes, the MFP 10 proceeds to S3109. In the case where the determination result is no, the MFP 10 proceeds to S3112, displays information indicating that “document is non-authentic document” on an external display (not illustrated), and terminates the process.
There may be the following two possibilities in the case where the determination result is no.
In the present embodiment, the MFP 10 can make the determination of Possibility 2 in the case where one bit or more and 255 bits or less of the 256-bit document ID are extracted in S3107. However, considering the possibility of the case where the scanned document happened to incidentally include one pattern of similar image, it is preferable that the MFP 10 makes the determination of Possibility 2 in the case where 128 bits or more and 255 bits or less, that is half or more of the 256-bit document ID are extracted.
In S3109, the MFP 10 checks the extracted document ID. For example, the MFP 10 may request the host PC 50 to perform the checking. Then, the host PC 50 requests an external PC via the network I/F 507 to check whether the extracted document ID is a formal ID. As described in S3002, in this case, the risk of manipulation of the document ID itself can be reduced by employing the configuration of block chain in which multiple PCs manage the document data and the document ID. Note that the checking request to the external PC may be performed by the MFP 10, or the checking may be performed inside the system of the host PC 50 and the MFP 10 without the checking in the external PC.
In S3110 subsequent to S3109, the MFP 10 refers to the check result and determines whether the document ID is authentic. In the case where the determination result is yes, the MFP 10 proceeds to S3111. In the case where the determination result is no, the MFP 10 proceeds to S3112, displays information indicating that “document is non-authentic document”, and terminates the process.
Also in the case where the determination result is no in S3110, the MFP 10 may notify the user of information that “document ID is embedded but document is non-authentic document”. This allows the user to recognize the risk of manipulation of the document or the like. In S3111, the MFP 10 displays information indicating that “document is authentic document”, and terminates the process.
Next, description is given of an example of appropriately extracting the first information and the second information from a print original in which the first information and the second information are embedded. In the present embodiment, in the extraction of the apparatus information in S3103, accuracy of the extraction can be improved by performing determination using “magnitude of density” that is a difference between
Meanwhile, in the extraction of the document ID in S3107, accuracy of the extraction can be improved by performing determination using the “direction of the shape” that is a difference between
In
With reference to
Next, with reference to
Although two types of information of the document ID and the apparatus information have been heretofore used as the two types of embedded information in the present embodiment, the embedded information is not limited to these two types of information, and the present embodiment can be applied to embedding of any information. Examples of the first information and the second information are listed below.
It is only necessary to density-embed one of the first information and the second information and shape-embed the other one.
Moreover, although the example in which the density embedding and the shape embedding are executed in the same pattern size is described to facilitate the understanding, the present embodiment is not limited to the case where the same pattern size is used. As described above, the pattern sizes themselves may be vary as long as the following conditions are satisfied.
Furthermore, although the example in which the MFP 10 performs the information embedding process is described in the present embodiment, the host PC 50 may perform the information embedding process. Performing the information embedding process in the host PC 50 enables creation of a print original in which pieces of information are multiplexed, by using an MFP or a printer not supporting the information embedding process.
Moreover, the configuration may be as follows: an image for multiplexing is generated separately from the original image in the host PC 50, the image for multiplexing and the original image are both transmitted from the host PC 50 to the MFP 10, and then both images are synthesized in the MFP 10.
Moreover, the configuration may be such that the host PC 50 performs the embedding process of the first information and the MFP 10 performs the embedding process of the second information. This is an efficient process in the following situation.
Moreover, the configuration may be such that the host PC 50 performs the extracting process of the first information and the MFP 10 performs the extracting process of the second information. This is an efficient process in the following situation.
Moreover, the information embedding process and the information extracting process performed in the host PC 50 may be performed in the external PC or the like via the network I/F 507 in
Example 1: In S3004 of
Example 2: In S3107 of
Similarly, requests to perform the apparatus information embedding in S3006 of
Moreover, in the present embodiment, description is given by using the process of performing the pattern matching as an example of the process of extracting the shape-embedded information. However, the extraction method is not limited to this process, and the extraction may be performed by using various methods such as a method of performing spatial frequency analysis and determining whether an analyzed image has a peak at a specific frequency in a specific direction. Any mode may be employed as long as there is maintained a state where the shape of the density embedding is set to have no strong peak in the specific direction and the shape of the shape embedding is set to have a peak in the specific direction. Setting the shape of the density embedding and the shape of the shape embedding such that the shape of the density embedding has no strong peak in the specific direction and the shape of the shape embedding has a peak in the specific direction enables stable extraction of the shape-embedded information also in the case where the density embedding and the shape embedding are superimposed one on top of the other.
As described above, according to the present embodiment, it is possible to embed multiple types of information in the print original without use of a special configuration. Moreover, it is possible to extract multiple types of information from the print original without use of a special configuration.
In the first embodiment, description is given of the example in which the first information and the second information are embedded by using the shape embedding and the density embedding and the example in which the embedded information is extracted. In the present embodiment, description is given of a mode in which such embedding is combined with a watermark printing. The watermark printing is a technique that enables visual determination in copying to suppress forgery of a business form, a receipt, or the like. Specifically, the watermark printing is a technique that causes a latent image region and a background region, which appear to have the same density in the printing, to be copied in different densities in the copying to clarify that a product obtained in the copying is a copied product. The latent image region is a region printed also in the copying, while the background region is a region that is not printed in the copying.
In the case where the watermark printing and the embedding processes are applied to the same region on a print sheet, the embedded information is printed in the background region in the copying of the print original, and there is a possibility that the density difference between the latent image region and the background region of the watermark printing becomes small. Thus, there is a possibility of a decrease in visual readability.
In the present embodiment, description is given of an example in which the decrease in visual readability in the watermark printing is reduced also in the case where both of the watermark printing and the set of two types of information embedding processes described in the first embodiment are performed. Since a basic apparatus configuration is the same as that in the example described in the first embodiment, different points are mainly described.
Since processes of S18001 to S18003 are the same as the processes of S3001 to S3003 in
In S18004, the MFP 10 obtains watermark region information. The watermark region information is information indicating which region in the original is the latent image region and which region is the background region in the case where the watermark printing is performed.
Specifically, in the watermark printing, the latent image region has many pixels printed in a form in which multiple print pixels are consecutively arranged. Meanwhile, in the background region, there are many pixels printed in a form in which printed pixels are not consecutively arranged and are printed as isolated pixels. Specifically, the number of pixels printed adjacent to the printed pixels in the background region is smaller than the number of pixels printed adjacent to the printed pixels in the latent image region. Moreover, the latent image region 1901 and the background region 1902 are designed to be printed and outputted at substantially the same density in the printing. This design provides the following effect: in the case where the copying and the scanning are performed, a portion of the background region formed of the isolated pixels is read to have a very low density, and a portion of the latent image region in which multiple pixels are consecutively printed is read to have a sufficiently high density. As a result, in the case where the print original in which the watermark is formed is read, the following relationship is implemented.
Description of the processes of
In the present embodiment, the document ID is embedded in the latent image region. Although the example in which the background region 1902 in
In S20002, the MFP 10 checks the watermark region information corresponding to the pixel of interest and obtained in S18004, and determines whether the pixel of interest is a pixel belonging to the latent image region of the watermark. In the case where the determination result is yes, the MFP 10 proceeds to S20003. In the case where the determination result is no, the pixel of interest is a pixel belonging to the background region, and thus the MFP 10 proceeds to S20004.
In S20003, the MFP 10 performs the embedding process of the document ID for the pixel of interest.
In S20004, the MFP 10 performs background embedding of the watermark. In this case, the embedding is performed in the pattern of
In S20005, the MFP 10 determines whether the processes for all pixels are completed. In the present example, the pixel of interest first starts from the upper left pixel, moves to a pixel that is one pixel to the right every time one pixel is processed, and, in the case where the process for a pixel at the right end is completed, moves to a pixel that is one pixel below and that is at the left end. Accordingly, the processes for all pixels are completed in the case where the process for a pixel at the right end and the lower end is completed. In the case where the determination result is yes, the MFP 10 terminates the process, and proceeds to S18006 of
Since details of the information embedding of
Similarly, adding the contents of the mask of
Features of each of
In this case, each of the dots is spaced away from the other dots in the print pattern of
In this case, a difference between the density decrease in the reading of
Although the number of pixels that have the tone change value of “−64” in
In S18006 subsequent to S18005, the process of obtaining the apparatus information is performed. Since this process is the same as the process of S3005 in
An original in which, for the document data, the document ID is embedded in the latent image region and the apparatus information is embedded in the entire page including the background region can be thereby printed on the print sheet. Note that the apparatus information may be embedded only in the latent image region excluding the background region. However, in this case, a density difference between the latent image region and the background region occurs in the print original, and functions as a watermark may decrease. Accordingly, the apparatus information is preferably embedded in the entire page including the background region. Note that, for the information extracting process in the present embodiment, it is only necessary to perform the same processes as the processes described in
Note that, in the present embodiment, the visibility as the watermark printing is secured by not embedding the embedded information (first information, document ID) in the background region of the watermark printing. Accordingly, the embedded information corresponding to the background region of the watermark printing is sometimes lost. This matter is preferably handled by performing the following operations. Table 1 illustrates an example in which the watermark printing, the embedding process, and the extracting process are preferably performed on a blank region of the original.
Table 1: Processing example in which effect of background region of watermark printing is reduced
Each of Examples 1 to 3 in Table 1 is described below in detail. Each of Examples 1 to 3 is an example of embedding the information to be embedded in the latent image region.
Example 1 is a process of embedding the information to be embedded while avoiding the background region in the embedding process. Moreover, Example 1 is a process of extracting the embedded information while avoiding the background region in the extracting process. Specifically, Example 1 is an example of suppressing loss of the embedded information due to presence of the background region of the watermark printing.
On the embedding process side of Example 1, for example, in S20001 of
Meanwhile, in the extracting process of Example 1, for example, in S3107 of
Example 2 is an example of complementing the embedded information lost due to presence of the background region of the watermark printing, by embedding the same information in multiple regions. In the embedding process of Example 2, a process of embedding the same information in the latent image region multiple times is performed. Moreover, in the extracting process of Example 2, a process of complementing the information by using multiple extraction results is performed.
In this example, since each of the regions 2311 to 2316 is set to be a region of 128 px×128 px, 16×16 embedding masks illustrated in
Meanwhile, in the extracting process of Example 2, for example, in S3107 of
Example 3 is an example of securing the latent image region necessary for embedding the 256-bit document ID information. In the embedding process of Example 3, a process of securing the latent image region with a necessary size is performed. In the extracting process, a process of extracting information from the secured region is performed.
On the embedding process side of Example 3, for example, pixels enough for embedding 256-bit information is secured, as the latent image region, in the watermark region information itself obtained in S18004 of
Meanwhile, in the extraction process of Example 3, the process of extracting the information from the secured latent image region is performed. Regarding information on the secured latent image region, the predetermined region may be set in advance in the watermark region information in
Moreover, the processes of Examples 1 to 3 described above may be performed in combination. Performing the aforementioned processes can suppress loss of the embedded information due to presence of the background region of the watermark printing.
As described above, according to the present embodiment, it is possible to reduce a decrease in visual readability even in the case where both of the watermark printing and the set of two types of information embedding processes are performed.
In the embodiments described above, description is given by using the MFP 10 including both of the printing unit and the reading unit as an example, but the present disclosure is not limited to this. A printer including the printing unit and a scanner including the reading unit may be used. Specifically, the configuration may be such that the aforementioned printing process is performed in a printer that is a single function printer (SFP) and the reading process is performed in a scanner that is separate from the printer. Moreover, the print process and the reading process may be performed in separate apparatuses also in the mode using the MFP 10, as a matter of course.
Moreover, although description is given of an example in which the information embedded in the multiplexing process is the first information and the second information, the types of information may be increased within a readable range. Specifically, the information embedded in the multiplexing process of the embodiments described above may be multiple types of information.
Furthermore, in the aforementioned example, description is given of the example in which, in the embedding process, the document ID is embedded and then the apparatus information is embedded and, in the extracting process, the apparatus information is extracted and then the document ID is extracted. However, the order is not limited to this. Similarly, although description is given of the example in which, in the embedding process, the shape embedding process is performed and then the density embedding process is performed and, in the extraction process, the density-embedded information is extracted and then the shape-embedded information is extracted, the order is not limited to this.
Embodiment(s) of the present disclosure can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present disclosure has been described with reference to exemplary embodiments, it is to be understood that the disclosure is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
Number | Date | Country | Kind |
---|---|---|---|
2022-035506 | Mar 2022 | JP | national |