Method for encoding images of a video sequence to be encoded, method for decoding, corresponding devices and system.
The method addresses the challenge of reducing video data transmission by using spatial subsampling and oversampling adjusted to display device characteristics, achieving efficient data reduction with maintained visual quality.
Patent Information
- Application Number
- FR2020013944
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-22
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-12-22
AI Technical Summary
Existing video coding methods struggle to efficiently reduce the quantity of data to be transmitted while maintaining high visual quality, especially for high spatial and temporal resolution video sequences, without altering the quality of the displayed images.
A method involving spatial subsampling and oversampling of video images using filters oriented in different directions, adjusted based on the structural characteristics of the display device, such as a head-mounted display, to optimize data reduction and maintain visual quality.
The method effectively reduces the data quantity transmitted while preserving visual quality by adapting subsampling to the display device's structural characteristics, allowing for complex spatial resolution patterns and minimizing loss of quality.
Smart Images

Figure 00000023_0000 
Figure 00000023_0001 
Figure 00000024_0000
Abstract
Description
Description Title of the invention: Method for coding images of a video sequence to be coded, decoding method, corresponding devices and system laying. Technical field of the invention
[0001] = The present invention relates to the technical field of coding and decoding of video sequences. More particularly, it relates to a method and a device for coding, a decoding method and device as well as the corresponding devices laying. State of the art
[0002] = To be able to transmit high spatial resolution video content and temporal, it is known to implement a so-called scalable process, as described in patent application WO2020 / 025510. By processing a video sequence using This process reduces the amount of video data to be transmitted, without alteration. visible quality of video sequences in the spatial and temporal domains, during displaying images. Presentation of the invention
[0003] — In this context, according to a first aspect of the invention, a method is proposed of coding images of a video sequence, each image being formed of elements organized into rows and columns. The method includes implementing the steps following
[0004] — c) obtaining an initial configuration representative of structural characteristics- turelles of a display device, and for at least one image of a sub-sequence of one or more images of the video sequence called input sub-sequence,
[0005] — d1) carrying out a first spatial sub-sampling of at least part of the elements of the image using a filter oriented in a first direction and comprising a first set of at least two different values of factors of subsampling, the first set of values being determined based on said initial configuration, then inserting the resulting image into a sub- output sequence, and
[0006] — e) coding (E2) of the images of the output subsequence.
[0007] — Advantageously, the method according to the first aspect of the invention makes it possible to reduce the amount of coded data to be transmitted, without loss of visual quality for the user viewing the video sequence. Indeed, the subsampling is function of structural characteristics (e.g. optical or shape-related of the display device) of the display device through which the user views the video sequence. It is therefore possible to adjust the subsampling to the areas of interest in the images for the user, with regard to the display device used. Preferably, step dl) further comprises a second spatial subsampling of at least a portion of the elements of the subsampled image using a filter oriented in a second direction and comprising a second set of at least two different values of subsampling factors, the second set of values being determined as a function of said initial configuration. The implementation of two successive sub-samplings using two filters oriented in two different directions makes it possible to produce relatively complex patterns, the pattern defining areas having different spatial resolution values. It is then possible to finely adjust the resolution of each area of the processed images according to the structural characteristics of the display device. Preferably, spatial subsampling is performed using filters oriented in one of the following directions: - horizontal, - vertical. The choice of these directions makes it possible to implement the solution in a particularly simple way within a coding device, while allowing the creation of complex spatial resolution patterns. Each subsampling factor value of a set of values is preferably respectively applied to at least one group of p successive elements according to the direction in which the filter is oriented, p being a positive integer. According to one embodiment, the method may further comprise an analysis step comprising an analysis of the content of at least one image of said input subsequence, and a step of updating the values of the subsampling factors prior to the implementation of step d1), depending on the result of the content analysis. According to one embodiment, the method may further comprise an analysis step comprising an analysis of measurements representative of movements made by a user, the display device being a head-mounted display worn by said user (for example his head and / or his eyes), and a step of updating the values of the sub-sampling factors prior to the implementation of step d1), depending on the result of the analysis of the measurements. According to another embodiment, the method may further comprise another analysis step comprising an analysis of the visual quality of the images of said output sub-sequence, and a step of updating the values of sub-sampling factors prior to the implementation of step d1), if the visual quality is lower than a predetermined threshold. According to another embodiment, the method may further comprise a preliminary step comprising the following sub-steps: a) obtaining from said video sequence, so-called initial sub-sequences, and for at least one initial sub-sequence: b1) determination of information representative of the content of at least one image of the initial sub-sequence, and as a function of said information, b2) determination for the initial sub-sequence, of a processing frequency, less than or equal to the initial frequency of display of the images, as a function of the information determined, and b3) insertion, depending on the determined processing frequency, of all or part of the images of the group of images into a sub-sequence of images forming an input sub-sequence. Preferably, the method can then further comprise an a posteriori step for the M images of an output sub-sequence, M being an integer, said a posteriori step comprising the following sub-steps: d2) comparison between the processing frequency associated with the images of the output subsequence and the initial display frequency of the images, and if the processing frequency is lower than the initial frequency, spatial division of each of the M images of the output subsequence into N sub-images, N being an integer whose value is a function of the ratio between the processing frequency and the initial frequency, the coding step e) corresponding to the coding of the M*N sub-images of the output subsequence, otherwise the coding step e) corresponds to the coding of said M images of the output subsequence. According to another embodiment, the method may further comprise the following steps for each output sub-sequence obtaining information representative of at least one of the elements of the list below: subsampling factor values, representative measurements of movements made by a user, the display device being a head-mounted display worn by said user reader, structural characteristics of the display device, processing frequency, and encoding of said information. According to a second aspect of the invention, there is provided a method of decoding data corresponding to images of a video sequence, each image being formed of elements organized in rows and columns, the images of the video sequence being grouped into subsequences of one or more images called output subsequences. The method comprises the implementation of the following steps cl) obtaining an initial configuration representative of structural characteristics of a display device, and for at least one image of an output sub-sequence; d11l) carrying out a first spatial oversampling of at least part of the elements of the image using a filter oriented in a first direction and comprising a first set of at least two different values of oversampling factors, the first set of values being determined as a function of said initial configuration, then inserting the resulting image into a subsequence to be decoded, and el) decoding of the images of the subsequence to be decoded. Preferably, step d11) may further comprise a second spatial oversampling of at least a portion of the elements of the oversampled image using a filter oriented in a second direction and comprising a second set of at least two different values of oversampling factors, the second set of values being determined as a function of said initial configuration. According to a third aspect of the invention, there is provided a device for coding images of a video sequence, each image being formed of elements organized in rows and columns. The device is configured to implement the following steps c) obtaining an initial configuration representative of structural characteristics of a display device, and for at least one image of a sub-sequence of one or more images of the video sequence called input sub-sequence, d1) carrying out a first spatial sub-sampling of at least part of the elements of the image using a filter oriented in a first direction and comprising a first set of at least two different values of sub-sampling factors, the first set of values being determined as a function of said initial configuration, then inserting the resulting image into an output sub-sequence, and €) coding of the images of the output subsequence. According to a fourth aspect of the invention, there is provided a device for decoding data corresponding to images of a video sequence, each image being formed of elements organized in rows and columns, the images of the video sequence being grouped into sub-sequences of one or more images called output sub-sequences. The device is configured to implement the following steps: cl) obtaining an initial configuration representative of structural characteristics turelles of a display device, and for at least one image of an output subsequence; d11l) carrying out a first spatial oversampling of at least part of the elements of the image using a filter oriented in a first direction and comprising a first set of at least two different values of oversampling factors, the first set of values being determined as a function of said initial configuration, then inserting the resulting image into a subsequence to be decoded, and el) decoding of the images of the subsequence to be decoded. Detailed description of the invention In addition, various other characteristics of the invention emerge from the appended description given with reference to the drawings which illustrate non-limiting embodiments of the invention and where: [fig.1] represents a mode of implementation of a method according to the first aspect of the invention; [fig.2] illustrates the optical characteristics of a head-mounted display used to display a video sequence; [fig.3] illustrates more precisely certain stages of the implementation method represented in [fig.1]; [fig.4] schematically represents a pattern obtained according to a mode of implementation of the method according to the invention; [fig.5] schematically represents another pattern obtained according to another mode of implementation of the method according to the invention; [fig.6] details a mode of implementation of a spatial sub-sampling step according to the invention; [fig.7] details another mode of implementation of a spatial sub-sampling step according to the invention; [fig.8] schematically represents patterns obtained following successive applications of the implementation methods illustrated in figures 6 and 7; [fig.9] illustrates more precisely certain stages of the implementation method represented in [fig.1]; [fig.10] represents a mode of implementation of a method according to the second aspect of the invention; [fig.11] represents an embodiment of a device according to the third aspect of the invention; [fig.12] represents an embodiment of a device according to the fourth aspect of the invention; and [fig.13] represents a possible implementation of the devices according to the third or fourth aspect of the invention. [Fig. 1] represents an embodiment of a method according to the invention. SVD source video data are provided as input to a preprocessing step E1, for example in a UHD (“Ultra High Definition” video format). Each source video is processed group of images by group of images (GOP for “Group Of Pictures” in English). A group of images forms an input sub-sequence. This step E1, described in more detail below, makes it possible to apply spatial processing and optionally temporal processing to the video data. The spatial and possibly temporal frequency of the pixels constituting the images of the SVD video sequence is reduced at the end of the preprocessing. The format of the video is then modified. Optionally, metadata relating to the preprocessing are generated as explained in the remainder of the description. The processed video data are coded during a step E2, then transmitted, step E3, to display means. Prior to display, the transmitted coded video data are decoded, step E4. Then they are subjected to post-processing ES depending on the pre-processing F3 which was carried out before encoding. Optionally, the post-processing ES is a function of the metadata generated during the pre-processing step E2. The post-processed video data are finally displayed using the display means in step E6. Steps E1, E2 and E3 are implemented by a transmitting device while steps E4, E6 and E6 are implemented by a receiving device comprising the display means. The display means may include a screen with variable dimensions, a head-mounted display or even a simple display surface, this list not being exhaustive. These display means have their own display configurations. A display configuration may be defined by the structural characteristics of the display device such as its dimensions or the parameters of its optical components. For example, [fig.2] shows the optical characteristics of the left LG and right LD lenses respectively of a head-mounted display. Conventionally, each LG, LD lens allowing binocular vision has an optimal spatial resolution within a central circle CCG, CCD. This central circle is located, when the head-mounted display is worn by a user, facing the fovea of the left or right eye respectively. The fovea is the area of the retina where the vision of details is the most precise.Then, as we move away from the central circle, the spatial resolution of the displayed image gradually decreases, in stages, according to concentric circles with increasing radius. Finally, a black zone ZN surrounds the circular display areas of the video. [Fig. 3] illustrates in more detail the steps E1 and E2 of [Fig. 1]. The pre-processing step E1 comprises a first sub-step E100 of initial configuration. This sub-step makes it possible to obtain a set of spatial and optionally temporal filters, to be applied to a group of images of the source video according to a filtering pattern resulting from the configuration. The initial configuration can be defined by default (for example memorized) or updated for each input sub-sequence so as to take into account variations in context during use. An initial configuration is a function of one or more criteria combined with each other, these criteria including the display configuration defined above.It may also be a function of additional criteria, for example relating to the video transmission chain between the transmitter and the receiver or to instructions given by a user, instructions relating to a quantity of data that can be transmitted, an authorized latency threshold or a tolerable level of complexity. Substep E100 makes it possible to deliver a value of a spatial and possibly temporal frequency, acceptable a priori so that the content is rendered on the display device without significant loss of quality. A spatial frequency value is associated with a partition of an image (the image comprising at least two partitions). A temporal frequency value (corresponding to a transmission frequency of the images or “frequency of the transmitted images”) corresponds to the frequency of the images transmitted within a group of images of the source video. Depending on the initial configuration obtained, the following two sub-steps E101 and E102 are implemented, step E101 being optional. If the initial configuration involves temporal filtering, step E101 is implemented. It comprises, for a group of images, a modification of the input image sub-sequence, while retaining only a portion of the images. For the purposes of simplification, unless otherwise indicated, it is considered in the remainder of the description that spatial filtering (E102) and temporal filtering (E102) are implemented. The input sub-sequences of the source video are therefore subjected to a combination of processing operations comprising spatial and temporal sub-sampling for at least a portion of the images. For each group of processed images, sub-step E101 delivers a sub-sequence of images whose value of the temporal frequency depends on the initial configuration. The temporal frequency can be identical to the original temporal frequency of the group of images of the input sub-sequence. The sub-sequence of images delivered at the output of sub-step E101 is then identical to the sub-sequence of input images. Conversely, the temporal frequency resulting from the initial configuration can correspond to said original frequency divided by N (N being an integer greater than or equal to 2). One image out of N of the input stream is then deleted. The sub-sequence of images delivered at the output of sub-step E101 therefore then has a frequency time divided by N. In one embodiment, sub-step E101 may receive information resulting from an analysis (E105) of the measurements of movements made by the display device and / or by a user (or their eyes) in the case where the display device is a head-mounted display worn by this user. This information representative of the measurements making it possible to estimate the movement is then used to adapt the temporal frequency in order to prevent the symptoms of motion sickness felt by the wearer of the head-mounted display, which could be generated by state-of-the-art approaches, i.e. non-dynamic with regard to the temporal frequency. Preferably, if the input sub-sequence presents significant movements, in this case the temporal frequency will be kept at its maximum, and the reduction of the spatial resolution, implemented in sub-step E102, will be favored.Conversely, if the input sub-sequence has few movements, the reduction of the temporal frequency will be favored, and the spatial resolution, implemented in sub-step E102, will be little or not reduced. Spatial filtering (E102) is then applied to the images of at least one group of images of the input subsequence, depending on the initial configuration. The spatial filtering is performed using at least one spatial subsampling of the elements of at least one row or at least one column of the image. This spatial subsampling is a function of a set of factors also called subsampling step defined by the initial configuration. An element represents a pixel of the image or the component of this pixel for one of the color components of the image. Alternatively and as considered in the remainder of the description, the spatial filtering is carried out according to two successive sub-samplings, using filters respectively oriented in two different directions, horizontal (horizontal filters) and vertical (vertical filters) independently of the order. Thus, the columns then the lines of the image are successively sub-sampled. Alternatively, it is possible to alternate the sub-sampling of a line then the sub-sampling of a column or vice versa. Decomposing the spatial filtering into two sub-samplings using for each sub-sampling, filters oriented in two different directions, makes it possible to obtain within an image, zones or partitions having a different resolution, according to the sampling factors implemented by the filters. The implementation of electronic processing in a programmable circuit capable of carrying out sub-samplings using vertical or horizontal filters is simple while requiring little memory and limiting the processing latency. By finely adapting the values taken by the sampling factors, it is possible to obtain very precise patterns, each with its own spatial resolution, depending on the areas of interest in the image. For example, the closer the image area is displayed to the fovea of the eye, the higher the spatial resolution. In other words, a pattern allows different subsampling factors to be applied to different areas of the image, these areas being able to be defined in the initial configuration using their spatial coordinates. Figures 4 and 5 respectively present two images subsampled according to two different configurations of the subsampling steps or factors and the subsets of pixels concerned by each subsampling step value. Each square corresponds to a group of elements in an image. The pattern (horizontal bands) in [fig.4] results from a single subsampling using a set of different sampling step values applied using vertical filters. The pattern in [fig.5] results from applying a first subsampling using a first set of different sampling step values applied using vertical filters, followed by a second subsampling using a second set of different sampling step values applied using horizontal filters. The order of application of the first and second subsampling can be reversed. Rectangular patterns are obtained depending on the values of the sampling steps applied, and the number of pixels affected by each sampling step.The lighter the hue of a rectangle in the pattern, the higher the spatial resolution of the corresponding area of the image. Conversely, the darker the hue, the more the spatial resolution of the corresponding area of the image has been reduced. Figures 6 and 7 explain the first and second spatial subsamplings respectively. [Fig.6] shows a diagram of an IMA1 image or part of an image to be processed. The lines of the image are organized into L successive horizontal bands BD1, BD2, BD3, BD4 and BDS5. More generally, L is a positive integer. For example, each horizontal band includes a number of lines depending on the configuration of the filter(s) used to perform the spatial subsampling (for example, 8 lines). A first set of subsampling steps ENS1 is then applied to the image IMA1 using a vertical filter FLV. This first set ENS1 includes in this example the following subsampling factor values: {1 / 3, 1 / 2, 1, 1 / 2, 1 / 3}. Thus, for the lines belonging to the first BDI and the fifth horizontal BDS band, only one pixel out of three successive pixels in the vertical direction is retained. For the lines belonging to the second BD2 and the fourth horizontal BD4 band, only one pixel out of two successive pixels is retained in the vertical direction. Finally, for the third horizontal BD3 band, all the pixels are preserved. The value of each pixel retained after subsampling can be interpolated using known methods such as bilinear or bicubic algorithms or using the Lanczos method well known to those skilled in the art. Alternatively, the value of the retained pixel can be equal to its original value. Once all the horizontal bands have been subsampled, we obtain the resulting IMAFI subsampled image, such that the darker the band represented (the hatching is the densest), the higher the number of pixels remaining. [Fig.7] shows a diagram of an IMA2 image or part of an image to be processed. The columns of the image are organized into M successive vertical bands BD6, BD7, BD8, BD9, BDI10, BD11, BD12, BD13 and BD14. More generally, M is a positive integer. For example, each vertical band includes a number of columns depending on the configuration of the filter used to perform the spatial subsampling (for example 8 columns). A second set of ENS2 subsampling steps is then applied to the IMA2 image using a horizontal filter FLH. This second ENS2 set includes in this example the following subsampling factor values: {1 / 8, 1 / 2, 1, 1 / 2, 1 / 8, 1 / 2, 1, 1 / 2, 1 / 8}. Thus, for the columns belonging to the first BD6, the fifth BD10 and the last BD14 vertical band, only one pixel out of eight successive pixels is preserved in the horizontal direction. For the columns belonging to the second BD7, the fourth BD9, the sixth BD11 and the eighth BD13 vertical band, only one pixel out of two successive pixels is preserved in the horizontal direction. Finally, for the third BD8 and the seventh BD12 vertical band, all the pixels are preserved in the horizontal direction. As with the subsampling described in the previous figure, the value of each pixel retained after subsampling can be interpolated using known methods such as bilinear or bicubic algorithms or using the Lanczos method well known to those skilled in the art. Alternatively, the value of the retained pixel can be equal to its original value. Once the subsampling is done, we obtain the resulting subsampled IMAF2 image, such that the darker the represented band (the hatching is the denser), the higher the number of pixels remaining. The first and second subsampling can be applied successively, regardless of the order. If the subsampling of the horizontal bands is applied first, the output image IMA1F then corresponds to the image to be subsampled IMA2 of the second subsampling of the vertical bands. [Fig.8] schematizes a pattern reflecting a non-uniform resolution of the entire doubly sampled image, this pattern being drawn at the end of the application successive of the two spatial subsamplings illustrated in Figures 6 and 7. The spatial resolution of each part or tile of the doubly subsampled IMAF image is a function of the values of the subsampling factors applied to the bands including the considered tile. Finally, 8 different values of uniform spatial resolutions Ri coexist within the IMAF image, such as RO <R1<R2<R3<R4<RS<R6<R7. Le double sous-échantillonnage selon deux di- rections différentes permet d’obtenir un motif de résolution spatiale complexe permettant de préserver une résolution maximale à certains endroits de l’image lorsque la résolution spatiale est égale à R7 (zones les plus claires). La réduction contrôlée de la résolution spatiale à certains endroits de l’image permet par ailleurs de réduire la quantité de données qui sera transmise. For example, the pattern in [fig.8] can be implemented when the display configuration is associated with a head-mounted display, such as that shown in [fig.2]. The maximum spatial resolution R7 then corresponds to the areas facing the central circles. According to one embodiment, the higher the value of the temporal frequency of a group of images, the lower the values of the spatial resolutions. For example, the preprocessing means implementing the preprocessing step can store a correspondence table between temporal frequency values implemented in step E101 and sets of subsampling steps to be applied during step E102. The correspondence table can store an intermediate value of global resolution of the image once subsampled (for example divided by a positive integer P relative to the original image). To an intermediate value of global resolution of the image corresponds one or more sets of subsampling steps, so that the complete image is on average subsampled by the intermediate value of global resolution. For example, the initial configuration may include as a setpoint a quantity of data that can be transmitted, setpoint expressed as follows: - an overall reduction rate RED of the amount of initial data — RED can be expressed as positive integer or decimal values; - an authorized temporal subsampling rate TEMP (this rate can take positive integer values for less complex processing, this constraint can be lifted if the technical context allows more complex processing). The spatial subsampling rate SPÂT is then obtained from the following formula: SPAT=RED / TEMP. The latter can take positive integer values or not. For example, if the overall reduction rate is equal to RED=4, it comes: -if TEMP=4, then SPAT=1; -if TEMP=3, then SPAT=4 / 3; -if TEMP=2, then SPAT=2; -if TEMP=1, then SPAT=4, The set(s) of subsampling steps are obtained using a lookup table, for example defined by the initial configuration based on the value taken by SPAT. We refer again to [fig.3]. Optionally, an image splitting sub-step E103 is implemented for the images of a group of images. This step precedes the coding step E2. Its purpose is to decompose each image of the group of images into k sub-images (k being a positive integer). For example, if k=2, each image is split into two halves. More generally, if the temporal frequency of the group of images at the output of sub-step E101 is equal to the original frequency divided by N, each image is then divided into N sub-images during sub-step E103. When all the images of the input sub-sequence are processed, they are delivered (E104) to be coded. Thus, at the output of sub-step E104, the group of processed images forms an output sub-sequence to be coded, this output sub-sequence having a rather low spatial resolution (the value being equal on average to the intermediate value of global resolution) and a temporal frequency equal to the original temporal frequency due to the decomposition of the images into sub-images during sub-step E103. The conservation of the original temporal frequency makes the pre-processing compatible with coding implemented using an encoder operating at a fixed input frequency. The present invention could be combined with the proposal of patent application WO2020 / 025510 in the name of the applicants. In which case, only sub-steps E101 and E103 can also be implemented. In this case, the method resulting from the combination would make it possible to divide the quantity of data by 2 (if N=2) without changing the resolution and without subjective loss of visual quality either. The method resulting from said combination (and the corresponding device) therefore offers three variants making it possible to reduce the quantity of data to be transmitted with, depending on the variant, a reduction factor varying from 2 to 4 in the case where N=2. Either only the temporal frequency is reduced, or only the spatial resolution is degraded, or both the spatial resolution and temporal frequency are reduced. The coding of step E2 can therefore be carried out using a standard low-latency codec operating at fixed resolution (the lowest spatial resolution, for example RO in [fig.8]) and at high temporal frequency (original temporal frequency). An electronic circuit implementing row and / or column sub-sampling according to the invention can be miniaturized. Being moreover compatible, with a standard codec it is then possible to embed it in a video headset without significant excess weight, for example a VIVETM headset from HTC. Each coded output sub-sequence is then transmitted (step E3) via, for example, a wireless transmission channel (non-limiting example). For example, the output sub-sequences may be intended for several users in the context of a virtual reality application involving several wearers of head-mounted displays. The wireless transmission channel is then multi-user. For example, the 60 GHz Wi-Fi WiGig wireless network protocol may be used for transmission (the bandwidth is of the order of 7 Gbps). Alternatively, the Wi-Fi 5 protocol offering a bandwidth of 600 Mbps may be used. Each output sub-sequence is received and decoded (step E4). The decoding implemented is a function of the coding implemented during step E2. Then the post-processing step ES takes place. This step includes a sub-step E500 for obtaining a post-processing configuration. This sub-step is detailed in more detail below with reference to [fig.10]. Then the step ES comprises an image recomposition sub-step E501, in the case where the image cutting sub-step E103 was implemented during pre-processing E1. If each image was cut into 2 halves during the step E103, each new recomposed image is obtained by appropriately juxtaposing two successive images of the received and decoded output sub-sequence. Once the images have been recomposed, an upsampling sub-step E502 makes it possible to increase the spatial resolution of the recomposed images. The upsampling is carried out in the same directions as the downsampling, and using sets of upsampling steps with values inverse to the upsampling step values. The value of each new pixel linked to oversampling can be extrapolated, for example, using known methods such as bi-linear or bi-cubic algorithms or using the Lanczos method, which is well known to those skilled in the art.At the end of the upsampling sub-step E502, the spatial resolution of the images of the recomposed images is equal to the spatial resolution of the images of the input sub-sequence before the downsampling step E102. Finally, if a sub-step E101 of reducing the temporal frequency took place in pre-processing, the post-processing comprises a sub-step E503 of restoring the original frequency of the input sub-sequence. To do this, if the temporal frequency of the output sub-sequence corresponds to the temporal frequency of the input sub-sequence divided by N, each image from the sub-step E502 is then repeated N times, so as to restore the temporal frequency of the input sub-sequence. Thus, a sub-sequence of decoded and post-processed images, at the spatial resolution and the temporal frequency, is delivered as input to the display step E6. maximum, equal to those of the input subsequence. According to a first implementation mode, the temporal and spatial filters are predefined and stored for both pre- and post-processing. A correspondence table then associates a configuration with a selection of temporal and / or spatial filters. According to a second implementation mode, the identification of the spatial and / or temporal filters at the time of pre-processing is coupled with the generation and sending of dedicated metadata, transmitted to the device implementing the post-processing. [Fig. 9] illustrates the second implementation mode. Sub-step E100 is itself broken down into several sub-steps. A first of these sub-steps E1000 comprises obtaining the initial configuration and the parameters associated with this initial configuration, for example: configuration relating to an optic of a head-mounted display.If the filters that can be associated with the initial configuration are not predefined (for example previously stored) T1001, in this case (arrow “_N”), the group of images to be processed is read E1002 then analyzed E1003. The analysis may include an analysis of the content of the images (or of a reference image among the group of images) with for example a detection of contours, an estimation of movements for example using measurements carried out by movement sensors, a determination of a histogram of pixel values. This analysis may be implemented using an algorithm based on prior learning (“machine learning” in English). The analysis step E1003 may also include an analysis of external information such as the movement of the head-mounted display worn by the user or the analysis of information complementary to the images, such as depth information.At the end of the analysis, the optimal filters for carrying out the filtering steps are identified and selected (E1004), for example using a correspondence table between a content analysis result and temporal and / or spatial filters. An optional verification (E1005) of the configuration of the selected filters with respect to a predetermined visually acceptable minimum quality can be implemented. If this minimum quality criterion is not satisfied, an update of the temporal and / or spatial filters can be implemented. If filters that can be associated with this configuration are predefined T1001 (arrow "Y"), these are then generated (E1006). Then the images of the group of images to be processed are read (E1007) and their content is analyzed (E1008). Depending on the result of the analysis, a test T1009 is implemented to check whether an update of the filter parameters is authorized. If this is not the case (arrow "N"), the filterings E101, E102 and E103 are then implemented with the generated filters. If an update is authorized (arrow "Y"), a test T1010 is implemented to check the quality of the images that would result from filtering with the selected filters (for example example in relation to a predetermined minimum visually acceptable quality) is sufficient or not. If the quality is insufficient (arrow "Y"), optimal filters in relation to the minimum acceptable visual quality are identified and selected (E1004) using the correspondence table between a content analysis result and temporal and / or spatial filters. The optional verification E1005 can be implemented again. If the quality is sufficient (T1010, arrow "N"), the filters E101, E102 and E103 are then implemented with the generated filters. According to another variant not illustrated, the sub-sub-steps E1004, E1005, E1007 and E1008 as well as the tests T1009 and T1010 are not implemented. The generated filters (E1006) are directly used for the filters E101, E102 and E103. In one embodiment, sub-step E104 may comprise performing a test T1041 to check whether the sending of metadata is authorized or not. If this is not the case (arrow “N”) the output sub-sequence to be coded is transmitted directly to be encoded (step E1043). If the sending of metadata is authorized (arrow “Y”), metadata obtained during sub-step E100 may be transmitted directly via Ethernet or any other means such as auxiliary data to the images (E1042) for performing one or more filtering sub-steps E101, E102, E103 on the one hand and on the other hand to the device implementing the post-processing, the metadata being able or not to be synchronized with the images to which they relate. In the latter case, the metadata is transmitted via auxiliary channels to the transmission protocol used for video, for example MJPEG (Motion Joint Photographic Experts Group).Metadata can represent selected filters and their parameters (e.g., using an identifier designating a filter from a predetermined list), or parameters allowing to modify or configure predefined filters, or parameters fully describing the filters using a list of properties allowing to generate these filters. Metadata exchange between transmitter and receiver is optional. It can be omitted especially in the case where during ES post-processing the configuration can be obtained directly from the video format of the output sub-sequences for example. Finally, a test T1044 checks whether a new input subsequence is available. If so (arrow "Y"), a new input subsequence is read E1007. Otherwise (arrow "N"), the coding step E2 is implemented. [Fig.10] illustrates a mode of implementation of the ES post-processing. The sub-step E500 comprises a preliminary reading of an initial configuration (E5001) for example stored in a memory. This initial configuration can for example correspond to a head-mounted display. A test T5002 checks whether this initial configuration allows obtaining suitable filters for each output sub-sequence or whether the filters corresponding to the obtained configuration are valid for a set of output subsequences. If the filters can be updated for each output subsequence (arrow "Y"), a configuration of the spatial and / or temporal filters is obtained (E5003), for example two successive spatial subsamplings, in a vertical then horizontal direction. The corresponding filters are then generated (ES004). Then the output subsequence to be post-processed is read (ES005). If the filters cannot be updated for each output subsequence (arrow "N"), the post-processing process goes directly to the step of reading the output subsequence to be post-processed (E5005). Then the post-processing includes a verification of reception or not of metadata corresponding to the considered output sub-sequence (T5006). If metadata has been received (arrow "Y"), the filters obtained are configured (sampling steps, temporal filtering frequency, etc.) during a step E5007. The different filters ES01, E502 and E503 are then applied to the output sub-sequence. If a new output sub-sequence is available for post-processing (arrow "Y" of a test T504), the process is repeated. Otherwise, the post-processing is finished (arrow "N"). [Fig. 11] schematically illustrates an embodiment of pre-processing means integrated in a DC coding device according to the invention. The device comprises MLCI reading means capable of reading images from a source video SVD, by group of images. The read images are transmitted to means for identifying an optimal pre-processing MID1. MSGA signaling means are capable of generating MTDA metadata describing the optimal pre-processing or comprising an identifier of this optimal pre-processing if the metadata describing it is not transmitted to the post-processing device. MGNFI generation means are capable of generating filters configured according to the pre-processing identified by the MIDI means and as a function of an initial configuration stored in a memory MEM. In this embodiment, the DPRT device comprises means capable of generating MTDB metadata describing the filtering parameters of the generated filters. The preprocessing means also comprise temporal filtering means MFT1, spatial subsampling means MFS1 and image decomposition means MDI capable of filtering the images of the source video SVD according to the filters generated by the means MGNF. The preprocessed images IMPR form output subsequences transmitted with the metadata MTDA and MTDB to a display device coupled to a decoder and a postprocessing device. [Fig. 12] schematically illustrates an embodiment of post-processing means forming part of a DDEC decoding device according to the invention. MLC2 reading means are configured to read the pre-processed images IMPR of the successive output sub-sequences. These MLC2 means can implement the reading of the images for example using the MTDA pre-processing identifier transmitted simultaneously with the pre-processed images in order to match each read image with the descriptive metadata of the pre-processing to be applied, for example stored in an auxiliary memory in the form of a list, the auxiliary memory not being represented for the purposes of simplification. Each pre-processing is identifiable using this identifier. For example, the list can vary depending on a result provided by analysis means (not represented) of the scenes present in the images. Then MID2 identification means are able to determine the post-processing filters to be applied to the images of the output sub-sequences, using the aforementioned MTDA identifier.The MID2 identification means are capable of selecting and configuring the filters for implementing the identified post-processing. MGNF2 generation means are configured to generate filters adapted to the post-processing using the MTDB metadata transmitted simultaneously to the pre-processed images. The MGNF2 generation means are coupled to a MEM2 memory capable of storing a configuration as described above. The post-processing means further comprise temporal filtering means MFT2, spatial oversampling means MFS2 and image recomposition means MDD2 capable of filtering the images read by the reading means MLC2 according to the post-processing identified by the means MID2 and the parameters generated by the means MGNP2. The images reconstructed in the format of the source video MTDC are delivered as output. [Fig. 13] schematically represents an electronic circuit CIR capable of implementing a pre-processing or post-processing method as described with reference to Figures 3, 9 and 10. The circuit comprises a microprocessor uP configured to control in particular the temporal filtering implemented by the first spatial filtering means MFIL 1, the spatial under- or over-sampling and the decompositions or re-compositions of images implemented by the second temporal filtering means MFIL2. Furthermore, the microprocessor uP is capable of generating or processing (in post-processing) the processing metadata mentioned above. The microprocessor HP is also coupled to a memory MEM adapted to save initial configurations as well as, where appropriate, the previously mentioned correspondence tables.The microprocessor uP and the spatial filtering means MFILI1 and temporal filtering means MFIL2 are respectively coupled to input communication means MCOME and output communication means MCOMS capable of exchanging processed data or processing with another device such as an encoder or a decoder for example. For example, the data passing through the input communication means MCOME. may include the images of the source video data delivered to the spatial filtering means MFILI and configuration parameters of the filtering means supplied to the microprocessor uP. The data transmitted to the input communication means MCOMS may include, for example, the processing metadata generated by the microprocessor P as well as the spatially and temporally subsampled images.
Claims
Claims
1. Method of coding images of a video sequence, each image being formed of elements organized in rows and columns, the process including the implementation of the following steps c) obtaining an initial configuration (E100) representative of character- structural characteristics of a display device, and for at least one image of a subsequence of one or more images of the sequence video called input subsequence, dl) carrying out a first spatial sub-sampling (E102) of at least at least part of the image elements using an oriented filter in a first direction and comprising a first set (ENS1) of at least two different values of sub-factors sampling, the first set of values being determined in function of said initial configuration, then insertion of the image re- resulting in an output subsequence, and e) coding (E2) of the images of the output subsequence.
2. Method according to the preceding claim, in which step d1) further includes a second spatial subsampling of at minus a portion of the subsampled image elements in using a filter oriented in a second direction and comprising a second set (ENS2) of at least two different values of subsampling factors, the second set of values being determined based on said initial configuration.
3. A method according to any one of claims 1 or 2, wherein spatial subsampling is achieved using oriented filters according to one of the following directions: - horizontal, - vertical.
4. Method according to one of the preceding claims, in which each subsampling factor value of a set of values is respectively applied to at least one group of p successive elements depending on the direction in which the filter is oriented, p being an integer positive.
5. Method according to one of the preceding claims, comprising in in addition to an analysis step (E1003, E1008) comprising an analysis of the content of at least one image of said input subsequence, and a step of updating the values of the subsampling factors prior to the implementation of step dl), depending on the result of content analysis.
6. A method according to any preceding claim, further comprising an analysis step including an analysis of representative measurements of movements made by a user, the display device being a video headset worn by said user, and a step of updating update of the values of the subsampling factors prior to the implementation of step dl), depending on the result of the analysis of the measures.
7. Method according to one of the preceding claims, comprising in in addition to another analysis step including a quality analysis visual (E1005) of the images of said output subsequence, and a step of updating the subsampling factor values prior to the implementation of step d1), if the visual quality is below a predetermined threshold.
8. Method according to one of the preceding claims, comprising a preliminary step (E101) comprising the following sub-steps a) obtaining from said video sequence, so-called sub-sequences initials, and for at least one initial subsequence: bl) determination of information representative of the content of at least least one image of the initial subsequence, and depending on said in- training, b2) determination for the initial subsequence, of a frequency of processing, less than or equal to the initial display frequency of the images, depending on the information determined, and b3) insertion, depending on the determined processing frequency, of all or part of the images of the group of images in a subsequence of images forming an input subsequence.
9. A method according to the preceding claim, further comprising a a posteriori step (E103) for the M images of a subsequence of output, M being an integer, said a posteriori step comprising the sub- next steps d2) comparison between the processing frequency associated with the images of the output subsequence and the initial display frequency of the 1mages, and if the treatment frequency is lower than the initial frequency, spatial division of each of the M images of the subsequence of output in N sub-images, N being an integer whose value is a function of the ratio of treatment frequency to initial frequency, step coding e) corresponding to the coding of the M*N sub-images of the sub- output sequence, otherwise the coding step e) corresponds to the coding of said M images of the output subsequence.
10. A method according to the preceding claim, further comprising the next steps for each output subsequence obtaining information representative of at least one items from the list below: subsampling factor values, representative measurements of movements made by a user, the display device being a vi- helmet worn by said user, structural characteristics of the display device, processing frequency, and encoding of said information.
11. | Method for decoding data corresponding to images of a video sequence, each image being formed of elements organized into rows and columns, the images of the video sequence being grouped in subsequences of one or more images called subsequences of output, the method comprising implementing the following steps cl) obtaining an initial configuration (E5001) representative of ca- structural characteristics of a display device, and for at least an image of an output subsequence; d11) carrying out a first spatial oversampling (E502) of at least at least part of the image elements using an oriented filter according to a first direction and comprising a first set of at least two different values of oversampling factors, the first set of values being determined based on said confi- initial guration, then inserting the resulting image into a sub- sequence to decode, and el) decoding (E4) the images of the sub-sequence to be decoded.
12. Method according to the preceding claim, in which step d11) further comprises a second spatial oversampling of at least a part of the image elements upsampled using a filter oriented in a second direction and comprising a second set of at least two different values of super-factors sampling, the second set of values being determined by function of said initial configuration.
13. Device for coding (DC) images of a video sequence, each image being formed of elements organized in rows and columns, the device being configured to implement the following steps c) obtaining an initial configuration representative of character- structural characteristics of a display device, and for at least one image of a subsequence of one or more images of the sequence video called input subsequence, d!) carrying out a first spatial sub-sampling of at least a part of the image elements using a filter oriented according to a first direction and comprising a first set of at least two different values of subsampling factors, the first set of values being determined based on said configuration initial, then inserting the resulting image into a subsequence of exit, and e) coding of the images of the output subsequence.
14. Device for decoding (DDEC) data corresponding to images of a video sequence, each image being formed from organized elements in rows and columns, the images of the video sequence being re- grouped into sub-sequences of one or more images called sub- output sequences, the device being configured to implement next steps cl) obtaining an initial configuration representative of character- structural characteristics of a display device, and for at least one image of an output subsequence; d11) carrying out a first spatial oversampling of at least one part of the image elements using a filter oriented according to a first direction and comprising a first set of at least two different values of oversampling factors, the first set of values being determined based on said configuration initial, then inserting the resulting image into a subsequence to decode, and el) decoding of the images of the subsequence to be decoded.
