The present invention relates to an image processing method and device.
Visual contents, be they still or moving images, are in general creations which benefit from copyright-related exclusivity guarantees. Their reproduction is in general permitted only within a strictly defined framework which allows for remuneration of authors and their beneficiaries.
In order to ensure that these legal rules are correctly adhered to, numerous systems have been developed to prevent illegal copies or sufficiently impair their quality as to render them unusable.
Within this framework, patent application EP 1 237 369 aims to combat the copying of images by picture-taking during their display, for example with a camcorder in a cinema auditorium. With this aim, it is proposed that the intensity of the pixels of a pattern be modulated about the value to be displayed at a high frequency which renders the pattern invisible to the human eye but which generates artefacts on the sequence filmed by the camcorder. This pattern is commonly called watermarking or anti-copy pattern. The shape of the pattern is determined so as to inscribe for example messages of the type “ILLEGAL COPY” which will appear in the images displayed by the camcorder.
In order for the pattern to be invisible to the naked eye, the modulation consists in alternating images in which the pattern is bright with images in which it is dark, the mean intensity of the pattern over several images corresponding to that to be displayed in the images in the absence of a pattern. During the display of these images, the eye carries out an integration and in fact perceives the mean intensity. This technique may also be applied to the colour of the images by alternating images in which the pattern is more coloured with images in which it is less so, the mean colour of the pattern over several images corresponding to that to be displaced in the absence of a pattern.
In practice, the patterns are contained in a modulation image and the images of the sequence to be protected are modulated with this modulation image.
One of the principal difficulties of this type of technique is to determine the locations at which to place the pattern or patterns in the images so as to maximize the hindrance to a person watching an illicit copy generated for example by a camcorder.
According to the invention, a solution making it possible to solve this difficulty is proposed. According to the invention, the position and/or the shape of the patterns is defined as a function of the source image to be modulated. More particularly, the modulation image is generated on the basis of the source image that it modulates. Preferably, the modulation image is produced on the basis of the secondary contours of the image to be modulated. The secondary contours of the image to be modulated are employed to form the patterns of the modulation image. The patterns therefore get placed in the low-gradient zones of the source image.
The invention relates to a said sequence of source images being modulated with the modulation image in such a way that said at least one pattern is invisible to the human eye when the images of the sequence are displayed and that artefacts appear when said images are copied by picture-taking during their display, wherein the shape and/or the position of said pattern of the modulation image is determined by analysis of the source image that said modulation image modulates.
More particularly, the modulation image is generated directly on the basis of the source image that it modulates and the modulation image is an image of the secondary contours of the source image that it modulates.
The invention will be better understood on reading the description which follows, given by way of nonlimiting example, and with reference to the appended figures among which:
According to the invention, each modulation image is calculated on the basis of the image that it modulates. The geometry of the modulation image therefore repeats that of the image that it modulates. Moreover, the processing applied to the source image to generate the modulation image is defined such that the patterns of the modulation image are located in low-gradient zones of the image to be modulated. For this purpose, the image of the secondary contours of the image to be modulated is chosen for use as modulation image.
With reference to
The image of the secondary contours that are thus obtained will then be used as modulation image.
The detection of the contours 100 may be done by parallel application of two filterings on the source image to be modulated: a positive filtering with kernel
detecting the contours corresponding to light to dark transitions and a negative filtering with kernel
detecting the contours corresponding to dark to light transitions. The result of these two filters is added up to form a contour image.
Preferably, the contours detected are thereafter smoothed to spatially merge the positive contours and the negative contours and to eliminate noise. Specifically, in the case of a fine light band on a dark background, the above filters detect two very closely spaced contours. This smoothing operation 200 makes it possible to merge them. It is for example carried out by a 5×5 averaging operation. Each pixel of the contour image is thus assigned the mean level of the 25 pixels of the block of pixels encompassing the pixel considered, the pixel considered being the centre of said block.
In the image of
The image of the secondary contours which is thus obtained is used as modulation image in the modulation processes aimed at protecting the visual contents against copying by a camcorder. The last image of
The method may easily be implemented in a conventional digital processor.
In conclusion, the method of the invention has the following advantages:
| Number | Date | Country | Kind |
|---|---|---|---|
| 0404505 | Apr 2004 | FR | national |