# Patent

## Title
Watermarking different areas of digital images with different intensities

## Abstract

The disclosure relates to data hiding and digital watermarking in imagery. One claim recites an apparatus comprising: memory storing an image editing program; an input for receiving imagery, the imagery comprising image features that vary across the imagery; a processor configured for: encoding a pattern of 2-dimensional auxiliary data at a first intensity within a first multi-dimensional region within the imagery; and encoding the pattern of 2-dimensional auxiliary data at a second, different intensity within a second multi-dimensional region within the imagery. Of course, other claims and combinations are provided.

## Background
RELATED APPLICATION DATA
This application is a continuation of application Ser. No. 13/711,282, filed Dec. 11, 2012 (now U.S. Pat. No. 8,532,335), which is a continuation of application Ser. No. 13/284,503, filed Oct. 28, 2011 (now U.S. Pat. No. 8,331,613), which is a continuation of application Ser. No. 12/758,600, filed Apr. 10, 2010 (now U.S. Pat. No. 8,050,450), which is a division of application Ser. No. 11/295,345, filed Dec. 5, 2005 (now U.S. Pat. No. 7,697,716), which is a continuation of application Ser. No. 09/649,260, filed Aug. 28, 2000, now abandoned, which is a non-provisional of application 60/152,520, filed Sep. 1, 1999.


TECHNICAL FIELD
The present technology relates to steganography, and more particularly to techniques for watermarking digital images.
BACKGROUND AND SUMMARY
The technology for watermarking digital images is well developed. The intensity of the watermark determines both if the watermark will create visual artifacts and how easily the watermark will be to detect after an image has been printed, copied or otherwise transformed. When inserting a digital watermark into an image, it is desirable to utilize a high intensity watermark signal, that is, to change the intensity of the pixels in the image as much as possible so that it will be easy to detect and read the watermark. However, if the intensity of the watermark signal is too high, the watermark may create visual artifacts in the image, that is, the watermark signal may be visually evident.
Many watermarking technique are “perceptually adaptive.” Perceptually adaptive watermarking techniques take into account the characteristics of an image in an effort to make a watermark relatively easy to detect and to avoid causing visually apparent artifacts in the watermarked image.
A perceptually adaptive watermarking technique is for example shown in U.S. Pat. No. 5,748,763 entitled “Image Steganography System Featuring Perceptually Adaptive and Globally Scalable Signal Embedding” by Geoffrey B. Rhoads. Certain commercially available image editing programs (such as the image edition program marketed by Adobe Corporation under the trademark “Adobe Photoshop”) can watermark digital images using perceptually adaptive techniques.
The technology detailed herein concerns watermarking an image using the highest practical watermark intensity that can be used without creating visual artifacts. An image is divided into areas. Each area only contains portions of the image where it is appropriate to use a watermark signal having the same energy level.
Some images consist of a series of lines. Such images are often used as the background image on security documents or currency. If an image consists of a series of lines, the technology described herein can be applied by dividing the image into areas where the lines that form the image are within a certain range of widths. An appropriate watermark intensity is then determined for each such area and a watermark of this intensity is applied to the image. Watermarks can be applied to such images using the line width modulation techniques shown in U.S. application Ser. No. 09/074,034, filed May 6, 1998 (now U.S. Pat. No. 6,449,377) which corresponds PCT/US99/08252; and Ser. No. 09/127,502, filed Jul. 31, 1998 (now U.S. Pat. No. 6,345,104) which corresponds to PCT/US99/14532.
If an image is a grayscale image, areas having the same tonal value or tonal density are determined directly, or the image is transformed into a line art image and areas with the same size binary valued areas (lines, dots, squares, etc.) are selected by filtering the image.
After the image has been divided areas which have a line width or tonal density value that is within a certain range of values, an appropriate watermark energy level is assigned to each area. The image is watermarked by changing the value of each bit or pixel in the image by an amount determined by both the value in a payload tile and the intensity value associated with the area in which the bit or pixel lies.
The described technology is applicable to watermarking techniques which change the value of a binary parameter in areas of an image (for example, by modulating the width of lines in a line image) or to watermarking techniques which change the value of a multi-valued parameter in areas of the image (for example, by changing the luminance value of the pixels in an image).



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows three areas each of which have lines of different width.
FIG. 2 shows an image after a mask has been applied
FIG. 3 shows an image divided into a grid.
FIG. 4 shows a computer with the programs used to practice one embodiment of the present technology.
FIG. 5 is an example of a gray scale image.
FIG. 6 is an example of a line art image where the binary elements are lines.
FIG. 7 is an example of a line art image where the binary elements are circles.



DETAILED DESCRIPTION OF A PREFERRED EMBODIMENT
In a first preferred embodiment, the technology is applied to an image which consists of a series of lines. Images which consist of a series of lines are, for example, often found as background imagery on security documents and on currency. A digital watermark can be inserted into such an image using line width modulation techniques such as those shown in co-pending U.S. patent application Ser. No. 09/074,034, filed May 6, 1998 (now U.S. Pat. No. 6,449,377) which corresponds PCT/US99/08252, and Ser. No. 09/127,502, filed Jul. 31, 1998 (now U.S. Pat. No. 6,345,104) which corresponds to PCT/US99/14532. The disclosures of the above referenced patent applications is incorporated herein in their entireties
A typical image which consists of a series of lines will have a relatively complex set of lines; however for ease of explanation the technology will herein be described as applied to a very simple image. This technology can be applied to complex images in exactly the same was as described herein as applied to a simple image.
FIG. 1 shows three areas designated A, B, and C. Each of the areas A, B, and C has lines with a width that differs from the width of the lines in the other areas. The lines in area A are relatively narrow, the lines in area C are relatively wide, and the lines in area B have an intermediate width. Area C can absorb much more watermarking energy than can area A without creating any visual artifacts.
For ease of reference the line width in the three areas (in terms of pixels and resolution) will hereinafter be referred to by line width index numbers as follows:

    
    
        Area A—0.5
        Area B—1.0
        Area C—2.0
    
    


The actual width of the lines in terms of pitch or pixel width will depend upon the specific application. For example, an index number of 1.0 could for example correlate to a pitch of 2. The relative width of the lines and this relative width can be most easily represented in a general manner by using index numbers.
Many commercially available image editing programs (such as, for example, Adobe Photoshop) include the ability to make image filters, and masks. For example, using such programs an image can be filtered to eliminate all lines that have (in terms of the above line width index values) a width of less than 1.0. If such a filter is applied to the image shown in FIG. 1, area A would be eliminated, resulting in an image such as that shown in FIG. 2 which only has areas B and C. The image in FIG. 2 could then be subtracted from the image shown in FIG. 1 to produce an image (or mask) that only includes the image in area A. Next the image could be filtered to remove all lines with a line width index of less than 2.0. The result would be an image with only area C. The image with area C could be subtracted from the image with areas B and C to produce an image with only area B. One would thus have three images (or masks) each of which include lines with a particular line width index, that is, each of which specify an area which should be watermarked at a particular intensity.
It is desirable to watermark the three areas in the original image (each of which is defined by a different mask) with the maximum watermark energy without creating visual artifacts. The three masks described above can be used to control the watermarking operation as described below.
As is conventional, in order to achieve reliability the image is divided into a grid as shown in FIG. 3. Each square in the grid will be x pixels on each side and thus each square will consist of x2 pixels. The watermark data is inserted into each of the squares on the grid. The watermark data (termed the payload) is specified by a payload tile. The payload tile defines an amount of change for each pixel in the tile. The size of the tile is the same size as the size of the squares in the grid on the image, that is, in the example given the payload tile will have x2 pixels. The tile specifies a relative amount of change for each pixel in a square on the image that will result in a particular watermark payload. The value of the changes specified by the payload tile are calculated using watermarking techniques such as those described in the previously referenced patent and patent applications. In prior watermarking techniques the pixels in each square of the grid on the image are changed in accordance with the amounts specified in the payload tile in order to watermark the image.
However, with this technology, when changing the pixels in the image in accordance with the payload tile, an additional intensity factor can be taken into account. For example, in a particular square on the grid, the pixels in the square may only be changed by one half of the amount specified in the payload tile. In another square on the grid, the pixels may be changed by seventy five percent of the amounts specified in the payload tile. That is, a watermark can be inserted into the image by changing each pixel in the image by an amount specified by an associated pixel in a payload tile, as modified by an intensity factor. The intensity factor for each pixel in the image is specified using the previously described masks which define an appropriate intensity for different areas of the image.
The watermarking operation proceeds as shown in FIG. 3. Each pixel in each square of the image is changed by an amount which depends both on the value specified for the corresponding pixel in the payload tile and by an intensity value. The intensity value is determined by looking at a series of masks. Each mask specifies a particular intensity. If the mask has an image at the location of the corresponding pixel, the intensity associated with that mask will control the intensity of the change.
The masks are ordered (with the mask specifying areas with the least intensity first) and if two masks have images at the same location, the first mask in the series controls the intensity of the pixels. The payload tile includes a value for each pixel in a square on the image. Each pixel in each square of the image is changed by an amount that depends both on the value specified by the associated pixel in the payload tile and by the various masks that define areas of the image to be watermarked at various intensities. The intensity that should be associated with a mask for an area having a particular width index can be determined by trial and error. However, once determined this value can be used for subsequent operations. That is, the shape of the masks for different images will vary according to the characteristics of the image. The intensity value assigned to a mask which represents an area having a particular width index can be the same for different images.
A system for performing the above described operations is shown in FIG. 4. The system includes a conventional personal computer system 401. This can for example be an Intel Pentium III system operating under the Microsoft Windows operating system. The computer system 401 includes conventional I-O devices such as a display, a keyboard, a printer, etc., conventional storage devices such as RAM, hard drive, CD drive etc. Such conventional components are not shown in FIG. 4.
The system includes an image editing program 403 such as for example the Adobe Photoshop image editing program. The image editing program 403 includes an image watermarking facility 405, an image filtering facility 407, and an image addition and subtraction facility 408. Except for the details described herein, the image editing program 403, the watermarking facility 405, the filtering facility 407, and the image addition and subtraction facility 408 are conventional components.
The embodiment described above applied a watermark to an image that consisted of a series of lines with different width. The embodiment described below applies the technology to a half tone image such as that shown in FIG. 5. The half tone image shown in FIG. 5 is a conventional halftone image. It can, for example, be a single color channel of a multicolor image.
Halftone images, such as image 500 shown in FIG. 5, can be transformed into line art images such as line art image 601 shown in FIG. 6. This conversion can be done by conventional, well knows processes regularly used in the printing industry. After a half tone image such as image 500 shown in FIG. 5 is converted to a line art image such as image 601 shown in FIG. 6, the technology can be applied as previously explained with respect to the first embodiment. That is, image 601 shown in FIG. 6 can be divided into areas, each of which has lines the width of which falls in a particular range. This can be done as previously explained by applying line width filters and subtracting from the original image to form a series of masks, each of which define an area with lines whose width fall within a selected or specified range.
After the areas with lines of similar width are defined as described above, the image is watermarked. As in the first embodiment, the intensity at each location in the image is defined by both the payload tile and the masks which define the area having line width in a specified range.
The line art image 601 shown in FIG. 6 appears as a series of lines. As is well known in the printing art, the elements in a line art image need not be lines. The elements in the line art image can be circles as in image 701 shown in FIG. 7. The particular shape of the elements is generally selected for various esthetic reasons and the present technology can be used with elements having any desired shape. The filtering to define areas having the same tonal density would proceed as previously described irrespective of the shape of the elements in the line art image.
It should be understood that the images shown in FIGS. 5, 6 and 7 are merely representative of gray scale images. The present technology can be applied to gray scale images developed with any of the processes known in the printing industry.
Digital images consist of an array of bits or pixels. With the present technology, the bits or pixels in an image are divided in two ways. First the bits or pixels of an image are divided into arrays the size of a watermark payload tile as is conventional. Second the pixels of the image are divided into what can be termed secondary control areas.
The first division of the pixels or bits is into areas that are identical in size. That is, the first division divides the pixels into areas each of which is the size of the payload tile. The payload tile specifies the change in each bit or pixel in an area the size of said payload tile.
The amount specified by the values in said payload tile is the amount which is appropriate for the watermark to carry the desired payload data. The values in the payload tile can be established and used on a perceptually adaptive basis.
The secondary control areas are not necessarily identical in size. Furthermore, the size of the secondary control areas is not related to the size of the watermark tile. The secondary control areas are areas of the image which have some particular characteristic. For example they are areas of the image which have lines within a specified width range or areas which have tonal density values within a specified range.
Each secondary control area has an associated control value. For example the control value associated with each secondary control area can be the intensity of the watermark which is appropriate for the particular area.
The embodiments described herein give specific and novel techniques for dividing an image into secondary control areas. It should however, be understood that various other and different techniques can be utilized to define secondary control area for a document.
While our technology has been illustrated above with respect to various embodiments, it will be appreciated by those skilled in the art that that the scope thereof exceeds the specific embodiments described herein. Various other changes in form and detail can be made without departing from the sprit and scope of our inventive work.

## Claims

1. An article of manufacture including a non-transitory computer-readable medium having instructions stored thereon that, if executed by a computing device, cause the computing device to encode a digital watermark within two-dimensional imagery to convey plural-bit payload data, by performing operations including:
designate a first multi-dimensional region within the imagery and encoding plural-bit payload data in the first multi-dimensional region at a first intensity;
designate a second multi-dimensional region within the imagery, and encoding plural-bit payload data in the second multi-dimensional region at a second intensity;
wherein the second multi-dimensional region has a non-rectangular shape that is different than a shape of the first region.

2. The article of claim 1 in which said instructions, if executed by the computing device, cause the computing device to perform operations including encoding all of said plural-bit payload data in the first multi-dimensional region, and also encoding all of said plural-bit payload data in the second multi-dimensional region.

3. The article of claim 1 wherein the image is a halftone image, and the instructions, if executed by the computing device, cause the computing device to perform operations further including:
converting the half tone image into a line art image;
filtering said line art image to create a series of masks defining areas of said half tone image having tonal density within a specified range, each range of tonal densities having an appropriate watermark intensity; and
encoding the plural-bit payload data in the image, with the intensity of the encoded payload data being set to said appropriate watermark intensity.

4. A system including an input device, an output device, a processor, and the article of manufacture of claim 1 having said instructions stored therein, said instructions configuring the system to perform said operations.

5. An article of manufacture including a non-transitory computer-readable medium having instructions stored thereon for causing a computing device to encode a digital watermark within imagery to convey N-bits of auxiliary data, where N is larger than three, the imagery comprising image features that vary across the imagery, by performing operations including:
establishing a first multi-dimensional region within the imagery by reference to image features within the first multi-dimensional region;
encoding all N-bits of the auxiliary data in the first multi-dimensional region at a first intensity;
establishing a second multi-dimensional region within the imagery by reference to image features within the second multi-dimensional region; and
encoding all N-bits of the auxiliary data in the second multi-dimensional region at a second, different intensity.

6. A system including an input device, an output device, a processor, and the article of manufacture claim 5 having said instructions stored therein, said instructions configuring the system to perform said operations.

7. A system comprising:
memory storing an image editing program;
an input for receiving imagery;
means for encoding 2-dimensional payload data at a first intensity in a first multi-dimensional region within the imagery; and
means for encoding the 2-dimensional payload data at a second intensity in a second multi-dimensional region within the imagery,
in which the second multi-dimensional region has a non-rectangular shape that is different than a shape of the first multi-dimensional region.

8. The system of claim 7 in which the imagery comprises a halftone image, wherein said system further comprises:
means for converting the half tone image into a line art image;
means for filtering the line art image to create a series of masks defining areas of the half tone image, each of the areas having a tonal density within a range, each range of tonal densities having an associated watermark intensity; and
means for encoding the 2-dimensional payload data in the areas of the half tone image, with an intensity of encoding per respective area being set according to its associated watermark intensity.

9. A system comprising:
memory storing an image editing program;
an input for receiving imagery, the imagery comprising image features that vary across the imagery;
means for encoding 2-dimensional auxiliary data at a first intensity within a first multi-dimensional region within the imagery, in which the first multi-dimensional region comprises a non-rectangular shape; and
means for encoding the 2-dimensional auxiliary data at a second, different intensity within a second multi-dimensional region within the imagery.

10. The system of claim 9 further comprising means for determining the first multi-dimensional region by reference to image features within the first multi-dimensional region.

11. The system of claim 10 further comprising means for determining the second multi-dimensional region within the imagery by reference to image features within the second multi-dimensional region.

12. The system of claim 9 in which the imagery comprises multi-color imagery, and the first multi-dimensional region is carried in a first color channel of the multi-color imagery.

13. The system of claim 9 in which the second multi-dimensional region comprises a non-rectangular shape.

14. An apparatus comprising:
memory storing an image editing program;
an input for receiving imagery;
a processor configured for:
encoding plural-bit payload data at a first intensity in a first multi-dimensional region within the imagery; and
encoding the plural-bit payload data at a second intensity in a second multi-dimensional region within the imagery,
in which the second multi-dimensional region has a non-rectangular shape that is different than a shape of the first multi-dimensional region.

15. The apparatus of claim 14 in which the imagery comprises a halftone image, wherein said processor is configured for:
converting the half tone image into a line art image;
filtering the line art image to create a series of masks defining areas of the half tone image, each of the areas having a tonal density within a range, each range of tonal densities having an associated watermark intensity; and
encoding the plural-bit payload data in the areas of the half tone image, with an intensity of encoding per respective area being set according to its associated watermark intensity.

16. An apparatus comprising:
memory storing an image editing program;
an input for receiving imagery, the imagery comprising image features that vary across the imagery;
a processor configured for:
encoding a pattern of 2-dimensional auxiliary data at a first intensity within a first multi-dimensional region within the imagery, in which the first multi-dimensional region comprises a non-rectangular shape; and
encoding the pattern of 2-dimensional auxiliary data at a second, different intensity within a second multi-dimensional region within the imagery.

17. The apparatus of claim 16 in which said processor is configured for determining the first multi-dimensional region by reference to image features within the first multi-dimensional region.

18. The apparatus of claim 17 in which said processor is configured for determining the second multi-dimensional region within the imagery by reference to image features within the second multi-dimensional region.

19. The apparatus of claim 16 in which the imagery comprises multi-color imagery, and the first multi-dimensional region is carried in a first color channel of the multi-color imagery.

20. The apparatus of claim 16 in which the second multi-dimensional region comprises a non-rectangular shape.

21. The apparatus of claim 16 in which imagery within the first multi-dimensional region comprises a plurality of pixels, with each pixel of the plurality of pixels being changed according to both an associated value of the plural-bit payload data and by the first intensity.

22. The apparatus of claim 21 in which the first intensity is determined by an image mask.

23. The apparatus of claim 16 in which the imagery represents gray scale imagery.

24. The apparatus of claim 14 in which imagery within the first multi-dimensional region comprises a plurality of pixels, with each pixel of the plurality of pixels being changed according to both an associated value of the auxiliary data and by the first intensity.

25. The apparatus of claim 24 in which the first intensity is determined by an image mask.

26. The apparatus of claim 14 in which the imagery represents gray scale imagery.

27. The system of claim 7 in which imagery within the first multi-dimensional region comprises a plurality of pixels, with each pixel of the plurality of pixels being changed according to both an associated value of the 2-dimensional payload data and by the first intensity.

28. The system of claim 27 in which the first intensity is determined by an image mask.

29. The system of claim 7 in which the imagery represents gray scale imagery.

30. The system of claim 9 in which imagery within the first multi-dimensional region comprises a plurality of pixels, with each pixel of the plurality of pixels being changed according to both an associated value of the 2-dimensional auxiliary data and by the first intensity.

31. The system of claim 30 in which the first intensity is determined by an image mask.

32. The system of claim 9 in which the imagery represents gray scale imagery.

33. The article of manufacture of claim 5 in which the image features within the first region comprise a tonal density within a predetermined range.

34. The system of claim 10 in which the image features within the first multi-dimensional region comprise a tonal density within a predetermined range.