The present invention relates to a method for automatically editing video sequences based on shot sequences, in order to produce lenticular grid hardcopies. Lenticular grid hardcopy means a photographic hardcopy in which several images are combined and linked to a lens grid. The lens grid enables selective observation of the images according to an observation angle of the hardcopy. By continuously varying the observation angle, rotation of the hardcopy enables the images to be run through and thus the shot sequence to be simulated.
The invention has applications especially for digital cameras such as photographic cameras, mobile phones or other portable multimedia equipment provided with an image sensor.
A number of digital photographic cameras propose an image-by-image capture mode, and a burst capture mode enabling the capture of a sequence of images. In the latter case, the images are captured at regular intervals, for as long as the user holds the release button down.
The image sequences are then viewed either on the camera's control screen, or on a computer screen. They then appear as short motion-picture or video sequences.
Another solution to view the shot sequences consists in producing hardcopy and more precisely lenticular grid hardcopies. As mentioned in the introduction, lenticular grid hardcopy comprises many interlaced images to form a single image linked to a lens grid. The user can vary the observation angle of the lenticular grid hardcopy, to make each of the images appear successively. When the interlacing of the images is designed to make various images of a shot sequence appear in the shooting order, the user can view the sequence by pivoting the lenticular grid hardcopy manually.
The user can even vary the apparent speed of the sequence by pivoting the hardcopy more or less quickly.
The lenticular image hardcopies are formed from a fairly small number of images. This number is generally about 25 to 30 images. The top limit of the number of images is determined by the resolution of the printing system and especially by the number of image lines printable per elementary lens. Given this limitation, only fairly short sequences can be fully reproduced.
The transfer of the sequences onto the lenticular grid hardcopies can have several difficulties. A sequence not containing sufficient movement is more suited to a fixed image and does not justify the use of a lenticular grid. Conversely, a sequence containing too much movement, i.e. where the successive images are too different from one another, will tend to appear with poor image quality. This is due to partial overlapping of the interlaced images. In this matter one can refer to the document (1) whose references are set out at the end of the description.
Other parameters, in particular linked to respecting the rate of the sequence's images, to the exposure quality and sharpness of individual images of the sequence, also have a strong influence on the final quality of the lenticular grid hardcopy.
The document (1) proposes a camera device enabling the user to preview on a small control screen the sequence as it will be reproduced by the lenticular grid medium. The device also enables the user to modify the image sequence that will be used to form a lenticular grid hardcopy. In particular it enables the choice of the sequence start and end, the amount of movement it contains, its quality and possibly a set of images to be retained. The option offered to the user to more or less edit an image sequence before proceeding to its transfer onto a medium, aims at improving the quality. However, this operation requires the user to devote some time to viewing and correcting the sequence to be retained. The ease of implementing the editing also depends on the quality of the data input interface provided by the camera.
The object of the present invention is to propose an automatic editing method of video sequences not requiring a user's intervention.
Another object is to propose such a method capable of being implemented on very summary camera equipment, such as mobile phones with built-in image sensor, or more generally equipment not having a conformable control interface.
Another object is to propose a method enabling the quality of lenticular grid hardcopies to be improved while enabling a considerable amount of movement in the video sequences used to produce the hardcopies. The term “amount of movement” means the presence of images in the sequence, sufficiently different from one another, to cause an impression of movement when observing the lenticular grid that is pivoted.
It is also an object of the invention to propose a camera for implementing the method.
More precisely it is an object of the invention to provide an automatic editing method of video sequences to produce lenticular grid hardcopies based on shot sequences produced by a digital camera. The method comprises:
a) the selection of a first set of images in a shot image sequence,
b) the assignment to each image of the image set of an individual quality factor as a function of image characteristics,
c) the selection of at least one new image set by replacing at least one image of the previously selected image set by a new image of the shot sequence, and absent from the previously selected set,
d) the preparation of image data to form a lenticular grid hardcopy, based on an image set taken from among the previously selected image sets and with the highest overall quality factor, the overall quality factor being a function of the individual quality factors of the images of each selected image set.
The selection of an image set, and in particular the selection of the first image set can occur by retaining a subset of images of the shot sequence. When the number of images of the shot sequence is more than the number of images that can be combined in a lenticular grid hardcopy, which is most often the case, only one image out of two may be retained, or one image out of three, or in general one image out of N, N being an integer.
While this is not an essential characteristic, the images are preferably selected in a regular order. That is to say, a constant number of non-selected images respectively separates two selected images in the initial shot sequence. Following a regular order enables the natural aspect of the movements of the recorded scene to be kept.
An important characteristic of the invention is the taking into account of a quality factor of the selected images. The individual quality factor can correspond to one or more image characteristics. These are characteristics specific to the image, i.e. linked to the image content, or again characteristics taking into account both the image and the neighboring images of the shot sequence. Image specific characteristics are for example the sharpness, the sharpness of an interest zone of the image, the exposure, the contrast, the color balance, the presence or absence of interest zones, the presence or absence of faces, the centering in relation to an interest zone, etc.
The interest zone of the image means a zone that complies with a number of predefined criteria. This is, in its simplest expression, a zone with color contrasts exceeding a certain value. This enables uniform areas of sky or ground to be rejected. In a more sophisticated way, interest zones can be defined by the fact that they contain a human face. The presence of a face can be detected in different ways. It is performed by the detection of skin colors, and/or by the detection of geometric structures characteristic of the nose or eyes. Other criteria can be used to define interest zones. The detection of interest zones in an image is a known technique.
To the image specific characteristics, capable of being used to establish the individual quality factor can be added characteristics that take into account neighboring images. Such a characteristic can be the amount of movement of an image in relation to the neighboring images of the shot sequence.
A small amount of movement means that the image is more or less identical to the previous image or to the next image. A large amount of movement means that at least some elements of the image are displaced or transformed significantly from one image to the next or from one image to the previous. Since images of shot sequences are generally taken at regular rates, a rapid movement or displacement corresponds to a large amount of movement.
For a lenticular grid hardcopy, it is generally required that the amount of movement of one image in relation to the previous or next images is neither too little, to favor the dynamic effect, or too large, to favor the image quality. A high quality factor can thus be used when the amount of movement of an image is contained within a set range. A lower quality factor is assigned to the image when its amount of movement deviates from this range.
The amount of movement between two images can be measured, for example, by identifying the elements present in the two images and measuring the norm of the displacement vectors of these elements. Movement measuring techniques are known. Among them, the technique called comparison of blocks between images is commonly used.
The individual quality factor of each image of a set of selected images demonstrates more or less the influence of this individual image on the overall quality of the lenticular grid hardcopy capable of being obtained.
Also an overall image quality factor is defined, capable of being calculated from the individual image quality factors. For example this is the simple sum or weighted sum of the individual image quality factors of a set of selected images. More generally this is a cumulative function of individual quality factors, such that the overall quality factor of an image set increases or decreases with the individual quality factor of each image of the set.
According to a particular implementation of the invention method the overall quality factor of the first set of selected images can be calculated explicitly. In this case, between steps c) and d) of the method the following is also planned:
This implementation is preferably used when several images, or possibly all the images are replaced simultaneously during the selection of a new image set.
Another implementation option of the method can be envisioned especially when a single image is replaced at each new selection. According to this second implementation option, step c) comprises:
the selection of a new image in the shot sequence, the assignment to the new image of an individual quality factor, the comparison of the individual quality factor with the individual quality factor of an image of the previously selected image set, having to be replaced by the new image, and the replacement of the image having to be replaced by the new image when the individual quality factor of the new image is superior to that of the image having to be replaced.
This particular implementation of the method can also be envisioned when several images are replaced concurrently.
When several images are replaced, step c) comprises:
the selection of several new images in the shot sequence, the assignment to the new images of a common quality factor established based on the individual quality factors, the comparison of the common quality factor with the common quality factor of the images of the previously selected image set, having to be replaced by the new images, and the replacement of the images having to be replaced by the new images when the common quality factor of the new images is superior to that of the images having to be replaced. The common quality factor, is then similar to the overall quality factor, except that it only corresponds to a subgroup of the image set.
The fact of replacing one or more images every time by images whose quality factor is greater than that of the replaced images, guarantees that the last set of selected images necessarily has the highest overall quality factor, calculation of the overall quality factor not finally being essential.
So long as a gain of quality can be obtained, one image of a set of previously selected images is preferably replaced by an immediately neighboring image of the shot sequence. The fact of selecting an immediately neighboring image indeed allows the regular order of the selected images not to be significantly disturbed, and thus the natural character of the movement of the recorded scenes to be respected.
However, replacing one image of a selected set by another image that is not an immediately neighboring image can be envisioned. The effect of this is to introduce an acceleration or delay in the movement of the recorded scene. This solution is preferably only used if a significant quality gain can be obtained. Thus, when the new image is offset by a rank more than or equal to one, the replacement is only carried out if the quality factor of the new image is superior to that of the image to be replaced by an amount that is an increasing function of the offset rank. In other words, the greater the offset, the greater the quality gain must be to justify the image replacement.
When all the images of a previously selected set are replaced, precautions can also be taken to respect the movements of the recorded scene. For example, the new image set is selected with the same regular order O as that of the previously selected set, by choosing images respectively offset against the images of the previously selected set by a number of images less than the regular order O.
Other image selection criteria of an image set can be used. The images of an image set are for example selected so as to contain the same iconic element. The iconic element is for example a face, a geometric shape or a color range identified in several images.
The method can also comprise the selection of interest zones in the images and the replacements of images by images corresponding to the interest zones only. This amounts to reframing the images around the interest zones identified in them. This operation can be carried out directly on the images of the shot sequence or on the images of one or more sets of selected images.
Finally the invention relates to a camera comprising a selector control between a capture mode of a single fixed image and a capture mode of an image sequence, the camera also being equipped with a control for starting an automatic editing method as previously described, in response to the capture of a sequence where the number of images exceeds the number of images capable of being contained in a lenticular grid hardcopy.
Other characteristics and advantages of the invention will appear in the following description, with reference to the figures in the appended drawings. This description is given purely as an illustration and is not limiting.
Reference 20 of
As
Returning to
While this is not a prerequisite for implementing the method, the editing method demonstrates its advantages when the number p is less than the number N of captured images in the shot sequence. The number of images p to be kept can be programmed in the camera. It can also be selected by the user if the camera offers a choice option enabling the number of images or rather the quality of the hardcopy to be favored. Finally it can be set by the hardcopy manufacturing equipment that the images are destined for.
In general, the number of images p is preferably between 10 and 30.
The second step 22 of the method consists in selecting a first set S1 of p images in the shot sequence. While this is not essential, the images are preferably selected in a regular order O. For example, one image is taken every F images, F being the whole part of the ratio of N over p.
F=int(N/p)
Returning to
A next step 26 consists in calculating a overall quality factor QS1 for all the images of the first selected set. This is, for example, the sum of the individual quality factors qi of the images.
The next step 28 consists in selecting a new image set. This takes place after step 26 of the calculation of the overall quality factor of the first set, as the figure shows. It is also followed by the calculation 30 of an overall quality factor, according to the individual quality factors of the images of the new set.
Indeed, the next step of the method, shown with the reference 32, consists in preparing image data for forming a lenticular grid hardcopy based on the selected image set whose overall quality factor is the highest. Step 32 can comprise the search, among the selected sets, for the set with the highest quality factor, noted Sup (QSi). All the operations that comprise the data formatting, the interlacing of the images of the selected set, its transmission to a hardcopy printing station and the production of the hardcopy itself, are represented on
It should be noted that steps 28 and 30 consisting in selecting a new image set and calculating its overall quality factor are not necessarily performed following the calculation of the overall quality factor of the first set. In general, the selections of the various image sets can occur concurrently, or successively. The same goes for the calculation of the quality factors. On
The selection of a new image set can take place, as previously indicated with reference to
This is illustrated by
The selection of a new image set takes place by replacing one of the images, in this case image No. 14 by image No. 13. The replacement can be preceded or followed by the calculation of the new overall quality factor so as to know which of the image sets should be retained. As an alternative, a comparison can take place between the individual quality factor of image No. 14 having to be replaced and that of image No. 13, candidate for the replacement. If it turns out that image 13 has an individual quality factor superior to that of image No. 14, or even if it exceeds that of image 14 by a certain amount, the replacement is carried out. In this case, the overall quality factor of the new set comprising image 13 in the place of image 14 is necessarily superior to that of the previous set, without it being necessary to calculate it.
The replacement of image 14 by image 13 only moderately disturbs the regularity of the sequence since it is an immediately neighboring image. Replacing one image of a previously selected set by an image that is not an immediately neighboring may also be envisioned. For example, this is image 16 of
Replacement image-by-image, as described with reference to
During this step, the individual quality factors of all the previously retained images can be compared with the quality factors of the preceding and next images, of one or more ranks. If replacements of images by images of superior quality factor are possible, they are carried out. This operation can be systematically performed with all the previously selected images, i.e. images with horizontal hatching in
As
A selector control 220, 221 is used to select either the capture of a single view with each release, or the capture of a shot sequence formed by many images. Two releases 220 and 221 are provided respectively. Finally, a single control 224 lets the user start the automatic editing method of a video sequence for the optimized production of a lenticular grid hardcopy. This editing takes place as previously described. The user can view on screen 224 the sequence obtained by the editing, and start or not the data transmission to produce a lenticular grid hardcopy.
Reference Document
(1) US 2003/0128287 A1
Number | Date | Country | Kind |
---|---|---|---|
0403628 | Apr 2004 | FR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP05/03138 | 3/24/2005 | WO | 6/26/2007 |