This invention mainly concerns the field of animations with multipage animated images.
Animation formats with the multipage type of animated images exist, particularly those known under the acronym GIF, for “Graphics Interchange Format”. “GIF” type animations propose an interesting comprise between the image and the video: they enable several successive still images to be stored separately, the reason they are called multipage, and to display them at regular intervals. This makes it possible to have animations requiring computer processing far lighter than that of a video. These animations are generally played cyclically, in such a way that each image comes back at a normally regular interval.
In a video, the images can be compressed in accordance with another image, for instance thanks to the movement's predictive functions, such as in formats of the MPEG family. On the other hand, for animations of the multipage type, each still image is independent of the other still images; however, these formats have the disadvantage that, when the images become large, the corresponding medium is heavy and difficult to transport and share. Accordingly, an animation made up of such images, when it is published on a website or when it is sent to a mobile device, can take a long time to load or to display.
The purpose of the invention is to propose a process which enables an animation to be obtained that incorporates the advantages of GIF-type animations while being more fluid and rapidly downloadable/uploadable.
According to the invention, such a process comprises the use of scalable still images, that is images with scalability properties, preferably for all the images; each of the still images ought to be saved at least two levels, the first level containing few details and each following level providing additional details to the preceding level. As an advantage, to play an image, a level is first of all read before the higher ranking level, preferably by starting with the first level of the image. For each image, the data contained in all the levels available for said image are decompressed and displayed, or, the data corresponding only to the levels available for all the images are decompressed and displayed, or, only the data corresponding to the small group of levels are decompressed and displayed making it possible to achieve at least a specific image display resolution.
For each of the images, it would be preferable that each of these levels is located before the next level, in said medium's reading order. The animation's medium can understand, in said medium's reading order, all the levels of a first rank according to the order in which the animation images are intended to be played, then all the levels of the rank immediately above it, preferably starting with the first levels.
An image can be played according to the data stemming from a level of said image before the data of the higher rank have been read, then processed.
The image processed is favourably resized before being played, to achieve the display resolution sought.
The still images are previously favourably compressed by a wavelet method. It is preferable that the image medium should be a file.
As an embodiment of the invention, the still images were previously compressed by a method including at least one transformed by wavelets.
As an embodiment of the invention, the still images were previously compressed by a method including at least one difference between two adjacent pixels.
As an embodiment of the invention, at least one initial still image was compressed using an initial compression method, and at least a second still image was compressed using a second compression method.
Advantageously, the process according to the invention comprises a stage where each still image is analysed to determine the most suitable compression method.
Advantageously, the first compression method comprises at least one transformed by wavelets, and the second compression method comprises at least one difference between adjacent pixels.
As an embodiment of the invention, the analysis stage files all the images by contrast level, the images with the lowest contrast are compressed by the first method, and those with the greatest contrast are compressed by the second method.
The invention is also based on a medium for implementing a process according to the invention, characterised by the fact that it comprises, in said medium's reading order, all first rank levels according to the order in which the animation's images are intended to be played, then all the levels at the rank immediately above, preferably starting with the first levels.
The invention is again based on a process for selecting a still image from such an animation medium, where a level of a rank for displaying a preview of the medium's images is used without reading or without reading and processing the images from to higher ranks.
The invention is again based on a process, characterised by the fact that a fixed image medium is created from levels of the selected still image.
The invention is also based on a computer program to produce a multipage type of animation, characterised in that the animation medium comprises still images with scalability properties, preferably for all the images.
For compression formats which use a preview of the image with only some of the data and to obtain, by level, the scalability enabled previews of the image to be obtained that are more and more accurate as the data are decompressed. Such scalability is used statically, that is for a single image, such as in Jpeg2000 and PGF formats. The GIF format enables several images to be stored within one and the same medium, but not the scalability.
“Level” is what is called a set of consistent information created during compression, combined with the preceding levels, enabling the image to be decompressed with a determined resolution. Advantageously, this level contains all the image layers for this level. As an example, if the image is of a YcbCr type, the level favourably contains data for the Y layer, the Cb layer and the Cr layer for this level. Hence, the information contained in a level, combined with the information from preceding levels, enables the image to be decompressed and displayed with the resolution sought.
Several ways of running the invention will be described hereafter, as non-restrictive examples, in reference to the appended drawings in which:
In the illustrated example:
Each level has data representing the image, with a lower resolution than the following level. Each level uses data from the previous level at the same time as its own data. Such an image is therefore scalable, it has the scalability property, in other words that a level can be decompressed after the preceding one, without having to decompress any of the following levels.
It is faster to decompress the first level to obtain an initial preview of the image rather than waiting to decompress three levels; once the second level has been decompressed, an improved preview of the image may be obtained while the third level is being decompressed; this is how the scalability property of such an image is expressed.
Later on, we will describe how, according to the invention, the scalability property of the images is used.
Then, all the data enabling an image to be decompressed and displayed will be called a “medium”. These data may be contained in a file or a “image file”. They may also be contained in the memory of a mobile device, such as a telephone or a digital camera, or sent by means of a network protocol.
For each page, AMn corresponds to a given display time, corresponding to the pace of the animation. This representation by level makes it possible, for each image, to decompress and display the required resolution only. For instance, if the decompression of levels N1 and N2 of each image is sufficient to display each image at the resolution of the device's screen on which the animation is read, it is possible, with this representation of the data, to decompress and display only levels N1 and N2 of each image, thus economising resources compared with full decompressing all the levels.
In a second implementation method for the invention, the levels' data are re-organised as shown in
In this configuration, the first image can be displayed once the corresponding first level P1:N1 has been read and decompressed, and so on, so that whoever views such an animation, does not need to fully decompress the corresponding image. Every time it is planned to play a Pn image, it may be played by using, if so wished, all the data available for this image.
Consequently, the animation may be played by several methods: for each image to be placed, all the levels available for this image may be decompressed. This reading method is represented in
The image can also be decompressed by using the highest resolution available for all the images. For example, if level N1 of all the P images is available, but only some of the N2 levels, only level N1 can be decompressed and displayed for each image, so as not to bring about a change in the resolution between two successive images. In this way, in the case shown in
An image may also be decompressed until the “useful” resolution is obtained, in other words, the resolution at least the same as the one in which the animation is played.
The images in the medium can be compressed and decompressed by various compression methods, from the moment when the compression allows spatial scalability, and where the information can be combined from successive levels to obtain an image with higher resolution.
As an embodiment of the invention, at least one Pn image can be compressed according to the wavelet method. The compression methods based on the wavelets are particularly effective for compressing “natural” images such as photographs. Furthermore, images compressed by means of a method based on wavelets in general has several levels that be organised with a medium, depending on the invention.
In a second way embodiment of the invention, at least one image in the medium is encoded according to a method based on the differences between the values of the adjacent pixels. The compression methods based on the differences between adjacent pixels in general are particularly effective for compressing the strongly contrasted synthetic images. An image compressed using a method based on the differences between the values of the adjacent pixels may include several successive levels, if the levels represent sub-sets with the size of the image's pixels increasing, and if the pixels of a level are at least partially encoded on the basis of the differences in relation to the pixels of the preceding levels. There are then several successive levels which can be organised according to one of the production methods described by
In a third embodiment, at least two images are compressed according to two different compression methods. For instance, at least one initial image can be compressed by a compression method containing one transformed by wavelets and at least a second image can be compressed according to a compression method containing a difference between two adjacent pixels.
This embodiment makes it possible to obtain the most effective compression possible depending on the type of image. Images with low contrast may be encoded using the method including one transformed by wavelets, and the contrasted images may be encoded using the method including the differences between two adjacent pixels. As an embodiment of the invention, a method for creating a multipage animation comprises a stage detecting the type of image in order to apply the most suitable compression method.
To be able to decode each image using the suitable method, the medium according to the invention may contain heading information indicating, for each image, the compression method which had been used;
Time information may be combined with the AM, AG medium, indicating the number of images to be played each second, the animation may be played according to the time information given. Means and stages may be planned to modify the medium's display rate when writing and/or reading the medium, to be able to use slow motion or speeded up effects, or again by restoring all or part of each image when the user or an application requires it.
On the basis of data of the animated medium AM, AG, data corresponding to a Pn image can also be extracted from among the animation's images. In this way, the Pn to image can be restored as a still image depending on what is needed, by extracting, or by reading, and re-organising the image's levels Pn:N1, Pn:N2, etc., keeping the compressed data as they are.
Rather than being played on a timing basis, in the form of the animation, the animated medium AG may be used as a folder for the P1-P5 images. The lower N1 or intermediate N2 levels may be used for display in the form of icons, and a user who selected a Pn image from among the P1-P5 images, only the Pn image will be fully read and decompressed to be displayed as a still with its highest resolution, on the basis of information corresponding to the third level Pn:N3.
When running the invention, such a medium is used to shoot several still images continuously. This capture may be made using a still or film camera, or from successive screenshots. After having been captured, it is compressed and stored at several levels. When the capture is finished, the user selects; from among the images stored, the one he wishes to convert into an animated image. This selection may concern all the images, one image out of two, the second half of the images, etc. The user combines a reading speed with this medium, which can correspond not only to the capture speed, but also to a greater or lesser speed to create slow motion or speeded up effects. The application then creates, from the compressed images, an image medium organised by levels, such as the animated medium AG in
An image extracted from the medium may also be stored separately, in the form of a medium containing a single still image.
Of course, the invention is not limited to the examples that have just been described.
In this way, the number of levels is not limited to 3, there may be 2 or 4 or more than 4; thus, thanks to the process according to the invention, images of a gradually greater size than those generally used in GIFs can be rapidly displayed, particularly by increasing the number of levels.
Therefore, the invention proposes processes for compressing and decompressing animated images using scalability. These processes enable the animation receptor to display it from data already arrived, without necessarily having received everything.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/FR2014/000237 | 11/5/2014 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2016/071577 | 5/12/2016 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
8442311 | Hobbs | May 2013 | B1 |
20040010614 | Mukherjee | Jan 2004 | A1 |
20040085460 | Shiomi | May 2004 | A1 |
20040202372 | Sakuyama | Oct 2004 | A1 |
20060072838 | Chui | Apr 2006 | A1 |
20070014480 | Sirohey | Jan 2007 | A1 |
20070016594 | Visharam | Jan 2007 | A1 |
20080144711 | Chui | Jun 2008 | A1 |
20100146447 | Ubillos | Jun 2010 | A1 |
20150161823 | Anderson-Sprecher | Jun 2015 | A1 |
Entry |
---|
Rabbani, M., et al., “An Overview of the JPEG 2000 Still Image Compression Standard,” Signal Processing, Image Communication, vol. 17, No. 1, Jan. 2002, pp. 3-48. |
Amonou, I., et al., “Optimized Rate-Distortion Extraction with Quality Layers in the Scalable Extension of H.264/AVC,” IEEE Transactions on Circuits and Systems for Video Technology, vol. 17, No. 9, Sep. 2007, pp. 1186-1193. |
Hui, L., et al., “An Adaptive Hybrid DPCM/DCT Method for Video Coding,” Signal Processing, Image Communication, vol. 5, No. 1-2, Feb. 1993, pp. 199-208. |
International Search Report issued in Application No. PCT/FR2014/000237, dated Feb. 1, 2016. |
Number | Date | Country | |
---|---|---|---|
20170337724 A1 | Nov 2017 | US |