Plaque It!
Sponsored by: Flash of Genius |
[0001] 1. Field of the Invention
[0002] The present invention relates to an image processing apparatus for detecting a specific image for which printing is not permitted.
[0003] 2. Related Background Art
[0004] Recently, because of the phenomenal development and spread of computers and computer networks, various types of data, including character data, image data and speech data, have been or are being digitized. While the use of digital data is preferable, because it does not deteriorate with the passage of time and thus maintains its initial integrity, copying digital data is such a simple, commonly employed practice that the protection of copyrighted material has become a huge problem. Therefore, the availability of security techniques that can be used to protect copyrights is immensely important today.
[0005] One means of providing copyright protection is through the application of a technique called “electronic watermarking”. Electronic watermarking is a technique whereby the name of a copyright holder and the ID of a purchaser can be embedded in digital image, speech, or character data. Since a form is used that is not discernable by a human being, this technique can be used to track the unauthorized copying and use of digital data.
[0006] Further, the electronic watermarking technique can be employed not only to track the unauthorized use of data through illegal copying, but can also be used to detect the illegal printing of specific images, such as paper currencies or securities. For according to this technique, an electronic watermark can be embedded in advance in a specific image, and at the time of printing, the specific image can be detected by extracting the electronic watermark.
[0007] A conventional electronic watermark extraction apparatus performs the same process for all received images, regardless of whether electronic watermarks have previously been embedded in them. Since the extraction apparatus performs unnecessary processing for images in which no electronic watermarks have been embedded, the time required to extract an electronic watermark is extended.
[0008] In addition, when a specific image in which an electronic watermark has been embedded is to be detected at the time of printing, a conventional electronic watermark extraction apparatus performs an unnecessary process for most images that have not been so specified, and this extends the printing time.
[0009] It is, therefore, one object of the present invention to provide an image processing apparatus and a control method therefor that can solve the problems associated with the above shortcomings.
[0010] It is another object of the present invention to provide an image processing apparatus for reducing, to the extent possible, unnecessary electronic watermark extraction processing and the length of time required to determine whether or not a target image is a specific image, and a control method therefor.
[0011] It is still another object of the present invention to provide an image processing apparatus for reducing wasted processing time by dividing into multiple steps the process employed to a specific data from an input image, and a control method therefor.
[0012] The other objects of the present invention will become apparent during the course of a description given while referring to the following accompanying drawings, and the claims.
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
[0063]
[0064]
[0065]
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072] The preferred embodiments of the present invention will now be described while referring to the accompanying drawings.
[0073] [First Embodiment]
[0074] (1. Electronic Watermark Embedment Apparatus)
[0075] An overview of an electronic watermark embedment apparatus according to this embodiment will now be given while referring to the drawings.
[0076] The electronic watermark embedment apparatus for this embodiment is shown in
[0077] Image data I, multi-valued image data wherein predetermined multiple bits are allocated for each pixel, are input to the electronic watermark embedment apparatus.
[0078] In this embodiment, the apparatus can cope with the input image data I, regardless of whether the data are gray scale image data or color image data. For the gray scale image data, a pixel has only a single component, while for the color image data, one pixel has three components. In this embodiment, the three components are a red component (R), a green component (G) and a blue component (B), however, other color component combinations can also be employed.
[0079] When the image data I are input to the electronic watermark embedment apparatus, they are first transmitted to the color component extraction unit
[0080] There, if the input image data I are color image data, the color component extraction unit
[0081] At the succeeding stage, the other color components are output to the color component synthesis unit
[0082] In this embodiment, the electronic watermark information is embedded in the blue component. This is because, of the three components, red, green and blue, a human's eyes exhibit the least sensitivity to the blue component. Thus, when electronic watermark information is embedded in the blue component, image deterioration due to the presence of the electronic watermark information is less noticeable to human beings than it would be were the electronic watermark information embedded in one of the other color components.
[0083] When the image data I are gray scale image data, the color component extraction unit
[0084] In this embodiment, each pixel of pseudo color image data comprises three components (R, G and B), and the three image data components have equal values.
[0085] For this embodiment, the gray scale image data are first converted into pseudo color image data; then, the blue component (B) of the color image data is extracted and is output to the registration signal embedment unit
[0086] Subsequently, at the succeeding stage, the other color components are output to the color component synthesis unit
[0087] It should be noted that hereafter an explanation will be given in which, to the extent possible, image data I that are color image data are not distinguished from image data I that are gray scale image data. That is, in the following explanation, the color image data are not distinguished from the pseudo color image data.
[0088] A description will now be given for the registration signal embedment unit
[0089] The registration signal embedment unit
[0090] When the registration signal embedment unit
[0091] The pattern arrangement determination unit
[0092] For printing, resolution is defined as the number of pixels contained in one inch of an image (a bit-mapped image), and is used when a predetermined size is employed for the printing of an image. Therefore, when predetermined sizes are used to print specific images, the image that has the most pixels has the highest resolution. To indicate the resolution for an image, the pixel/inch is used as a representative unit.
[0093] The output resolution is used to designate the number of dots the printer
[0094] The pattern arrangement determination unit
[0095] The embedment position determination unit
[0096] The embedment position determination unit
[0097] In addition to the image data, the pattern arrangement and the control data, the additional information embedment unit
[0098] The image data included in the additional information Inf that is to be embedded is output by the additional information embedment unit
[0099] The color component synthesis unit
[0100] The color image data obtained by the color component synthesis unit
[0101] The JPEG compression data obtained by the JPEG compression encoding unit
[0102] Finally, the color image data wI is transmitted by the JPEG decompression decoding unit
[0103] The possibility exists that the printed material pwI may be obtained by a user other than the user of the apparatus, and an attack, such as geometrical editing like rotation or copying by a copier, is added to the printed material pwI.
[0104] Assume that the printed material that may have been altered is pwI′. The printed material pwI′ is again digitized by a scanner
[0105] The general processing performed by the individual units described above will now be described while referring to the flow chart in
[0106] At step
[0107] A registration signal is generated at step
[0108] At step
[0109] At step
[0110] At step
[0111] (2. Electronic Watermark Extraction Apparatus)
[0112] An overview of an electronic watermark extraction apparatus according to this embodiment will now be given.
[0113]
[0114] First, the printed material pwI′ is placed on the document table of the electronic watermark extraction apparatus, and the scanner
[0115] The image data wI′ receives attacks that cause various geometrical distortions of the image data wI. An attack includes scaling, rotation, printing and scanning, and in this embodiment, at least one attack, accompanied by printing and scanning, is {mounted against the image data.
[0116] Therefore, although ideally the image data wI′ and wI will have the same contents, in some cases the contents of these two image data sets will differ greatly.
[0117] The color component extraction unit
[0118] The registration unit
[0119] As is described above, while there is a possibility that the image data wI′ will have a scale different from that of the image data wI, the image data wI
[0120] When the additional information extraction unit
[0121] The general processing performed by the above described units will now be explained while referring to the flow chart in
[0122] First, only the blue component of the image data wI′ is extracted, for use at the next step. At step
[0123] At step
[0124] At step
[0125] Then, at step
[0126] At statistic authorization step
[0127] The above described pattern arrangement determination process, offset adjustment process, extraction process using the first pattern arrangement and extraction process using the second pattern arrangement, statistic authorization process, and comparison process are performed internally by the additional information extraction unit
[0128] (3. Detailed Explanation for the Individual Units)
[0129] The individual units will now be described in detail.
[0130] First, an explanation will be given for the registration process performed at step
[0131] The registration process is a pre-process for the extraction of the electronic watermark, and is performed so that the additional information Inf can be extracted from the image data wI′ received by the electronic watermark extraction apparatus. Generally, the term “registration process” includes not only the scale adjustment process but also the position adjustment process. However, in this embodiment, since the position information embedded as a part of the additional information Inf is employed for the position adjustment process, this process, together with the additional information extraction unit
[0132] An explanation will now be given for the change applied to the image data that is processed by the printing system, and for the registration process for the change that is performed by the printing system.
[0133] Here we will discuss that portion of this embodiment wherein the image data wI is printed by an ink-jet printer loaded with yellow (Y), magenta (M), cyan (C) and black (K) inks, and the printed material is scanned by the scanner
[0134] At this time, when the output resolution of the printer
[0135] In this embodiment, since both the input resolution and the output resolution are already known, the ratio of the scales can be calculated from the ratio of the resolutions. When, for example, the output resolution is 600 dpi (dots per inch) and the input resolution is 300 dpi, the ratio of the scale of an image before printing to the scale of an image after scanning is doubled. Therefore, the scaling is performed for the image data wI′ at the obtained scale ratio using an appropriate scaling algorithm As a result, the same scale can be used to represent the image for the image data wI and the image for the image data wI′.
[0136] However, the output resolution and the input resolution are not already known in all cases. And when the two resolutions are not known, the above method can not be employed. In this case, in addition to means for correcting the difference between the scales, means is required for obtaining the scale ratio.
[0137] When the image that is the source of the image data wI processed by the printing system is scanned by the scanner
[0138] It is assumed that the above described points will be present in the image data wI′ obtained through the printing system. For when the image data wI is processed by the printing system, these points must be resolved.
[0139] An explanation has been given for a case wherein the image data is obtained after the printing process, as a pre-process for the extraction of an electronic watermark, has been performed at least once. This state can occur in the manual editing process.
[0140] An explanation will now be given for the registration signal embedment unit
[0141] (3-1. Registration Signal Embedment Process)
[0142] First, the registration signal embedment unit
[0143] The registration signal embedment unit
[0144]
[0145] The block division unit
[0146] The blocks obtained by the block division unit
[0147] This can be implemented in this embodiment by using a single block, and as there are fewer blocks, the processing time can be reduced. However, the implementation of the present invention is not thus limited, and two or more blocks may be selected.
[0148] Further, information concerning block size, which is used when dividing the image data, and information concerning the selection of a block, in which the registration signal is embedded, must be used in common by the electronic watermark embedment apparatus and the electronic watermark extraction apparatus.
[0149] Part I
[0150] The Fourier conversion unit
[0151] A fast Fourier conversion is a conversion algorithm that can be executed using (n/2) log 2(n) calculations, while a Fourier conversion requires n×n calculations, wherein n is a positive integer. A fast Fourier conversion and a Fourier conversion differ only in the speed employed to obtain calculation results, and the same results can be acquired using either conversion. Therefore, in the explanation for this embodiment, no distinction is made between a fast Fourier conversion and a Fourier conversion.
[0152] The image data in the frequency domain obtained by a Fourier conversion is presented by using the amplitude spectrum and the phase spectrum, of which only the amplitude spectrum is transmitted to the addition unit
[0153] The addition unit
[0154] In
[0155] In the explanation for this embodiment, it is assumed that the process sequence is performed for a natural image. However, the present invention is not thereby limited, and a process sequence may also be performed in the same manner for a document image and for computer graphics (CG). It should be noted that the embodiment of the invention is especially effective for processing a natural image having comparatively many portions and an intermediate density.
[0156] In the example in
[0157] In
[0158] When the impulse signals are embedded in the low frequency component, compared with when they are embedded in the high frequency components, the impulse signals tend to be perceived as noise because of the visual characteristics of human beings. Therefore, in this embodiment, the impulse signals are embedded in a frequency at an intermediate level, equal to or higher than a first frequency, at which visual identification is difficult for human beings, and equal to or lower than a second frequency, that is not easily removed by irreversible compression and decompression. The registration signal is added to the blocks (one block in this embodiment) transmitted to the addition unit
[0159] The addition unit
[0160] The inverse Fourier conversion unit
[0161] The image data at the spatial domain output by the inverse Fourier conversion unit
[0162] The block synthesis unit
[0163] The registration signal embedment unit
[0164] While referring to
[0165] The circuit shown in
[0166] The block division unit
[0167] In the spatial domain, the configuration in
[0168] Further, in
[0169] <<Patchwork Method>>
[0170] In this embodiment, a principle called the patchwork method is employed in order to embed the additional information Inf. The principle of the patchwork method will be first described.
[0171] According to the patchwork method, the embedment of the additional information Inf is implemented by generating a statistic deviation for an image.
[0172] This will be described while referring to
[0173] So long as the two selected subsets do not overlap each other, the patchwork method can be used to embed the additional information Inf. It should be noted that the sizes of the two subsets and the selection method employed greatly affect the robustness of the additional information Inf embedded using the patchwork method, i.e., the resistance that ensures the additional information Inf will not be lost as a consequence of an attack mounted on the image data wI. This will be described later.
[0174] Assume the subsets A and B each consist of N elements represented by A={a1, a2, . . . , aN} and B={b1, b2, . . . , bN}. The elements ai and bi of the subsets A and B are pixel values, or sets of pixel values. In this embodiment, a subset corresponds to a part of the blue component in the color image data.
[0175] The index d is defined as follows.
[0176] This represents the expectation value of a difference between the pixel values of the two sets.
[0177] When appropriate subsets A and B are selected for a general natural image, and the index d is defined, the characteristic d≅0 is obtained. Hereinafter, d is called a reliability distance.
[0178] As the operation for embedding the individual bits that consist of the additional information Inf,
[0179] is performed. This operation is performed to add a value c to all the elements of the subset A and to subtract a value c from all the elements of the subset B.
[0180] Then, as in the previous case, the subsets A and B are selected from an image in which the additional information Inf has been embedded, and the index d is calculated.
[0181] is established, where d is not 0.
[0182] That is, since the reliability distance d is calculated for a specific image that is provided, it can be ascertained that when d≅0, the additional information Inf has not been embedded, and that when the d is a value separated from 0 by a distance equal to or greater than a specific value, the additional information Inf has been embedded.
[0183] The basic principle of the patchwork method has been explained.
[0184] In this embodiment, information consisting of multiple bits is embedded by using the principle of the patchwork method. According to this method, the selection method employed for the subsets A and B is defined by using the pattern arrangement.
[0185] According to the above method, the embedment of the additional information Inf is carried out by the addition or subtraction of the elements of the pattern arrangement relative to a predetermined element of the original image.
[0186] An example simple pattern arrangement is shown in
[0187] In the pattern in
[0188] In this embodiment, in order to avoid changing the overall density of an image, the number of positive pattern elements equals the number of negative pattern elements. That is, the sum of all the elements in one pattern element is 0. This condition is always required for the extraction of the additional information Inf, which will be described later.
[0189] The operation for embedding bit information sets that consist of the additional information Inf is performed by using the above pattern arrangement.
[0190] In this embodiment, the pattern in
[0191] It should be noted in this embodiment that when the original image data is large the additional information Inf is repetitively embedded. This is because, since the patchwork method employs the statistic characteristic, an appropriate number of data is required in order for the statistic characteristic to appear.
[0192] In addition, in this embodiment, the relative positions whereat the pattern arrangement is used for the mutual bits are determined in advance, so that areas wherein the pixel values are changed using the pattern arrangement do not overlap each other when multiple bits are to be embedded. That is, an appropriate relationship is determined for the position in the pattern arrangement for embedding the first bit information of the additional information Inf, and for the position in the pattern arrangement for embedding the second bit information.
[0193] When, for example, the additional information includes 16 bits, the positional relationship for the first to 16th bits in the 8×8 pixel pattern is relatively provided, so that image deterioration is reduced in an area larger than the 32×32 pixel pattern.
[0194] Furthermore, when the image data is large, the additional information Inf (the information consisting of constituent bits) is repetitively embedded, as many times as possible. This is because each bit of the additional information Inf should be correctly extracted. Especially in this embodiment, since the statistical measurement is performed by using the repetitious embedment of the same additional information Inf, information embedment repetition is important.
[0195] The above described selection of the embedment position controls the embedment position determination unit
[0196] The method for determining the subsets A and B will now be described.
[0197] (3-2. Pattern Arrangement Determination Unit)
[0198] In the patchwork method, the determination of the subsets A and B greatly affects the robustness of the additional information Inf and the quality of an image in which the additional information Inf has been embedded.
[0199] In this embodiment, in
[0200] Here we will discuss how the additional information Inf embedded using the patchwork method obtains the robustness to resist an attack associated with printing.
[0201] According to the patchwork method, the shape of the pattern arrangement and the values of elements are parameters for determining a tradeoff between the embedding robustness of the additional information Inf and the image quality of the image data wI. Therefore, whether the additional information Inf can be extracted from the image data, against which the above attack has been mounted, can be optimized by manipulating the parameters. Later, this will be described in a little more in detail.
[0202] In this embodiment, the basic positional relationship for the patchwork method between the element ai of the subset A and the element bi of the subset B is fixed by the example matrix shown in
[0203] It should be noted that the elements ai and bi are not limited to one pixel value, but may also be constituted by sets of multiple pixel values.
[0204] Multiple pattern arrangements are allocated in the image, so that they do not overlap, and the pixels allocated in the image are changed based on the values of the elements in the pattern arrangement.
[0205] Assuming that the subset of the pixels that are changed to the positive value (+c) of the pattern arrangement is defined as A, and that the subset of the pixels that are changed to the negative value (−c) of the pattern arrangement is defined as B, it can be understood that the principle of the patchwork method is employed.
[0206] In the following explanation, the pixels (corresponding to the positions of the elements ai of a subset) having the positive value (+c) of the pattern arrangement are called positive patches, and the pixels (corresponding to the positions of the elements bi of a subset) having the negative value (−c) of the pattern arrangement are called negative patches.
[0207] Hereinafter, a case is presented wherein the positive patches and the negative patches are employed without being distinguished from each other, and a patch in this case indicates either a positive or a negative patch.
[0208] When the size of each patch in the pattern arrangement in
[0209] When the value of each pixel in the pattern arrangement is reduced, the robustness of the additional information Inf is also reduced, but the quality of the image in which the additional information Inf has been embedded is not much deteriorated, when compared with the original image.
[0210] As described above, the optimization of the size of the pattern arrangement in
[0211] First, the size of a patch will be explained. When a patch is enlarged, the robustness of the additional information Inf embedded using the patchwork method is increased. And when a patch is made smaller, the robustness of the additional information Inf embedded using the patchwork method is reduced. This is because that the irreversible compression and the printing process provide low-pass filter effects for the overall processing. When a patch is large, a signal that is biased for the embedding of the additional information Inf is embedded as a low frequency signal. Whereas, when the patch is small, a signal that is biased for the embedding of the additional information Inf is embedded as a high frequency signal.
[0212] When the additional information Inf embedded as a high frequency signal is processed by the printing system, a low-pass filter process is performed for the additional information Inf, and the additional information Inf may be deleted. Whereas, even though the printing process is performed, the probability is high that when the additional information Inf is embedded as a low frequency signal, it can be maintained and can be extracted.
[0213] As a result, in order to increase the robustness of the additional information Inf, it is preferable that a large patch be used. However, an increase in the patch size is inversely equal to the addition of a low-frequency signal to the original image data, and this causes the image quality of the image data wI to deteriorate. This is because the visual characteristics of human beings includes the VTF characteristic
[0214] The element values (±c) of the patch will now be described.
[0215] The value (±c) of each element constituting the patch is called a “depth”. When the depth of the patch is increased, the robustness of the additional information Inf embedded using the patchwork method is increased. But when the depth of the patch is decreased, the robustness of the additional information Inf embedded using the patchwork method is reduced.
[0216] The depth of the patch is closely related to the reliability distance d used to extract the additional information Inf. The reliability distance d is a value used to extract the additional information Inf, a process which will be described later. Generally, when the depth of the patch is increased, the reliability distance d is increased and the additional information Inf can easily be extracted. But when the depth of the patch is reduced, the reliability distance d is reduced and the additional information Inf can not easily be extracted.
[0217] As a result, the depth of the patch is also an important parameter when determining the robustness of the additional information Inf and the image quality of an image in which the additional information Inf has been embedded, and is preferably optimized. When patches having an optimal size and an optimal depth are constantly employed, it is possible to embed additional information Inf that has a satisfactory robustness and that can resist an attack, such as irreversible compression or printing, and that causes little deterioration of the image quality.
[0218] Specific path depths and path sizes used for this embodiment will now be described.
[0219] In order to simplify the explanation, a simple printing system process, a gray level transformation using a halftone process, is employed as an example printing process.
[0220] As is described above, the halftone process is a modification method for representing tone. Before and after the halftone process, a human's eyes perceives the same tone. However, since the input unit, such as the scanner
[0221] That is, the scanner itself can not determine whether the tone represented by the area-type tone reproduction includes the tone information represented by the original density-type tone reproduction. Thus, here we will discuss which halftone process should be performed, so that the tone represented by the density-type tone reproduction can be represented by the area-type tone reproduction.
[0222] First, the relationship between the density-type tone representation and the area-type tone representation provided by the halftone process will be explained.
[0223]
[0224] There are 16 pixels in the 4×4 matrix. By turning the 16 pixels on or off, 4×4+1=17 levels can be represented.
[0225] Generally, m n dots obtained using the halftone process will represent (m×n+1) levels.
[0226] This will be explained while referring to
[0227] While referring to
[0228] In this embodiment, to provide for the information the robustness to repel attacks, including the printing and scanning, the size and depth of the patch used for embedding the additional information Inf are designed while taking into account the relationship between area-type tone representation and density-type tone representation. In this embodiment, an explanation will be given for a case wherein for images of various sizes the printer
[0229] In examples in
[0230] First, the enlargement process is performed for the images
[0231] While in this case the printer
[0232] As is apparent from
[0233] An explanation will now be given for an example wherein the embedment of the patches affects the conversion from the density-type tone to the area-type tone. In order for the explanation to be easily understood, the affect image resolution has on the process is not taken into account.
[0234] In
[0235] Image areas (subset B)
[0236] The image areas
[0237] Further, at this time, immediately before the halftone process is initiated, in the image areas
[0238] Then, following the initiation of the halftone process, and after area-type tone reproduction has been performed, the images in the areas
[0239] When the additional information Inf is not embedded, generally it is ascertained that there is almost no change in the difference in the number of ink dots in the area
[0240] When the additional information Inf is embedded, it is anticipated that a difference will appear between the number of ink dots in the area
[0241] And when area-type tone reproduction is employed to represent the additional information Inf, the change in the ink dots can be controlled by the design of the patches. It can then be ascertained that the patchwork method provides the robustness required to repel attacks, such as are represented by printing and scanning.
[0242] Further, it can be intuitively understood from
[0243] The relationship between the patch and the increase in the ink dots will now be described while referring to
[0244] In
[0245] As is shown in
[0246] Assuming that when the additional information Inf is embedded, an average of 4703 pixel values before the embedment is changed to an average of 4704 pixel values after the embedment, it is understood that, through the binarization of the dither matrix, the ink dots are increased by a number equivalent to the area of a shaded portion
[0247] That is, it is apparent that the depth of the patch and the increase in the ink dot count are proportional.
[0248] When the patch size is increased, the appearance frequency of the coefficient value of the dither matrix is further increased. Thus, the area
[0249] While taking the above characteristic into account, for the entire image, (1) the embedment depth is proportional to the number of dots on the printed material, and (2) the size of the path is proportional to the number of dots on the printed material.
[0250] That is, when Δβ denotes a difference in the dot count in areas throughout the image, which are changed by embedding the patches, where the positive patches are embedded, and in areas where the negative patches are embedded,
[0251] In this equation, α denotes a proportional coefficient, γ denotes a margin, C denotes an embedment depth, and PA denotes the area of a positive or negative patch that corresponds to the one-pixel and one-dot relationship for the entire image. The values of α, β and γ are defined through experiment.
[0252] The principle of (Equation 47-1) can be employed not only for the halftone process using the dither matrix, but also for the error diffusion method ((1) and (2), described above, are established).
[0253] In (Equation 47-1), no consideration is given to the resolution of an image, the output resolution of a printer, and the input resolution of a scanner. An explanation will now be given for a case wherein the resolution of the image, the output resolution of the printer
[0254] In this embodiment, in order to hold as much information as possible, the input resolution for the scanner
[0255] Now, the output resolution of the printer
[0256] As was previously described while referring to
[0257] In
[0258] Assume that the image
[0259] On the other hand, let us assume that for image
[0260] When the image
[0261] Since it is assumed that the density of an ink dot is determined, when 5×5 dots are used to represent one pixel, the dynamic range for the density-type tone representation using one pixel is large. And when 2×2 dots are used to represent one pixel, the dynamic range for the density-type tone representation using one pixel is small.
[0262] The additional information extraction process will now be described in detail. According to the patchwork method, in the detection process
[0263] is calculated for each pattern arrangement, and an average is obtained for each pattern arrangement for the entire image. This average is called a reliability distance d, and as the reliability distance d is large, the extraction of additional information is ensured.
[0264]
[0265] Since a predetermined density is provided for each ink dot, and since each pixel in each of the patch areas
[0266] Generally, when only a small number of dots is used to form one pixel (the image resolution is high), the dynamic range of the gray level for one pixel is small, so that a large reliability distance d can not be obtained, and the additional information Inf can not be extracted.
[0267] Therefore, when the image resolution is high, either the size of the patch or the embedment depth (±c) must be increased.
[0268] Generally, since a position shift constitutes a large problem when the output resolution is high, it is preferable that the patch size be increased.
[0269] When the number of dots in a pattern arrangement required for the detection of additional information is defined as Δβp, based on (Equation 47-1), the relationship of the pixel count P of the positive or negative patch, the embedment depth C of the patch and the dot count m×n representing one pixel is represented by
[0270] In this equation, (m×n)×(C/255) means that even when the embedment depth C is changed by the maximum tone levels 255, at the maximum, the number of dots allocated for one pixel is increased only by m×n.
[0271] In the equation, α′ is a proportional coefficient, and γ′ is a margin.
[0272] The m×n count of the dots used to reproduce one pixel is calculated by using
[0273] m×n=(the output resolution of a printer in the main scanning direction/the image resolution)×(the output resolution of a printer in the sub-scanning direction/the image resolution). The value m×n increases as the image resolution is high.
[0274] Therefore, when Δβp, α′ and γr are calculated through experiment, the embedment depth for each pattern arrangement required for the detection of the additional information Inf, and the size (the pattern arrangement size) and the embedment depth of the patch can be obtained from the output resolution of the printer and the image resolution.
[0275] Through the above observations, a method for changing the embedment depth (±c) and the patch size in accordance with the image resolution will now be proposed.
[0276] The apparatus using this method will now be explained.
[0277] The output resolution of the printer
[0278] As an example, assume that the output resolution of the printer
[0279] The pattern arrangement used for embedding the additional information Inf is selected in accordance with the image resolution. When the image resolution is less than 500 ppi, the pattern arrangement
[0280] Presume that (Equation 47-2) is used to determine an appropriate embedment depth.
[0281] After the pattern arrangement determination unit
[0282] When the pattern arrangement used for the embedment is unknown, the additional information Inf can not be extracted. Therefore, the pattern arrangement determination unit
[0283] When the output resolution of the printer
[0284] Therefore, even when, in accordance with the image resolution, the patch and the pattern arrangement are variable, the additional information Inf can be extracted by using the information obtained from the registration signal.
[0285] (3-3. Embedment Position Determination Process)
[0286]
[0287] In
[0288] An example mask
[0289] Next, a mask referring unit
[0290] Further, at the locations of the coefficient values in the mask
[0291] The additional information embedment unit
[0292] In this embodiment, the mask making unit
[0293] According to the above described method, the structure (the arrangement of the coefficient values) of the mask serves as a key for the extraction from the image of the additional information Inf. That is, only the owner of a key can extract the information.
[0294] It should be noted that in addition to a case for preparing a mask in real time, this invention also includes a case wherein a mask is prepared in advance and is stored in the internal storage device of the mask making unit
[0295] The individual processes performed by the embedment position determination unit
[0296] (3-3-1. Mask Making Unit)
[0297] First, the mask making unit
[0298] For the embedment of the additional information Inf using the patchwork method, when the information is added while extensive manipulation of the pixel value is being effected in order to increase the robustness (for example, when a large value c is set for the pattern arrangement), the determination of the image quality, comparatively, is not noticeable at the edge portions whereat the pixel value is drastically changed, while in the flat portion, whereat the pixel value change is less, the portion whereat the pixel value is manipulated is noticeable as noise.
[0299]