Method for compressing a sequence of images showing composite graphic elements of non-photographic origin

By detecting computer-generated graphic elements and background in images, generating descriptors that do not contain pixel values, and utilizing potentially changing event codes to generate incremental descriptors, the problem of low image sequence compression efficiency is solved and more efficient is achieved. Data transfer and storage.

CN115516859BActive Publication Date: 2024-10-25ZODIAC DATA SYSTEMS +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080092720.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-12-10
Filing Date
2020-12-10
Publication Date
2024-10-25
Estimated Expiration
2040-12-10

AI Technical Summary

Technical Problem

Existing image compression methods are difficult to effectively compress computer-generated graphic element image sequences displayed in aircraft cockpits, resulting in low transmission and storage efficiency.

Method used

By detecting computer-generated graphic elements and background in the image, generating descriptors that do not contain pixel values, using potentially changing event codes to generate incremental descriptors, achieving efficient compression of graphic elements and updating them according to changes during transmission descriptor to reduce the amount of data.

Benefits of technology

The compression rate of the image sequence is improved, the efficiency of data transmission is increased, more image data can be transmitted at a constant transmission rate, and the cost of storage and transmission is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115516859B_ABST
    Figure CN115516859B_ABST
Patent Text Reader

Abstract

A method for compressing an image sequence, the image sequence comprising a first image and a second image, the method comprising the steps of: generating (102) a first descriptor, the first descriptor comprising parameters for displaying a computer-generated graphical element in the first image, the graphical element having a non-photographic origin, and the display parameters not including pixel values; processing the second image to determine (208) an event that caused a potential change in the parameters for displaying the graphical element between the first image and the second image; and generating (210) a second descriptor, the second descriptor comprising an event code indicative of the determined event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing.

[0002] More specifically, the invention relates to a method for compressing a sequence of images. Background Art

[0003] Videos displayed on screens found in aircraft cockpits have specific characteristics. The images of such videos show composite graphic elements (lines, polygons, circles, characters) superimposed on a background. The composite graphic elements are of non-photographic origin, in the sense that their drawing is entirely determined by a computer and not by a camera or video camera. Figure 1 In the example of the image, the background is taken from photography. Figure 2 In the example of the image, the background is of non-photographic origin and is uniform.

[0004] These videos must be compressed for easy transmission and storage.

[0005] In the article "Extremely Low Bitrate Semantic Compression of Aircraft Cockpit Screen Contents" by Iulia Mitrica et al., a compression method is provided in which the background and synthetic graphic elements of an image are compressed separately to increase the compression rate of the image.

[0006] Specifically, in order to encode a composite graphic element displayed in an image, a descriptor is generated, the descriptor including display parameters of the composite graphic element in the image. The display parameters do not include any pixel values. The composite nature of the graphic element enables the graphic element to be visually described using a smaller volume of display parameters than all pixel values ​​occupied by the graphic element in the first image, and the description is lossless.

[0007] Therefore, each image of the video is compressed in the same way, so that specific descriptors are used for the synthetic graphic elements of the image, and independent data is used for the background of the compressed image. Summary of the invention

[0008] The present invention aims to more efficiently compress image sequences representing computer-generated graphic elements.

[0009] To this end, according to a first aspect, a method for compressing a sequence of images is provided, the sequence of images comprising a first image and a second image, the method comprising the following steps:

[0010] - detecting a computer-generated graphic element and a background in the first image or the second image, the graphic element being overlaid on the background;

[0011] - generating a first descriptor, the first descriptor comprising display parameters of the graphic element in the first image, the display parameters not including any pixel values;

[0012] - processing the second image, for example to determine an event causing a potential change in a display parameter of a graphical element between the first image and the second image;

[0013] - generating a second descriptor, the second descriptor comprising an event code indicative of the determined event,

[0014] Therein, the step of generating the first descriptor and the step of generating the second descriptor are implemented independently of the compression of the background.

[0015] The first descriptor contains display parameters sufficient in themselves to draw a computer-generated graphical element. Meanwhile, the second descriptor indicates which potential changes have occurred relative to the first descriptor. Thus, the second descriptor follows an incremental logic, and thus the size of the second descriptor can be much smaller than the first descriptor.

[0016] Therefore, once the data is compressed, the transmission bit rate of the data can be increased. In other words, for a constant transmission rate, data representing more images can be transmitted.

[0017] The method according to the first aspect may comprise the following features, taken alone or in combination with each other, where technically feasible.

[0018] Preferably, the method further comprises the following steps:

[0019] - modifying the image, wherein a background is detected, for example to obtain a background image, the modification comprising applying a low pass filter to the pixel values ​​of the image showing the computer generated graphic element,

[0020] - Independently of the step of generating the first descriptor and the step of generating the second descriptor, compressing the background image.

[0021] Preferably, when it is determined that the second image does not display the graphic element, the value of the event code indicates that the composite graphic element disappears.

[0022] Preferably, when it is determined that the second image displays a graphical element that is displaced relative to the first image, the value of the event code indicates the displacement of the computer-generated graphical element.

[0023] Preferably, the second descriptor comprises positioning data which, alone or in combination with the first descriptor, can determine the position of the graphical element in the second image.

[0024] Preferably, the positioning data comprises: a displacement vector between a position of the graphic element in the first image and a position of the graphic element in the second image.

[0025] Preferably, the method comprises comparing a displacement of a graphical element between the first image and the second image on the one hand and a predetermined threshold on the other hand, wherein the value of the event code indicates a displacement only if said displacement of the graphical element is smaller than the predetermined threshold.

[0026] Preferably, when it is determined that the computer-generated graphic element displayed in the second image is different from the computer-generated graphic element displayed in the first image, but the computer-generated graphic element displayed in the second image occupies the same position, the value of the event code indicates a change in the composite graphic element, and the second descriptor includes data characterizing the change.

[0027] Preferably, when it is determined that the second image displays graphical elements that have not changed relative to the first image, the value of the event code indicates no change in any graphical elements.

[0028] Preferably, the display parameters themselves are sufficient to enable presentation of the graphical element as displayed in the first image based on said display parameters.

[0029] Alternatively, the sequence of images further comprises an earlier image preceding the first image, and the first descriptor comprises an event code indicating an event causing a potential change in a display parameter of the graphical element between the earlier image and the first image.

[0030] Preferably, the processing step is limited to a portion of the second image.

[0031] Preferably, the processing step is implemented by means of a convolutional neural network.

[0032] Preferably, the composite element is a character, a polygon, a menu, a mesh, or a part of a menu or a mesh.

[0033] Preferably, the background is of photographic origin.

[0034] Preferably, when the composite graphical element is a character, the first descriptor comprises a code specific to the character, and optionally, the first descriptor comprises a code providing information related to a font in which the character is displayed in the second image, and / or the first descriptor comprises a code providing information related to the color of the character in the second image.

[0035] There is also provided a method for decompressing data obtained by the compression method according to the first aspect.

[0036] A computer program product is also provided, the computer program product comprising program code instructions for performing the steps of the method according to the first aspect when the program is executed by a computer.

[0037] A computer readable memory is also provided, the computer readable memory storing instructions, the instructions being executable by a computer for performing the steps of the method according to the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Other features, objects and advantages of the present invention will become apparent from the following description, which is illustrative and not restrictive only and must be read with reference to the accompanying drawings, in which:

[0039] Figure 1 and Figure 2 are two examples of images displayed on a screen in an aircraft cockpit.

[0040] Figure 3 An image processing device according to an embodiment is schematically shown.

[0041] Figure 4 is a flow chart of the steps of a method according to one embodiment of the present invention.

[0042] Figure 5 and Figure 6 is able to pass Figure 4 Two examples of images compressed by the method.

[0043] Figure 7 Schematic representation of the descriptor chain generated for different images in an image sequence.

[0044] Similar elements have the same reference numerals throughout the drawings. DETAILED DESCRIPTION

[0045] refer to Figure 1 , a device 1 for processing an image sequence comprises at least one processor 2 and a memory 4 .

[0046] The processing device 1 comprises an input 6 for receiving a sequence of images to be compressed or data to be decompressed.

[0047] The processor 2 is suitable for executing a compression program or a decompression program, which itself comprises program code instructions for executing a compression method or a decompression method, which will now be described below.

[0048] The memory 4 is adapted to store data received by the input 6 and data generated by the processor 2. The memory 4 typically comprises at least one volatile memory unit 4 (e.g. RAM) and at least one non-volatile memory unit 4 (flash drive, hard disk, SSD, etc.) to store data persistently.

[0049] The processing device 1 further comprises an output terminal 8, and the data generated by the compression or decompression implemented by the processor 2 when executing the above program is provided through the output terminal 8.

[0050] Assuming that a sequence of images is received via the input 6 of the processing device 1 , the received sequence of images is stored in the memory 4 .

[0051] Each image is a matrix of pixels, each pixel having position and color data specific to that pixel. In the rest of this article, it is assumed that all images of a sequence have the same dimensions (height, width).

[0052] The images of the sequence typically show a background, which may be of photographic origin, or may have a non-photographic origin.

[0053] The image may display composite graphic elements overlaid on a background.

[0054] As mentioned in the background section, a synthetic graphic element is a computer-generated graphic element. According to the common meaning given in the relevant literature, a computer-generated graphic element is defined as a non-photographic source. Specifically, the drawing of a computer-generated graphic element is completely determined by a computer, not by a camera or video camera.

[0055] For example, a composite graphic element may be: a character, a polygon, a menu, a grid, or a portion of a menu or a grid. These composite elements are regular in the sense that they are accurately drawn using a finite number of display parameters that are not pixel values.

[0056] For example, in the case of a character, the character may be defined by the following display parameters: a character code, a code providing information about the font of the character, and a code providing information about the color of the character. All these codes are used to draw the character in the image. It should be understood that a character is any type of character: a character may be an alphanumeric character or any other symbol (punctuation marks, arrows, mathematical symbols, etc.).

[0057] When the graphic element is a menu, a grid, or a part of a menu or a grid, the graphic element is composed of a finite number of straight line segments or curved line segments.

[0058] Each composite graphic element occupies a certain number of pixels in the sequence of images.

[0059] Reference Figure 4 , a method for compressing an image sequence implemented by device 1 comprises the following steps.

[0060] The processor 2 processes a first image of the sequence, for example to analyse the content of the first image (step 100). In the remainder of this document, this first image will be referred to as a "reference image".

[0061] The processing implemented in step 100 detects any of the following elements in the reference image: the background of the reference image, and any composite graphical elements overlaid on the background. It should be understood that the term "any" means that the processor 2 may detect that there are no graphical elements in the reference image, or the processor 2 may detect that there are at least one such element.

[0062] To determine which synthetic graphic elements are present in the reference image, the processor 2 may be based on a library of predetermined synthetic graphic elements. More precisely, the processor 2 compares the content of a region of the reference image with the elements of the library and estimates the probability of a match between the compared elements. If the probability is greater than a predetermined threshold, the processor 2 considers that the element of the library is indeed displayed in this region of the reference image. Otherwise, the processor 2 repeats the same steps based on another element of the library. In the event that the end of the library is reached, but the predetermined threshold is not exceeded, the processor 2 concludes that the graphic element is not displayed in the reference image.

[0063] Alternatively, step 100 is implemented by a convolutional neural network. The neural network has been previously trained to be able to recognize different elements of the library. Convolutional neural networks do not operate according to sequential logic, which has the advantage that they operate quickly once learning is completed.

[0064] In the remainder of this document, it is assumed that the processor 2 determines in step 100 that at least one synthesized graphical element is present in the reference image.

[0065] Advantageously, step 100 is limited to a portion of the reference image. In this context, a "portion" of an image is not necessarily continuous. The portion may include one or more predetermined regions, each having a predetermined position, size and shape (e.g., a rectangle). These predetermined regions may be connected or separated in the reference image, but do not cover the entire reference image. This limitation is an advantage because it can limit the computational load for determining the composite graphic elements. This limitation does not cause any disadvantages when the location where any graphic element may be located is known in advance.

[0066] For each composite graphic element found in the reference image, the processor 2 generates a descriptor associated with the composite graphic element (step 102). The descriptor comprises display parameters of the composite graphic element in the reference image.

[0067] The display parameters do not include any pixel values. The synthetic nature of the graphical element enables the graphical element to be visually described using a smaller volume of display parameters than all the pixel values ​​occupied by the graphical element in the reference image.

[0068] The display parameters give information enabling the rendering of the graphic element according to the source, in the sense that the descriptor is the result of lossless encoding of the composite graphic element associated with the descriptor.

[0069] The display parameters of the composite graphic element include data indicating the position of the graphic element in the reference image. These position data usually include a pair of coordinates in the image (vertical coordinate v and horizontal coordinate h).

[0070] In addition to the position data, the display parameters also include at least one additional parameter. The number of additional parameters depends on the nature of the first composite element, which may be more or less complex.

[0071] Let's take the case where the composite graphic element is a character as an example. In this case, the display parameters of the graphic element include a code specific to the character (e.g., an ASCII code or other code). The character code may be the only additional display parameter in the first descriptor, in addition to the position data.

[0072] The character codes can be completed as follows:

[0073] The code for the font used to display the characters (e.g., Arial, Times, etc.).

[0074] Provide a code related to the color information of the character. It should be noted that the code is a global information item, which is not only related to a pixel of the first graphic element, but also to the entire graphic element. The code can indicate uniform color, or color gradient, etc.

[0075] In another embodiment, the font code and the color code are predefined, in the sense that the processing device knows in advance that the characters found in the predetermined area must have a predetermined font and color. Therefore, in this case, it is not necessary to encode these information items in the descriptor.

[0076] Where applicable, the aforementioned steps are repeated for each composite graphical element found in the reference image, for example generating a plurality of descriptors, each descriptor being associated with a composite graphical element of the reference image.

[0077] In the rest of the text, the descriptors thus generated are called descriptors of the "Intra" type. A descriptor of the "Intra" type contains by itself enough information to be able to draw the synthetic graphical element represented in the image (here the reference image).

[0078] A plurality of “intra” type descriptors are stored in the memory 4 in the form of a table, each row of the table being a descriptor of the “intra” type.

[0079] Figure 5 An example of a first image is shown, the first image containing different composite graphic elements, all of which are characters. From this example image, a table 1 of descriptors of the "Intra" type is obtained as shown below.

[0080] [Table 1]

[0081]

[0082]

[0083] In this example, the descriptor of the "Intra" type generated for the character "A" located at the upper left of the reference image is the second row of Table 1. This descriptor includes: the code of the character "A", the vertical position v=30 of the character (corresponding to the number of rows of the reference image), the horizontal position h=20 of the character (corresponding to the number of columns of the reference image), and the font code p, where the value of p is equal to zero. Although these parameters do not include any pixel values, it is observed that these parameters are sufficient to enable the graphic element "A" to be accurately rendered subsequently. This is why the "Intra" descriptor described above is lossless.

[0084] The other rows of Table 1 contain the same display parameters, so it is possible to display the Figure 5 Other characters in the reference image shown.

[0085] Furthermore, the processor 2 implements a patching process which modifies the reference image, for example to obtain a background image (step 104). To obtain the background image, the processor 2 replaces the pixel values ​​of the reference image occupied by the detected synthetic graphic elements with other pixel values ​​suitable for reducing or even eliminating high spatial frequencies in the spectrum of the reference image. Thus, this replacement of the pixel values ​​is a low-pass filter applied to the pixels of the reference image. Thus, the spectrum of the modified image includes fewer high-frequency components than the spectrum of the reference image before the patching process.

[0086] Such low-pass filtering can usually be obtained by averaging the values ​​of the pixels of the background connected to the pixels of the composite graphic element.

[0087] For example, suppose the reference image contains a black composite graphic element and the background is white, as in Figure 5 In this case, the inpainting process can replace the black pixels of the composite graphic element with white pixels, so that a completely white background image can be obtained.

[0088] Let us take as another example another image containing a composite graphic element of the character type, which is white with a black outline, overlaid on a grayscale background derived from photography, e.g. Figure 1 In this case, the inpainting process may replace the white pixels and the black pixels of the synthetic graphic element of the character type with the average value of the pixel value of the background.

[0089] The processor 2 then compresses the modified image resulting from the patching process according to a known method in the prior art (for example, the HEVC method) (step 106). This compression 106 is independent of the step of generating the descriptor associated with the synthesized graphic element. The compression 106 may be performed together with step 102, before or after step 102.

[0090] Finally, the synthetic graphic elements of the reference image and the background of the reference image are compressed in steps 102 and 106, respectively.

[0091] Furthermore, the received sequence of images includes a second image, which follows the reference image in the sequence.The second image may immediately follow the reference image in the sequence, or may not follow the reference image.

[0092] Figure 6 An example of a second image is shown. The content of the second image has changed relative to the reference image. For example, the graphical element "A" discussed previously no longer occupies exactly the same position. Certain composite graphical elements replace other graphical elements. Some graphical elements disappear, while other graphical elements (e.g., the character K) appear.

[0093] Processor 2 implements steps 200, 202, 204, 206 which are respectively the same as steps 100, 102, 104 and 106 described previously, but applied to the second image.

[0094] Specifically, at the end of step 202, a plurality of new “intra” type descriptors are obtained, which have the same format as the “intra” type descriptors generated for the reference image, but may contain different values. Figure 6 The table formed by multiple new "intra" type descriptors generated for an example of the second image is as follows.

[0095] [Table 2]

[0096]

[0097]

[0098] For example, as stated before, Figure 5 Compared to the reference image shown, character A Figure 6The position of the second image shown has changed. This change in position is reflected in the fact that the new descriptor of the "Intra" type generated for the second image contains different position data than the position data entered in the descriptor of the "Intra" type associated with A and generated for the reference image (here, the horizontal position h changes from 20 to 28). On the other hand, the character A has not changed font; therefore, the font code p is the same in the two descriptors associated with the character A of the reference image and the second image, respectively.

[0099] However, compression of the synthesized graphic elements of the second image has not yet been completed at this stage, unlike the compression performed on the reference image.

[0100] Processor 2 determines an event that results in a potential change in a display parameter of the composite graphical element between the reference image and the second image (step 208).

[0101] The processor 2 generates a second descriptor associated with the second image, the second descriptor comprising an event code indicating the determined event, the second descriptor will be referred to as a descriptor of the “inter” type in the remainder of this document (step 210 ).

[0102] The processor 2 repeats these two steps 208 , 210 for each graphical element found in the reference image or the second image (mentioned as such in the descriptor of the “Intra” type generated for the reference image or the second image after steps 102 and / or 202 ).

[0103] Thus, a plurality of descriptors of the "Inter" type are obtained, each descriptor being associated with a composite graphic element of a reference image or a second image. The plurality of descriptors of the "Inter" type form a table, each descriptor being a row of the table.

[0104] Once all the descriptors of the “Inter” type have been generated, the “Intra” descriptors of the second image may be deleted from the memory 4 .

[0105] The "inter" type descriptor has a different format than the "intra" type descriptor. As indicated previously, the "intra" type descriptor contains display parameters sufficient by itself to draw a composite graphic element. At the same time, the "inter" type descriptor indicates what potential changes have occurred relative to the "intra" type descriptor, which allows the volume of the "inter" type descriptor to be much smaller than the volume of the "intra" descriptor for different types of events, as will be further described later.

[0106] A descriptor of the "Inter" type may include a cross-reference to a reference image, making it possible to locate the first image in the sequence of images. For example, this cross-reference takes the form of spacing the position between the first image and the second image in the sequence of images. For example, in the case where the second image immediately follows the first image in the sequence, the value of this spacing is 1. In the case where there are one or more intermediate images between the first and the second image, this spacing may be an integer strictly greater than 1. This means, then: instead of selecting a table of intra descriptors of an intermediate image, the table of intra descriptors of the first image is kept as a reference for the second image.

[0107] However, the inclusion of such a cross-reference in a descriptor of the "Inter" type remains optional. In particular, it is envisaged that a descriptor of the "Inter" type implicitly cross-references the image that immediately precedes the second image in the sequence of images.

[0108] Alternatively or additionally, it may also be provided that a cross-reference to a first image is included in a descriptor of the “Inter” type only if the first image does not immediately precede the second image in the image sequence.

[0109] The descriptor of type "inter" may further include a cross-reference to a descriptor of type "intra" of a reference image. When an "inter" descriptor modifies an "intra" descriptor referenced therein, the cross-reference may specify the row number of the descriptor in the table of descriptors generated for the reference image.

[0110] However, it is once again noted that, in a descriptor of the "Inter" type, a cross-reference to a descriptor of the "Intra" type is not mandatory. In particular, a descriptor of the "Inter" type can be made to occupy the same table row as the descriptor of the "Intra" type that it modifies. In this case, it is the position of the descriptors in the respective tables that makes it possible to implicitly deduce the logical mapping from one table to the other.

[0111] Finally, there is still a logical relationship from the "Inter" descriptor to the "Intra" descriptor, but this logical relationship can be explicitly or implicitly located in the "Inter" descriptor.

[0112] In addition to the event code (and any cross-references to images and / or descriptors mentioned above), a descriptor of type "Intra" may include additional data depending on the event determined.

[0113] The following is for Figure 6 A table of descriptors of type "inter" is obtained for the second image.

[0114] [Table 3]

[0115]

[0116]

[0117] Now, the different types of events that can be determined will be described, as well as the contents of the descriptors of the "inter" type that are generated in each of these cases.

[0118] No changes to composite graphic elements

[0119] Take for example a graphical element found at a given position in a first image.

[0120] When it is determined that the second image displays the first graphical element in an unchanged manner relative to the first image (i.e., in the same position and with strictly the same presentation), the value of the event code included in the "Inter" type descriptor is "No Change", indicating that the first graphical element has not changed between the first image and the second image.

[0121] In order to detect this situation, the processor 2 may simply recognize that the two tables of descriptors of the “Intra” type generated for the first image and the second image, respectively, contain one and the same descriptor.

[0122] Synthetic graphic elements are displaced

[0123] In another case, processor 2 finds a composite graphic element at a certain position in the first image, and processor 2 also finds the composite graphic element in the second image but at a different position (except for the position of the composite graphic element, the display parameters of the composite graphic element are also the same in the first image and the second image).

[0124] In order to detect such a displacement situation, the processor 2 may recognize that the table of two descriptors of the “Intra” type generated for the first image and the second image respectively contains two descriptors that differ from each other only by their position data.

[0125] This is particularly true for Figure 5 and Figure 6 The character A is shown in the two example images.

[0126] In the case of such a displacement, the generated "Inter" type descriptor includes position data, enabling the "Inter" type descriptor, alone or in combination with the "Intra" descriptor to which it refers, to determine the position of the composite graphic element in the second image.

[0127] The position data typically include a displacement vector between the position of the composite graphic element in the first image and the position of the graphic element in the second image. The displacement vector typically includes a horizontal component δx and a vertical component δy. The displacement vector is calculated as the spacing between the position of the graphic element in the first image and the position of the graphic element in the second image.

[0128] Preferably, under the condition that the displacement of the graphic element is less than a predetermined threshold, the displacement code "displacement" (and the related data mentioned above) is used to fill the "inter-frame" type descriptor. If the displacement of the graphic element is not less than the predetermined threshold, another event code is used (see other cases listed below).

[0129] The composite graphic elements disappear

[0130] Now, let us consider the situation where the processor 2 determines that the second image no longer displays the composite graphical element displayed in the first image.

[0131] To detect this situation, the processor 2 recognizes that the plurality of descriptors of the “Intra” type generated for the second image contains descriptors for synthesized graphical elements, but the plurality of descriptors of the “Intra” type generated for the first image does not contain such descriptors.

[0132] In this case, the value of the event code is "skip", indicating the disappearance of the first composite graphical element.

[0133] As seen before, the event code "displacement" indicates a displacement of a composite graphic element, and is used under the condition that the displacement experienced by the graphic element between the first image and the second image is smaller than a predetermined threshold.

[0134] When this condition is not met, the code "SKIP" is used to generate a descriptor of the "INTER" type associated with the disappeared graphic element.

[0135] Composite graphic elements change at the same position

[0136] Now, consider the case where the processor 2 determines that the first image and the second image respectively display two different composite graphic elements at the same position.

[0137] The difference may be of various natures. Specifically, the difference may be different in shape and / or color. In the case of characters, between the first image and the second image, one character may replace another character.

[0138] In practice, processor 2 detects this situation when it observes that the same location is referenced in a descriptor of type "Intra" generated for a first image and in a new descriptor of type "Intra" generated for a second image, but that the two descriptors have at least one parameter and that at least one parameter has a different value (other than the location).

[0139] During such detection, the processor 2 includes in the second descriptor an event code "changed", the value of the event code "changed" indicating that the first composite graphical element has changed between the first image and the second image.

[0140] In this case, the second descriptor also includes data characterizing this change. If the first descriptor and the new descriptor containing the same position include other unchanged display parameters, these unchanged display parameters are not included in the second descriptor. In other words, only the display parameters that are modified between the first image and the second image are included in the second descriptor.

[0141] For example, Figure 5 The exemplary first image shown shows the character E at position (v=30, h=52), while Figure 6 The exemplary second image shown shows the character 5 at the same position. Both characters E and 5 are shown in the same font. The font code p with a value of zero already exists in the descriptor of type "Intra" associated with the character E, and there is no need to repeat the font code p with a value of zero in the descriptor of type "Inter" associated with the character 5. The same changes apply to the character 3 of the first image, which is replaced by the character 6 in the second image.

[0142] New graphic elements emerge

[0143] In another case, processor 2 may detect that the graphical element is present in the second image but not in the first image.

[0144] In this case, a descriptor of type "Inter" is generated, which includes an event code with the value "new", indicating that a new composite graphic element has appeared. The same display parameters are associated with this code, which are found in the previously described "Intra" descriptors and are sufficient in themselves to draw the graphic elements to which these descriptors refer.

[0145] As an illustration, in Figure 6 The characters K, L appearing in the exemplary second image are each encoded into a new character using the code "new".

[0146] As seen previously, the event code "displacement" indicates the use of the displacement of the synthesized graphic element under the condition that the displacement undergone by the graphic element between the first image and the second image is less than a predetermined threshold. When this condition is not met, a descriptor of the "inter" type is generated in relation to the occurring graphic element using the code "new".

[0147] In summary, the events identified during step 208 are as follows: appearance, disappearance, change in the same place, displacement, no change.

[0148] Therefore, the event code of a descriptor of type "inter" can be encoded on only 3 bits.

[0149] "Intra" descriptor and "Inter" descriptor alignment

[0150] In the table below, the following items are shown side by side: an "Intra" descriptor generated for a first image, an "Intra" descriptor generated for a second image by repeating the same steps, and an "Inter" descriptor generated for the second image.

[0151] [Table 4]

[0152]

[0153]

[0154] As can be seen when reading Table 4 above, the use of "Inter" descriptors with event codes "SKIP" and / or "NEW" causes other "Inter" descriptors to be found aligned with the Intra descriptors to which they reference, which eliminates the need to include any explicit references to the descriptors in the "Inter" descriptors as indicated above.

[0155] In the appendix at the end of this description, there is a pseudocode example that implements the compression method. Here is what the different variables used in this pseudocode mean:

[0156] ref and cur: A table containing NL rows. Each row stores [horizontal position, vertical position, character code, color]

[0157] Δ_x_allowed: Maximum horizontal displacement threshold

[0158] Δ_y_allowed: Maximum vertical displacement threshold

[0159] Event New: Code 001 & Position & Character Code

[0160] Event has changed: code 011 & character code

[0161] No change in event: code 1

[0162] Event skip: code 000

[0163] Event displacement: code 010&(displacement_x or displacement_y)

[0164] Iteration of "inter-frame" coding

[0165] In the preceding description, it was assumed that the descriptor of the “inter” type generated for the second image during step 210 cross-references a descriptor of the “intra” type for the first image, i.e. a descriptor comprising display parameters which are themselves sufficient to enable the presentation of the corresponding graphical elements as displayed in the reference image.

[0166] However, this is not mandatory: a descriptor of type "Inter" may cross-reference another descriptor of type "Inter".

[0167] In particular, steps 200, 202, 208, 210 may be repeated on a third image, this time with the second image as reference image. During step 210 implemented on the third image, a descriptor of type "inter" is generated, which cross-references the "inter" descriptor generated for the second image, which itself cross-references the "intra" descriptor generated for the first image.

[0168] Finally, processor 2 processes the video by iteratively repeating the above process image by image. Thus, after the initial "Intra" descriptor, "Inter" descriptors are generated in chronological order, which in turn modify the synthesis elements where appropriate. This iteration then creates a chain of "Inter" tables, which are numbered from the last Intra table to the original Intra table. This chain can have multiple branches when cross-references are made to tables older than the previous image. At any time, processor 2 can also choose to "refresh" an image, that is, send a new "Intra" descriptor, which serves as a new reference to the subsequent "Inter" descriptor.

[0169] As an example to illustrate this chain, Figure 7 Descriptors D1 to D7 generated for different images in one and the same image sequence are shown, all descriptors being associated with the same composite graphic element.

[0170] Descriptor D1 is a descriptor of the "intra" type.

[0171] Descriptor D2 is a descriptor of type "inter" which cross-references descriptor D1 and includes the event code "displacement" to indicate that the composite graphic element has been displaced relative to the position entered into descriptor D1.

[0172] Descriptor D3 is a descriptor of type "inter", which cross-references descriptor D2 and signals (through event code "no change") that the graphics element has not changed.

[0173] Descriptor D4 is a descriptor of the "inter" type, which also cross-references descriptor D2 and still includes the event code "displacement" to indicate that the graphics element has been displaced again relative to the graphics element input into descriptor D2.

[0174] Descriptor D6 is a descriptor of type "inter-frame" which signals the disappearance of a composite graphics element by means of the event code "skip".

[0175] Descriptor D1 is a descriptor of the "Intra" type and is intended for a composite graphic element at the same position as those referred to by descriptors D1 to D6.

[0176] The benefit of the compression mechanism increases when sending mostly inter-frame tables and a small portion of intra-frame tables, since the overall gain of video compression is then increased.

[0177] Unzip

[0178] The generated descriptors and the data compressed according to the background together form a set of output data encoding the image sequence, and this set of output data is formed in a compressed manner because the volume of the output data stream is smaller than the image sequence.

[0179] The output data stream obtained by the processing device 1 can be decompressed by the same device 1 or a device of the same type to obtain an image sequence consistent with the original sequence.

[0180] The decompression method comprises steps symmetrical to those implemented during the compression method described above. Firstly, the receiver explicitly identifies the temporal sequence of images and of the descriptor tables associated with each image.

[0181] Specifically, in order to restore the graphic elements of the current image (to be displayed), and the graphic elements are described in the "inter" type descriptor, the processor identifies the initial descriptor of the "intra" type, and the previous chain of descriptors of the "inter" type references the initial descriptor of the "intra" type to obtain the current image, and the processor uses the display parameters recorded in the "intra" type descriptor to modify the "intra" type descriptor according to the sequence of any additional information recorded in the "inter" type descriptors constituting the chain.

[0182] Other embodiments

[0183] It should be understood that the above method is applicable to any type of composite graphic elements with non-photographic origin, not just characters. For example, the display parameters generated for a circle may include position, radius, and, where applicable, other optional parameters (line thickness, line color, etc.). The principle can of course be extended to other geometric shapes.

[0184] In the above text, an embodiment has been disclosed, in which all descriptors of the "Inter" type generated for a second image refer to descriptors of the "Intra" type generated for the same image (i.e., the first image). A group of descriptors of the "Inter" type generated for one and the same image may modify descriptors describing images that are different from each other. In this case, each descriptor of the "Inter" type must contain an explicit image reference image.

[0185] Appendix: Example of pseudocode implementing compression method

[0186]

[0187]

Claims

1. A method for compressing an image sequence, the image sequence comprising a first image and a second image, the method comprising: - detecting (100) a computer-generated graphic element and a background in the first image or in the second image, the graphic element being overlaid on the background and occupying a plurality of pixels, and the graphic element being of non-photographic origin; - compressing the background into a background data portion of the output data; as well as - compressing the computer-generated graphic element, wherein compressing the computer-generated graphic element comprises: - generating (102) a first descriptor, the first descriptor comprising display parameters of a graphical element in the first image, the display parameters not including any pixel values ​​and having a smaller volume than all pixel values ​​occupied by the graphical element, and wherein the display parameters themselves are sufficient to enable the computer-generated graphical element to be rendered as displayed in the first image based on the display parameters; - processing the second image to determine (208) an event causing a potential change in a display parameter of the graphical element between the first image and the second image; - generating (210) a second descriptor, said second descriptor comprising an event code indicating said event, Therein, the step of generating the first descriptor and the step of generating the second descriptor are implemented independently of the step of compressing the background.

2. The method according to claim 1, further comprising the steps of: - modifying one of the first image and the second image, wherein the background is detected to obtain a background image, the modification comprising applying a low pass filter to pixel values ​​of the image showing the computer generated graphic element; - independently of the step of generating said first descriptor and the step of generating said second descriptor, compressing said background image.

3. The method according to claim 1, wherein: -When it is determined that the second image does not display the computer-generated graphic element, the value of the event code indicates that the computer-generated graphic element disappears.

4. The method according to claim 1, wherein: - when it is determined that the second image shows a computer-generated graphical element that is displaced relative to the first image, the value of the event code is indicative of the displacement of the computer-generated graphical element.

5. The method according to claim 4, wherein: The second descriptor comprises positioning data enabling the position of the computer-generated graphical element to be determined in the second image, either alone or in combination with the first descriptor.

6. The method according to claim 5, wherein: The positioning data comprises a displacement vector between a position of the computer-generated graphical element in the first image and a position of the computer-generated graphical element in the second image.

7. The method according to claim 4, comprising: The displacement of the computer-generated graphical element is compared to a predetermined threshold, wherein the value of the event code indicates a displacement only if the displacement of the computer-generated graphical element is less than the predetermined threshold.

8. The method according to claim 1, wherein: -When it is determined that the graphical element displayed in the second image is different from the computer-generated graphical element displayed in the first image, but the graphical element displayed in the second image occupies the same position, the value of the event code indicates a change in the composite graphical element, and the second descriptor includes data characterizing the change.

9. The method according to claim 1, wherein: -When it is determined that the second image displays a graphical element that has not changed relative to the first image, the value of the event code indicates that the graphical element has not changed.

10. The method according to claim 1, wherein: The sequence of images further comprises an earlier image preceding the first image in the sequence of images, and wherein the first descriptor comprises an event code indicating an event causing a potential change in a display parameter of the computer-generated graphical element between the earlier image and the first image.

11. The method according to claim 1, wherein: The processing step is limited to a portion of the second image.

12. The method according to claim 1, wherein: The second image is processed by a convolutional neural network.

13. The method according to claim 1, wherein: The computer-generated graphical element is a character, a polygon, a menu, a grid, or a portion of a menu or a grid, and / or wherein the background is derived from a photograph.

14. The method according to claim 1, wherein: When the graphical element is a character, the first descriptor includes a code specific to the character.

15. The method according to claim 14, wherein: The first descriptor comprises a code providing information related to a font in which the character is displayed in the second image, and / or the first descriptor comprises a code providing information related to a color of the character in the second image.

16. A computer program product comprising program code instructions for executing the steps of the method according to any one of claims 1 to 15 when the program is executed by a computer.

17. A computer-readable medium (4) storing instructions, said instructions being executable by a computer for performing the steps of the method according to any one of claims 1 to 15.