1. Field of the Invention
This invention relates to image processing apparatuses that embed additional information into digital images.
2. Description of the Related Art
Copyright management is important and essential, in addition to copyright protection of intellectual property such as printed document. Digital watermarking is one of the methods for managing the intellectual property.
However, embedding a digital pattern into image data regardless of image process conditions for processing the image data, for example, a screen angle or a screen structure, could cause degradation in image quality.
The present invention has been made in view of the above circumstances.
According to one aspect of the present invention, there may be provided an image processing apparatus including an information acquiring portion that acquires information on image process conditions for processing image data; a creating portion that creates additional image data, serving as a watermark image, with additional information to be embedded into the image data on the basis of the information on the image process conditions acquired; and a merging portion that merges the image data with the additional image data to create composite image data.
According to another aspect of the present invention, there may be provided an image processing method including acquiring information on image process conditions for processing image data; creating additional image data, serving as a watermark image, with additional information to be embedded into the image data on the basis of the information on the image process conditions acquired; and merging the image data with the additional image data to create composite image data.
According to a further aspect of the present invention, there may be provided a storage medium readable by a computer to execute a process of image processing on a computer, the function of the storage medium including acquiring information on image process conditions for processing image data; creating additional image data, serving as a watermark image, with additional information to be embedded into the image data on the basis of the information on the image process conditions acquired; and merging the image data with the additional image data to create composite image data.
Embodiments of the present invention will be described in detail based on the following figures, wherein:
A description will now be given, with reference to the accompanying drawings, of embodiments of the present invention.
Referring to
The controller 11 operates according to an image processing program stored in the memory portion 12, and merges image data to be processed with data of additional image (watermark image) to be embedded, on the basis of additional information so as to create composite image data. This process will be described later in detail.
The memory portion 12 retains the program executed by the controller 11, and includes a computer-readable memory device. The memory portion 12 also functions as a work memory that stores various types of data produced in the process of image processing controlled by the controller 11. In accordance with the present embodiment, a driver program for the printer 2 is also stored, and screen information of the printer 2 is retained in the afore-mentioned driver program.
The operation portion 13 is a keyboard, mouse, or the like. The operation portion 13, after receiving an instruction from a user, outputs the instruction to the controller 11. The display portion 14 provides the user with the information according to the instruction applied from the controller 11. The input/output portion 15 outputs data input from outside to the controller 11. In addition, the input/output portion 15 outputs the data to the printer 2 according to the instruction applied from the controller 11.
A description will now be given of the process of the controller 11 in more detail. The controller 11 stores the image data to be processed in the memory portion 12, merges the image data with the additional image data according to the program to be described in the following, and outputs the image data that has been merged to the printer 2 via the input/output portion 15.
The program executed by the controller 11, as shown in
The image forming condition acquiring portion 21 acquires setting information of the printer driver from the memory portion 12 so as to get the information related to image processing prior to the image creation in the printer 2, as conditions of the image formation (for example, the screen information used for the pseudo-tone processing method).
The additional image encoding portion 22 encodes the additional information with the use of a predetermined error-correcting system.
The additional image creating portion 23 creates the additional image data to correspond to the conditions acquired by the image forming condition acquiring portion 21 and the output from the additional image encoding portion 22. Specifically, the additional image creating portion 23, as shown in
The pattern image creating portion 31 creates and outputs the data of multiple pattern images that correspond to the respective codes, on the basis of the conditions acquired by the image forming condition acquiring portion 21. A description will be given in detail as follows.
Firstly, the pattern image creating portion 31 acquires the information on a basis of a screen lattice from the information related to the screen acquired by the image forming condition acquiring portion 21. Here, the basis of the screen lattice represents vectors of two directions that define the screen shape, which is generally a parallelogram. With respect to the screen shape as shown in
The pattern image creating portion 31 creates an embedded pattern similar to integral multiplication of the above-mentioned screen shape. The integral multiplication has a purpose of avoiding the moire, yet if the pattern shape is too small relative to the actual printed area, it will be difficult to decode the additional information. Therefore, the size has to be adjusted according to the print resolution. The screen area and a threshold value are compared. If the screen area is smaller than the threshold value, the pattern size is set to four times the screen area. For example, if the screen shown in
Specifically, with respect to the image density of the pattern, preferably, the pattern disclosed in the printed document in Japanese Patent Application Publication No. 2004-140764 is changed into a parallelogram. Now, a description will be given, with reference to
(Expressions)
x C exp(−α(|x|+|y|)) (1)
x C exp(−α(x2+y2)) (2)
In Expressions (1) and (2), X and Y respectively represent coordinates (X, Y) of each pixel, when the center of a pattern image is set to (X, Y)=(0, 0).
As a result of the above-mentioned multiplication, the pattern images are respectively created as shown in
(1) Adding corresponding pixels in both pattern images gives the same given values (for example, “0”).
(2) Adding all pixels in each of the pattern images gives the same values (for example, “0”).
(3) Each of the pattern images includes two lines discontinuing the pixels (referred to as edge), which pass through the center of the image and have different directions. In
(4) The absolute values of the pixel values in each pattern image are greatest at the center, and become smaller as further from the center.
The codes are represented by the patterns having the areas as described above so as to obtain the decoding tolerance of the embedded signal relative to the various types of image processing for printing. The image density is prevented from changing largely after merge (owing to the aspects of (1) and (2)), the detection of the pattern image and decode processing are facilitated (owing to the aspects of (2) and (3)), and the occurrence of the edge between the patterns are prevented. Therefore, the printed document in Japanese Patent Application Publication No. 2004-140764 describes that the pattern is not visibly outstanding. The above-mentioned aspects are retainable even after the pattern image of rectangular shape is changed into that of parallelogram by the affine transformation (linear transformation).
Furthermore, according to the printed document in Japanese Patent Application Publication No. 2004-140764, the pixel values are respectively added in the areas respectively corresponding to quadrants segmented by the edges in the pattern image when the image merged with the pattern image is decoded. The quadrants are defined by first through fourth quadrants, namely, R1 through R4. For instance, if R1>R2 and R1>R4 and R3>R2, and R3>R4, the code is determined as “1”. In other words, the printed document in Japanese Patent Application Publication No. 2004-140764 describes that decode can be accomplished by comparing the sums of groups of pixels in the respective quadrants, yet the four areas segmented by the edges are equal after the affine transformation. Therefore, the decode method same as the printed document in Japanese Patent Application Publication No. 2004-140764 can be used.
Now, the pattern image creating portion 31 creates a rectangular pattern of an appropriate size (for example, 8×8 pixels) in the method described in the printed document in Japanese Patent Application Publication No. 2004-140764, and the affine transformation is performed to change the pattern into a parallelogram to be used for an embedded pattern shape. The embedded patterns are created to correspond to the respective codes.
With respect to the affine transformation, coordinates prior to the transformation are set to (x, y) as shown in
X=ax+by, Y=cx+dy.
Parameters a, b, c, and d are obtainable by working out the simultaneous equation with two pairs of parameters selected from among apexes of a quadrangle prior to and subsequent to transformation excluding the origin.
The pattern selecting portion 32 follows the instruction of the pattern arranging portion 33 and selects one of the multiple pattern images output from the pattern image creating portion 31.
Next, a description will be given, with reference to
The merge portion 24 merges the additional image created by the additional image creating portion 23 with the image data to be processed. That is, the pixel value of the additional image is added to the pixel value corresponding to the image data to be processed stored in the memory portion 12, and is then output. Here, if the added value exceeds the maximum (for example, 255) of the pixel value, the added value is set to the maximum. If the added value falls below the minimum (for example, 0) of the pixel value, the added value is set to the minimum.
Subsequently, the image data merged with the additional image (watermark image) is processed by the controller 11, and is output to the printer via the input/output portion 15. The printer is supplied with the image data, and forms the image represented by the image data on a medium such as paper.
According to the embodiments of the present invention, it is desirable that when the input image data has a color and includes multiple color components, only one of the color components is processed. However, multiple color components may be processed. In addition, in accordance with the embodiment described above, the pattern image is created each time the image is input. However, the pattern image is created in advance and stored in the memory portion 12. Then, the pattern image may be read out of the memory portion 12.
As described above, on the information processing apparatus in the above-mentioned aspect, the information on image process conditions for processing image data is acquired and the additional image data, serving as a watermark image, with additional information to be embedded into the image data on the basis of the information on the image process conditions acquired. It is possible to embed the additional information according to the image processing characteristics. Therefore, this can prevent the degradation in image quality due to the image processing and the occurrence of the disturbance in decoding.
On the image processing apparatus in the above-mentioned aspect, the information on the image process conditions may include information on a screen angle used for a pseudo-tone processing. With the information on a screen angle used for a pseudo-tone processing, the additional image information can be created to avoid the interference with the screen.
On the image processing apparatus in the above-mentioned aspect, the creating portion may create multiple pattern images similar to a screen shape. The pattern image having a similarity to the screen shape prevents the interference with the screen and degradation in image quality.
On the image processing apparatus in the above-mentioned aspect, the creating portion may create a pattern image equal to the screen shape or that of integral multiplication of the screen shape. The pattern image equal to either the screen shape or integral multiplication of the screen shape prevents the interference with the screen and degradation in image quality.
On the image processing apparatus in the above-mentioned aspect, the merging portion may select pattern images corresponding to the additional information and arranges the multiple pattern images in a given order. This makes it possible to arrange the pattern images on the image data according to the additional information.
An information analysis method of the present invention is realized with a CPU (Central Processing Unit), ROM (Read Only Memory), RAM (Random Access Memory), and the like, by installing a program from a portable memory device or a storage device such as a hard disc device, CD-ROM, DVD, or a flexible disc or downloading the program through a communications line. Then the steps of program are executed as the CPU operates the program.
Although a few embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.
The entire disclosure of Japanese Patent Application No. 2005-092931 filed on Mar. 28, 2005 including specification, claims, drawings, and abstract is incorporated herein by reference in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2005-092931 | Mar 2005 | JP | national |