Method for encoding and decoding of images, corresponding device for encoding and decoding of images and computer programs
Patent Information
- Application Number
- DE602012081024
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2011-05-26
- Filing Date
- 2012-05-23
- Publication Date
- 2024-08-21
- Estimated Expiration
- 2032-05-23
AI Technical Summary
Current video coding techniques, such as H.264, face challenges in reducing the bandwidth required for signaling coding indices, which contributes to significant bandwidth usage due to the inclusion of competition indices in the data signal, especially with the increasing number of new coding parameters and partition dimensions.
The method involves selecting multiple causal partitions based on optimal coding parameters and geometric transformations to accurately match the current partition, allowing for the omission of movement parameters and optimal coding indices in the data signal, enabling more precise causal partition selection and improved image reconstruction without increasing the coding cost.
This approach reduces the signaling cost by omitting unnecessary indices and allows for more precise image reconstruction by using optimally selected coding parameters, enhancing the quality of the reconstructed image with minimal increase in bitrate.
Description
Field of invention
[0001] The present invention relates generally to the field of image processing, and more specifically to the competitive coding and decoding of digital images and digital image sequences.
[0002] More specifically, the invention applies to the compression of images or video sequences using a block representation of the video sequence.
[0003] The invention can in particular, but not exclusively, be applied to the video coding implemented in current video coders and their amendments (MPEG, H.264, H.264 SVC, H.264 MVC, etc.) or future ones (ITU-T / VCEG (H.265) or ISO / MPEG (HVC)), and to the corresponding decoding. Prior art
[0004] Digital images and image sequences take up a lot of memory space, which means that when transmitting these images, they need to be compressed to avoid congestion problems on the communication network used for this transmission, as the usable throughput on this network is generally limited. This compression is also desirable for the storage of this data.
[0005] Many video data compression techniques are already known. Among these, many video coding techniques, notably H.264, use spatial or temporal prediction techniques for groups of pixel blocks in a current image relative to other groups of pixel blocks in the same image or in a previous or subsequent image.
[0006] More specifically, in H.264, I-frames are encoded by spatial prediction (intra prediction), and P- and B-frames are encoded by temporal prediction (inter prediction) relative to other I-, P-, or B-frames encoded / decoded using motion compensation.
[0007] Such images are generally divided into macroblocks, themselves divided into partitions comprising a set of pixels (for example 8x8). For each partition, a residual partition, also called a prediction residual, is coded, corresponding to the original partition reduced by a prediction. After this predictive coding, the residual partitions are transformed by a discrete cosine transform (DCT), then quantized. The coefficients of the quantized residual partitions are then scanned in a reading order allowing the exploitation of the large number of zero coefficients in the high frequencies, then coded by an entropic coding.
[0008] According to the invention, a partition may consist of a block of generally square or rectangular shape, or may have other shapes, such as linear, L-shaped, etc. A partition according to the invention may also have a completely arbitrary shape.
[0009] According to the H.264 technique for example, when a macroblock is divided into blocks, a data signal, corresponding to each block, is transmitted to the decoder. Such a signal includes: residual data which are the coefficients of the quantized residual blocks and possibly, during coding in Inter mode, residual data of the motion vectors, coding parameters which are representative of the coding mode used, in particular: the prediction mode (intra prediction, inter prediction, default prediction making a prediction for which no information is transmitted to the decoder ("skip" in English)); information specifying the type of prediction (orientation, reference image, etc.); the type of partitioning; the type of transform, for example DCT 4×4, DCT 8×8, etc.; motion information if necessary; etc.
[0010] Decoding is done frame by frame, and for each frame, macroblock by macroblock. For each partition of a macroblock, the corresponding elements of the signal are read. Inverse quantization and inverse transformation of the block coefficients are performed. Then, the partition prediction is calculated and the partition is reconstructed by adding the prediction to the decoded prediction residue.
[0011] Intra or inter coding by competition, as implemented in the H264 standard, is thus based on the competition of different coding parameters, such as those mentioned above, with the aim of selecting the best coding mode, i.e. the one which will optimize the coding of the partition considered according to a predetermined performance criterion, for example the bitrate / distortion cost well known to those skilled in the art.
[0012] The coding parameters relating to the selected coding mode are contained in the data signal transmitted by the encoder to the decoder, in the form of identifiers generally called competition indices. The decoder is thus able to identify the selected coding mode to the encoder, then to apply the prediction conforming to this mode.
[0013] The bandwidth allocated to these competition indices is not negligible, since it reaches at least around 30%. It also tends to increase due to the ever-increasing contribution of new coding parameters such as new partition dimensions, new partition shapes, new Intra prediction parameters, etc.
[0014] Several solutions have been proposed to try to reduce the cost of signaling such indices.
[0015] In the paper J.-M. Thiesse, J. Jung, M. Antonini, "Data Hiding of motion informations in chroma and luma samples", ICIP, Hong Kong, Sep. 2010, it is proposed to use tagging techniques to reduce the cost of coding signaling information resulting from an improvement of Inter coding. The main idea is to hide coding signaling cues in the judiciously selected transformed and quantized chrominance and luminance coefficients. In order to minimize the prediction error, the modification is achieved using rate-distortion optimization. The advantage of such a solution lies in the addition of low complexity to the decoder. However, the number of hidden signaling cues is limited in order not to cause too much degradation of the prediction.
[0016] Dance and document Jingjing Dai; Au, OC; Wen Yang; Chao Pang; Feng Zou; Yu Liu; "Motion vector coding based on predictor sélection and boundary-matching estimation", Multimedia Signal Processing, 2009-MMSP '09. pp.1-5, 5-7 Oct. 2009 ,it is proposed, when coding a current partition, to select by competition at least one motion vector predictor using the "template matching" technique. This technique is then implemented at the decoder, with the aim of not transmitting in the coded stream motion information whose signaling cost is high. The "template matching" technique consists of comparing the intensity of the pixels of the current partition with the intensity of the pixels of one or more causal partitions already coded then decoded, selecting the motion vector pointing to the causal partition whose pixel intensity is closest to the intensity of the pixels of the current partition, then predicting the motion vector thus selected.A disadvantage of this technique is that the matching performed between the current partition and the selected causal partition is limited to a comparison of the intensity of the pixels and does not take into account a mismatch in size or shape, for example, which could exist between the current partition to be coded (respectively to be decoded) and the causal partition. Furthermore, the causal partitions put into competition according to this technique are always those located in certain predetermined directions with respect to the current partition to be coded, that is to say generally above and to the left of the current partition. This results in an inaccurate prediction of the current partition which leads to non-negligible errors during the coding (respectively decoding) of the current partition.
[0017] In the document Laroche, G.; Jung, J.; Pesquet-Popescu, B.; “Intra Coding with Predicting Mode Information Inference,” Circuits and Systems for Video Technology, IEEE Transactions on circuits and systems for video technology, vol. 20, n°12, pp 1786-1796, December 2010 , it is proposed, during the Intra coding of a current partition to delete, prior to putting a set of predetermined Intra predictors into competition, one or more redundant Intra predictors from this set. Such a deletion meets a predetermined elimination criterion which does not depend on the original image to be coded and which is therefore reproducible at the decoder level. Such a method certainly makes it possible to use fewer Intra predictors for the coding of a current partition but does not, however, make it possible to completely cancel the signaling cost, nor to take into account the addition of new predictors. Subject matter and summary of the invention
[0018] One of the aims of the invention is to remedy drawbacks of the aforementioned state of the art.
[0019] For this purpose, an object of the present invention relates to a coding method according to claim 1.
[0020] Such an arrangement thus makes it possible, during competition coding, whether of the Intra or Inter type, to avoid including in the signal to be transmitted to the decoder, the competition index(es) calculated after putting multiple coding parameters into competition. This thus results in a significant reduction in the signaling cost, insofar as such an arrangement is reproducible at the decoder level.
[0021] Such an arrangement also makes it possible, for a coding parameter of a fixed type, to increase the number of parameters of the same type or of a similar type that can be put into competition. In the case, for example, of Intra 8x8 or 4x4 coding according to the H.264 standard, for which nine spatial predictors can be put into competition, the invention makes it possible to easily add other spatial predictors during the competition, without thereby deteriorating the bit rate and while consequently improving the reconstruction of the image.
[0022] According to another particular embodiment, the causal partition selection step consists of: determining a plurality of causal partitions, calculating at least one optimal coding parameter associated with each of the causal partitions according to the predetermined coding performance criterion, calculating at least one optimal coding parameter associated with the current partition according to the predetermined coding performance criterion, comparing the optimal coding parameter determined in association with the current partition with each of the optimal coding parameters determined respectively in association with each of the causal partitions, selecting the causal partition whose optimal coding parameter has the value closest to that of the optimal coding parameter of the current partition.
[0023] Such an arrangement allows for more rigorous and accurate causal partition selection than the prior art default selection that uses a block matching algorithm based solely on pixel correlations.
[0024] Thanks to such an arrangement, it is thus possible to select a causal partition that is as similar as possible to the current partition not only in terms of texture, but also in terms of coding mode or other representative criteria.
[0025] Such a causal partition can be located in the current image or in another image previously encoded and then decoded.
[0026] More generally, the causal partition can be found in any layer available at the time of coding the current partition. In particular, the causal partition can be found in a base layer or an enhancement layer in the case of scalable video coding. It can also be found in a layer corresponding to another view in the case of multiview video coding.
[0027] It should be noted that after selecting at least one causal partition, a movement parameter is determined defining the movement between the current partition to be coded and the selected causal partition.
[0028] According to a preferred embodiment of the invention, such a motion parameter is not necessarily transmitted in the coded stream to the decoder, in particular in the case where the latter is capable of recalculating this parameter itself.
[0029] Alternatively, such a motion parameter is transmitted in the coded stream to the decoder, which will then only have to read it.
[0030] Such a motion parameter consists, for example, of a motion vector pointing to the selected causal partition. Such a vector is, for example, calculated from at least one motion vector associated with another causal partition that is neighboring the selected causal partition.
[0031] According to yet another particular embodiment, the current partition is encoded using at least two optimal encoding parameters of different type.
[0032] Such an arrangement allows for more finely coding the current partition since two different type coding parameters are used, both optimally selected. For example, it could be a first parameter optimizing the Intra prediction of a causal partition and a second parameter optimizing the subsampling of the transformed and quantized residuals of the prediction of another causal partition.
[0033] The number of optimal coding parameters that can be determined can of course be greater than two, with the accuracy of coding a current partition being increased as a function of the number of optimal coding parameters used.
[0034] According to another particular embodiment, the coding performance criterion is chosen from at least one criterion belonging to the group comprising: a flow-distortion criterion, where the flow is calculated by simulation, a distortion criterion.
[0035] According to yet another particular embodiment, the selected causal partition comes from a prior geometric transformation, an index associated with this transformation then being coded.
[0036] The purpose of such an arrangement is to deform a causal partition previously selected according to the invention so as to optimize the adequacy of size and shape of the latter with the current partition to be coded.
[0037] Such a transformation consists, for example, of applying a rotation, a symmetry, etc. to the causal partition, the type of geometric transformation being associated with an index intended to be transmitted in the data flow to the decoder.
[0038] Such an arrangement thus makes it possible to further refine the prediction optimization, which leads to an increase in the quality of the image to be reconstructed, with a small increase in the coding cost (in English "bitrate"), since a single bit is generally assigned to the geometric transformation index.
[0039] Correspondingly, the invention also relates to a device for encoding at least one image.
[0040] The invention also relates to a decoding method according to claim 8.
[0041] An advantage of such a decoding method lies in the fact that the operations of determining the motion parameter and calculating the optimal coding parameter that take place during coding are reproducible during decoding. It is thus possible to transmit in the data signal received by the decoder neither the index associated with the motion parameter nor the index associated with the optimal coding parameter, which significantly reduces the cost of signaling such indices. As mentioned above in relation to the coding method, the advantages of putting any type of coding parameters into competition applied to the decoded causal partition are the same as those provided for coding and allow decoding to obtain a reconstruction of the current partition and, ultimately, of the image, which is of better quality.
[0042] According to a particular embodiment, the determination of the movement parameter is carried out by calculation or by reading the latter in the data signal.
[0043] According to a first alternative for which no motion parameter index is added to the signal to be transmitted to the decoder, the decoding is carried out autonomously with a calculation of the motion parameter associated with the current partition to be reconstructed which is identical to that carried out during coding.
[0044] According to a second alternative which is slightly more expensive in terms of signaling than the first alternative and for which at least one motion parameter index is added to the signal to be transmitted to the decoder, decoding is carried out upon reading the motion parameter associated with the current partition to be reconstructed by simple extraction of the motion parameter contained in the received signal.
[0045] According to another particular embodiment, the motion parameter is a motion vector pointing to the causal partition, such a motion vector being calculated from at least one reference motion vector which is associated with another causal partition which is close to the causal partition.
[0046] In application of the H264 / AVC standard, the other causal partition is the closest neighbor of the causal partition pointed to by the motion vector. This is then referred to as a co-located partition. In this case, said motion vector is equal to the reference motion vector associated with this other causal partition. According to a variant, said motion vector is equal to a median of a plurality of motion vectors associated respectively with a plurality of causal partitions selected as being the closest neighbors of the causal partition pointed to by the motion.
[0047] According to yet another particular embodiment, the current partition is reconstructed using at least two optimal coding parameters of different type which are used as decoding parameters of the current partition.
[0048] According to yet another particular embodiment, the coding performance criterion is chosen from at least one criterion belonging to the group comprising: a flow-distortion criterion, where the flow is calculated by simulation, a distortion criterion.
[0049] The choice of such coding performance criteria makes it possible to optimize the quality of image reconstruction.
[0050] According to yet another particular embodiment, the causal partition is derived from a prior geometric transformation, the decoding of said causal partition being carried out by reading in the signal an index relating to the geometric transformation.
[0051] As mentioned above in relation to the coding method, such an arrangement makes it possible to optimize the choice of the causal partition used during the reconstruction of the current partition and therefore to increase the quality of the image to be reconstructed, with a small increase in the coding cost (in English "bitrate"), since only one bit is assigned to the geometric transformation index.
[0052] Correspondingly, the invention also relates to a device for decoding a data signal representative of at least one image.
[0053] The invention also relates to a computer program comprising instructions for implementing one of the methods according to the invention, when executed on a computer.
[0054] This program may use any programming language, and may be in the form of source code, object code, or code intermediate between source code and object code, such as in a partially compiled form, or in any other desirable form.
[0055] The invention also relates to a recording medium readable by a computer on which a computer program is recorded, this program comprising instructions adapted to the implementation of one of the methods according to the invention, as described above.
[0056] The information carrier may be any entity or device capable of storing the program. For example, the carrier may include a storage medium, such as a ROM, for example a CD-ROM or a microelectronic circuit ROM, or a magnetic recording medium, for example a floppy disk or a hard disk.
[0057] On the other hand, the information carrier may be a transmissible carrier such as an electrical or optical signal, which may be conveyed via an electrical or optical cable, by radio or by other means. The program according to the invention may in particular be downloaded from a network such as the Internet.
[0058] Alternatively, the information carrier may be an integrated circuit in which the program is incorporated, the circuit being adapted to perform or to be used in the performance of the method in question.
[0059] The aforementioned decoding method, coding device, decoding device and computer programs have at least the same advantages as those conferred by the coding method according to the present invention. Brief description of the drawings
[0060] Other features and advantages will become apparent upon reading a preferred embodiment described with reference to the figures in which: there figure 1 represents steps of the coding method according to the invention, the figure 2 represents an embodiment of a coding device according to the invention, the figure 3 represents an embodiment of a decoding device according to the invention, the figure 4 represents steps of the decoding method according to the invention, the Figure 5A represents an example of determining optimal Intra predictors, the Figure 5B represents an example of determining optimal Inter predictors, the figure 6 represents different spatial predictors, the figure 7 represents an example of determining two coding parameters of different type. Detailed description of the general principle of the invention
[0061] An embodiment of the invention will now be described, in which the coding method according to the invention is used to code a sequence of images according to a bit stream close to that obtained by coding according to the H.264 / MPEG-4 AVC standard. In this embodiment, the coding method according to the invention is for example implemented in software or hardware by modifications of a coder initially compliant with the H.264 / MPEG-4 AVC standard. The coding method according to the invention is represented in the form of an algorithm comprising steps C1 to C8, represented in figure 1 .
[0062] According to the embodiment of the invention, the coding method according to the invention is implemented in a coding device CO shown in figure 2 .
[0063] During a first step C1, a current macroblock MBc of an image IN is pre-divided into a plurality of partitions PA1, PA2,..., PAn as shown in the figure 2 Such a step is classically carried out by a partitioning software module not shown.
[0064] Such a partitioning module uses, for example, a method of choice by exhaustive competition or a method of choice using an algorithm with a priori. Such methods are well known to those skilled in the art (see: GJ Sullivan and T.Wiegand, "Rate-distortion optimization for video compression", IEEE Signal Proc. Mag., pp.74-90, 1998 ) . They will therefore not be described further.
[0065] The different types of possible partitioning algorithms are grouped in a database (not shown) of the CO coder. They make it possible to obtain a division of the image or macroblocks of this image into a plurality of partitions either of rectangular or square shape, or of other geometric shapes, such as for example substantially linear shapes, or of completely arbitrary shape.
[0066] In the example shown in the figure 2 , a current macroblock MBc of the current image IN is divided into sixteen partitions PA1, PA2,..., PA16. Said partitions obtained have for example all the shape of a square block and are all of the same size.
[0067] During a C2 step represented in the figure 1, at least one causal partition PAi r is selected from a plurality K of available causal partitions PA1 r , PA2 r ,..., PAi r , ... PAK r , (1≤i≤K) i.e. a partition previously coded then decoded, with a view to coding a current partition PA c (1≤c≤n) of the current image IN .
[0068] For this purpose, an APP_CO matching software module shown on the figure 2 is adapted to select, from all the aforementioned causal partitions, a first causal partition which is as similar as possible to the current partition PA c , by means of a classic block matching criterion carried out in the pixel domain, or by means of a characteristic function of the current partition PA c such as a projection in a transformed domain or even in the domain of the coding mode of the latter as will be described later.
[0069] The selected causal partition PAi r belongs either to an image coded then decoded prior to the image IN , or to said image IN .
[0070] In order to optimize the size and shape adequacy of the selected causal partition PAi r with the current partition to be coded PA c , a geometric deformation of said causal partition is carried out during an optional step C21, by applying to the latter a geometric transformation such as a rotation, a symmetry, etc. by means of a geometric transformation software module MTG_CO well known per se and as represented on the figure 2 At the end of such a step, a transformed causal partition Pati r is obtained.
[0071] During a step C3, a movement parameter defining the movement between the current partition PAc and the selected causal partition PAi r is calculated. Such a movement parameter is, for example, a movement vector MV c .
[0072] Such a step is performed by a first calculation software sub-module CAL1_CO belonging to a processing software module TR_CO, as shown in the figure 2 .
[0073] Since the said motion parameter is expensive information to signal to the decoder, any classic method of reducing the cost of this information can be used (Skip, motion prediction, etc.).
[0074] During a step C4 represented in the figure 1, according to the invention, at least one optimal coding parameter associated with said selected causal partition PAi r or with said transformed selected causal partition PAti r is calculated, according to a predetermined coding performance criterion, by placing in competition a plurality of coding parameters associated with said selected causal partition PAi r or PAti r .
[0075] For the purposes of the invention, the coding parameters are representative of the coding mode used and are, non-exhaustively, of the type defined below: the prediction mode (intra prediction, inter prediction, default prediction making a prediction for which no information is transmitted to the decoder ("skip" in English)); information specifying the type of prediction (orientation, reference image, etc.); the partitioning type; the transform type, for example 4×4 DCT, 8×8 DCT, wavelets, etc. etc.
[0076] For this purpose, during a sub-step C41, the causal partition PAi r selected in the aforementioned step C2 or the causal partition PAti c transformed in the aforementioned step C21 is transmitted to a sub-module TEST_CO for testing coding modes which is represented in figure 2 .
[0077] During a sub-step C42 represented in the figure 1 , the TEST_CO sub-module calculates the different possible coding modes of the causal partition PAi r or the transformed causal partition PAti r considered.
[0078] Once the different possible coding modes have been tested by the TEST_CO test sub-module, during a sub-step C43 represented in figure 1 , a DCN_CO decision sub-module, represented in figure 2 ,selects at least a first type of coding parameter Idx 1 associated with an optimal coding mode, such a selection constituting the optimal prediction according to a predetermined performance criterion which, in the example shown, is the rate-distortion criterion well known to those skilled in the art. Such a criterion is expressed by equation (1) below: J = D + λ R où where D represents the distortion between the original partition and the reconstructed partition, R represents the bit cost of coding the coding parameters and λ represents a Lagrange multiplier.
[0079] According to a particularly advantageous variant from the point of view of reducing the calculation time at the encoder, the predetermined performance criterion depends only on the distortion and is expressed by equation (2) below: J ′ = D .
[0080] The criteria J and J' are calculated classically by simulation.
[0081] A first type of optimal coding parameter obtained at the end of step C43 consists, for example, of the Inter 8×8 prediction mode of the selected causal partition PAi r .
[0082] The above-mentioned steps C2 to C43 are repeated for the K-1 other selected causal partitions, which makes it possible to obtain at least K-1 other optimal coding parameters idx2, idx3, ... ,idxK.
[0083] During a step C5 represented in the figure 1 , a PRED_CO calculation software sub-module, represented in the figure 2 , predicts the current partition PA c , using the optimal coding parameters idx1 , idx2, idx3,... , idxK selected in step C43, with respect to at least one of the causal partitions PA1 r , PA2 r , ..., PAK r .
[0084] At the end of this step, a predicted current partition PAp c is delivered.
[0085] During a step C6 represented in the figure 1, which only takes place for certain selected optimal coding parameters, a second calculation sub-module CAL2_CO, represented in the figure 2 , determines residual data a 1 , a 2 , ...., a L , by comparing the data relating to the current partition PA c to the data relating to the obtained predicted current partition PAp c .
[0086] During a step C7 represented in the figure 1 , the residual data a 1 , a 2 , ...., a L , are sent to a MTQ_CO transform and quantization sub-module represented in figure 2 , to undergo a transform, for example into discrete cosines, then a quantization.
[0087] It is assumed that for the current predicted partition PAp c , M transformed and quantized residual data are obtained at the end of step C7. Such transformed and quantized residual data are denoted for example c 1 , c 2 , ...., c M .
[0088] During a step C8 represented in the figure 1 , the predicted current partition PAp c is then advantageously encoded by inheriting the optimal coding parameters selected in the aforementioned step C43. A data signal F is then delivered at the end of step C8.
[0089] Such encoding is performed by an ENC encoder as shown in figure 2 Such an encoder is, for example, compliant with the H.264 / MPEG-4 AVC standard.
[0090] According to the invention, the data signal F advantageously does not contain the optimal coding parameters selected in step C43 since these parameters are associated with causal partitions already coded then decoded and therefore available to the decoder. It is therefore useless to transmit them in the data signal F which possibly contains: the movement information MV c obtained in the aforementioned step C3, only in the case where the decoder is not capable of recalculating this information itself, a geometric transformation index Id TG as represented in figure 2 , only in the case where a geometric transformation of a causal partition has been carried out at step C21 of the figure 1 , the coded values of the coefficients c 1 , c 2 , ...., c M , if they exist.
[0091] The data signal F is then transmitted by means of a transmission interface (not shown) of the encoder CO, via a communication network, to a remote terminal. The latter comprises a decoder DO as shown in figure 3 .
[0092] The signal F is first sent to an entropy decoding software module DE, the inverse decoding of that carried out by the encoder ENC shown in figure 2. Then, for a current partition to be reconstructed PAi c , the decoded coefficients c 1 , c 2 , ...., cnn, if they exist, are sent to a QTI_DO inverse quantization and inverse transform module which delivers the residual data a 1 , a 2 ,..., a L obtained in the aforementioned coding step C6.
[0093] A TR_DO processing software module, as shown in figure 3 , then implements steps D1 to D5 of the decoding method according to the invention, as represented in figure 4 .
[0094] Such a decoding method according to the invention is also implemented in software or hardware by modifications of a decoder initially compliant with the H.264 / MPEG-4 AVC standard.
[0095] During a first stage D1 represented at the figure 4 ,a movement parameter MV c associated with the current partition to be reconstructed PAi c is determined. Such a movement parameter is for example a movement vector MV c .
[0096] In the case where the data signal F does not contain a motion parameter, a calculation submodule CAL1_DO, as shown in the figure 3 , performs the calculation of said motion vector MV c relating to the motion between the current partition to be reconstructed PA c and a causal partition PAi r .
[0097] In the case where the motion vector MV c is contained in the data signal F, a reading sub-module LC_DO reads this information in the received data signal F.
[0098] During a D2 step represented in the figure 4 ,the causal partition PAi r is determined, which is pointed to by the motion vector MV c read by the reading sub-module LC_DO in the data signal F or calculated by the reading sub-module CAL1_DO. Such a step is implemented by a second calculation sub-module CAL2_DO as shown in figure 3 .
[0099] In the case where the data signal F contains a geometric transformation index Id TG signaling that the causal partition PAi has undergone a geometric transformation at the encoder CO such as a rotation, a symmetry, etc., the following procedure is carried out during a step D21 represented in figure 4 , to a geometric deformation of said causal partition PAi r by applying to the latter the geometric transformation indicated by the index Id TG by means of a geometric transformation software module MTG_DO as represented on the figure 3and which is identical in every way to the geometric transformation software module MTG_CO of the figure 2 At the end of such a step, a transformed causal partition PAti r is obtained.
[0100] During a step D3 represented in the figure 4 , according to the invention, at least one optimal coding parameter associated with said determined causal partition PAi r or with said transformed determined causal partition PAti r is calculated, according to a predetermined coding performance criterion, by placing in competition a plurality of coding parameters associated with said selected causal partition.
[0101] The said coding parameters are of the same type as those mentioned above in the description of the coding method.
[0102] For this purpose, during a sub-step D31 represented in the figure 4 ,the causal partition PAi r determined in the aforementioned step D2 or the transformed causal partition Pati r determined in the aforementioned step D21 is transmitted to a sub-module TEST_DO for testing coding modes which is represented in figure 3 .
[0103] During a sub-step D32 represented in the figure 4 , the TEST_DO submodule calculates the different possible coding modes of the causal partition PAi r or the transformed causal partition PAti r considered.
[0104] Once the different possible coding modes have been tested by the TEST_DO sub-module, during a sub-step D33 represented in figure 4 , a DCN_DO decision sub-module, represented in figure 3 ,selects at least a first type of coding parameter Idx 1 associated with an optimal coding mode, such a selection constituting the optimal prediction according to a predetermined performance criterion which, in the example shown, is the rate distortion criterion well known to those skilled in the art. Such a criterion is expressed by equation (1) below: J = D + λR where D represents the distortion between the original partition and the reconstructed partition, R represents the bit cost of coding the coding parameters and λ represents a Lagrange multiplier.
[0105] According to a particularly advantageous variant from the point of view of reducing the calculation time at the encoder, the predetermined performance criterion depends only on the distortion and is expressed by equation (2) below: J ′ = D .
[0106] A first type of optimal coding parameter obtained at the end of step D33 consists, for example, of the Inter 8x8 prediction mode of the determined causal partition PAi r .
[0107] The above-mentioned steps D2 to D33 are repeated for K-1 other causal partitions that can be determined, which makes it possible to obtain at least K-1 other optimal coding parameters idx2, idx3,...,idxK.
[0108] During a step D4 represented in the figure 4 , a PRED_DO calculation software sub-module, represented in figure 3 ,predicts the current partition PAi c to be reconstructed with respect to at least one causal partition among K causal partitions PA1 r , PA2 r ,..., PAK r already coded then decoded, using the optimal coding parameters idx1,idx2, idx3,...,idxK obtained in step D33 and used as decoding parameter, and, if they exist, the residual data a 1 , a 2 ,...,a L delivered by the inverse quantization and inverse transform module QTI_DO, as represented on the figure 3 .
[0109] At the end of this step, a predicted current partition PAp c is delivered.
[0110] The predicted current partition PAp c is then decoded, during a step D5, by adding to the latter, if they exist, the residual data a 1 , a 2 ,...,a L delivered by the inverse quantization and inverse transform module QTI_DO, as represented on the figure 3 .Such a step is implemented by means of an RI reconstruction sub-module compliant with the H.264 / MPEG-AVC standard.
[0111] Once all the partitions PA1,...,PAn of the image IN have been decoded, the image reconstruction sub-module RI provides, as output from the decoder DO, an image ID N corresponding to the decoding of the image IN. Detailed description of a first embodiment
[0112] A first embodiment will now be described in the case of a coding / decoding method in Intra mode.
[0113] According to the H264 / MPEG-AVC standard, several types of Intra encoding / decoding modes are offered depending on how a common macroblock is partitioned. In the case of 16x16 Intra encoding, the macroblock is considered as a single partition that is predicted against a set of four spatial predictors. In the case of 8x8 or 4x4 Intra encoding, each smaller block is predicted against a set of nine spatial predictors that include the four spatial predictors used in 16x16 Intra encoding.
[0114] Such Intra coding / decoding by competition, as implemented in the H264 / MPEG-AVC standard, is based on the competition of the various aforementioned spatial predictors, with the aim of selecting the best predictor, i.e. the predictor which will optimize the coding of the current partition considered according to a predetermined criterion, for example the bitrate / distortion cost.
[0115] Since there are a large number of such predictors, the flow of competition information induced by these multiple predictors is thereby increased. Thus, it is currently avoided to extend the competition to new Intra predictors which could nevertheless prove to optimize the Intra prediction.
[0116] The invention proposes to apply the coding and decoding steps as described above in the context of coding / decoding in Intra mode, without being particularly limited to the number of spatial predictors already envisaged in the H264 / MPEG-AVC standard, and by applying the competition to the number of new Intra predictors likely to be proposed in the future.
[0117] As in the example shown in the figure 2 ,the current macroblock MBc of the current image IN is divided during the aforementioned step C1 into sixteen partitions PA1, PA2,..., PA16. Said partitions obtained have for example all the shape of a square block and are all of the same size. The macroblock MBc thus divided is represented in Figure 5A . For the sake of clarity of the drawing, only partitions PA4, PA8, PA12, PA13 and PA16 are shown.
[0118] During a following step which combines the aforementioned steps C2 and C4 as represented in the figure 1 , for each of the partitions PA1 to PA16, at least one causal macroblock containing a plurality K of available causal partitions PA1 r , PA2 r ,..., PAi r , ... PAK r , (1≤i≤K) is selected.
[0119] In the example shown in the Figure 5A ,such a selection is carried out in accordance with a correlation criterion of prediction modes between the current partitions to be predicted of the current macroblock MBc and the causal partitions of a causal macroblock forming part of a number E of available causal macroblocks MB1 r , MB2 r ,...,MBj r ,...MBE r , where 1≤j≤E. For the sake of clarity of the drawing, only the causal macroblocks MB1 r , MB2 r and MBj r are represented, the remaining causal macroblocks being represented schematically by hatched lines.
[0120] To this end, the following steps are taken: to the calculation of the optimal spatial predictors for each of the partitions of the current macroblock MBc considered, to the calculation of the optimal spatial predictors for each of the partitions of a causal macroblock considered.
[0121] At the end of the calculation, the optimal spatial predictors relating to each of the current partitions PA1 to PA16 of the current macroblock MBc are respectively H, H, V, DC, H, V, Vleft, Vleft, Hup, V, V, DC, H, Vleft, DC, DC.
[0122] In reference to the figure 6 , The predictors of type H, V, DC, Vleft and Hup correspond respectively to five possible directions, among the nine possible prediction directions in Intra coding mode, with respect to which a current partition can be predicted with respect to a causal partition contained in the same image. These five directions classically include: the horizontal direction, noted H, the vertical direction, noted V, the direction constituted by the average of the two previous directions, noted DC, a first diagonal direction, noted V left, a second diagonal direction, noted Hup.
[0123] As can be seen on the Figure 5A ,the causal macroblock for which the calculated optimal spatial predictors are most similar to those calculated relative to the current macroblock MB c is the first causal macroblock MB1 r . It is therefore this causal macroblock MB1 r which is selected.
[0124] The causal macroblock MB1 r obtained according to the mode correlation criterion is better chosen than in the case of a classic block matching, since the correlation between the current macroblock MBc and the causal macroblocks is taken into account, predictor by predictor. On the other hand, in the case of a classic block matching, the spatial predictors of the selected causal macroblock may turn out to be different from the optimal predictors actually calculated for said causal macroblock, which significantly harms the accuracy of the selection of this causal macroblock.
[0125] Furthermore, the aforementioned step C3 is carried out to calculate the motion vector MVc between the current macroblock MBc and the causal macroblock MB1 r .
[0126] Each of the current partitions PA1 to PA16 of the current macroblock MBc is then predicted during the aforementioned step C5, using the optimal predictors calculated respectively for each of the partitions of the causal macroblock MB1 r .
[0127] The aforementioned steps C6 to C8 are then implemented so as to code the current macroblock MBc.
[0128] The data signal F transmitted to the decoder DO at the end of step C8 possibly contains the motion vector MVc and the residual data if they exist. On the other hand, the data signal F advantageously does not contain the optimal predictor(s) of the causal macroblock(s) which were calculated in the aforementioned step C4, since these predictors are associated with macroblocks already coded then decoded and therefore can be determined independently by the decoder DO.
[0129] In reference to the figure 4 , the aforementioned decoding step D1 is then applied to the coded data signal F so as to decode the motion vector MVc calculated in step C3.
[0130] The causal macroblock MB1 r pointed to by the motion vector MVc is then determined during the aforementioned decoding step D2.
[0131] The optimal predictors are then calculated for each of the partitions of the causal macroblock MB1 r by implementing the aforementioned step D3. According to the first embodiment, these are the spatial predictors H, H, V, DC, H, V, Vleft, Vleft, Hup, V, V, DC, H, Vleft, DC, DC associated respectively with the partitions PA1 r to PA16 r of the causal macroblock MB1 r.
[0132] During the aforementioned step D4, the current macroblock MB c to be reconstructed is predicted with respect to the causal macroblock MB1 r , using the optimal spatial predictors H, H, V, DC, H, V, Vleft, Vleft, Hup, V, V, DC, H, Vleft, DC, DC.
[0133] At the end of this step, a predicted current macroblock MBp c is delivered.
[0134] During the aforementioned step D5, the current predicted macroblock MBpc is then reconstructed.
[0135] The invention is of course not limited to the fact that the causal macroblock(s) are systematically selected in the current image IN.
[0136] In reference to the Figure 5B which illustrates a variant of the embodiment of the Figure 5A , the causal macroblock MB1 r is located in a previously coded / decoded image and not in the current image IN . Such a previously coded / decoded image is for example the image I N-1 which immediately precedes the current image IN .
[0137] According to such a variant, the coding / decoding steps described above with reference to the Figure 5A are reproduced identically with the causal macroblock MB1 r selected in image I N-1 and, for this reason, will not be described further. Detailed description of a second embodiment
[0138] A second embodiment will now be described in the case of a coding / decoding method in which an iterative method of compressed sampling (in English "compressed sensing") is applied. Such a method is conventional and is for example described in the document TT Do, Xiaoan Lu, and J. Sole. "Compressive sensing with adaptive pixel domain reconstruction for block-based video coding". Proceedings of 2010 IEEE 17th International Conference on Image Processing, pages 3377-3380, 2010.
[0139] This method allows to delete several transformed and quantized residual coefficients and then to reconstruct the corresponding current partition in an efficient manner. To be very efficient, such a method however requires a large number of parameters. The reduced signaling cost, as advantageously obtained by the method thanks to the deletion of the aforementioned coefficients, is thus increased unfavorably, due to the obligation to add this large number of parameters in the data signal to be transmitted to the decoder. Such an increase in cost therefore harms the interest of such a method.
[0140] The parameters used by this method are: subsampling parameters, acquisition operators, such as the type of transform: DCT, wavelets, etc., reconstruction operators, parameters used by the reconstruction algorithm.
[0141] The present invention advantageously makes it possible to apply this iterative method without impacting the cost of signaling such parameters, since the latter are advantageously not transmitted in the data signal to the decoder.
[0142] As in the example shown in the figure 2 , the current macroblock MBc of the current image IN is divided during the aforementioned step C1 into sixteen partitions PA1, PA2,..., PA16. Said partitions obtained have for example all the shape of a square block and are all of the same size. The macroblock MBc thus divided is for example identical to that represented in Figure 5A .
[0143] During the aforementioned step C2 as shown in figure 1 ,for each of the partitions PA1 to PA16, at least one causal macroblock containing a plurality K of available causal partitions PA1 r , PA2 r ,..., PAi r ,...PAK r , (1≤i≤K) is selected.
[0144] In the example shown, such a selection is made in accordance with a classic block matching criterion. The macroblock thus selected is, for example, the macroblock MBj r shown in the Figure 5A .
[0145] Alternatively, such a selection is made according to a modified block matching criterion. This criterion consists of selecting the causal macroblock whose transformed residual data are closest to the transformed residual data of the current macroblock MBc.
[0146] During the aforementioned step C3 as shown figure 1 ,the motion vector MV'c is calculated between the current macroblock MBc and the causal macroblock MBj r . The motion vector MV'c is represented on the Figure 5A .
[0147] During the aforementioned step C4 as shown figure 1 , one or more optimal coding parameters are calculated relative to the causal macroblock MBj r .
[0148] To this end, for each of the partitions of the selected causal macroblock MBj r , a competition is carried out, according to the aforementioned rate-distortion criterion J or J', of the weighting coefficients, the sub-sampling parameters, the acquisition operators, the reconstruction operators or a combination of these elements, so as to determine at least one optimal coding parameter among these elements.
[0149] At the end of step C4, it is for example a sub-sampling parameter which is considered as optimizing the coding of each of the causal partitions of the selected causal macroblock MBj r .
[0150] Each of the current partitions PA1 to PA16 of the current macroblock MBc is then predicted during the aforementioned step C5. At the end of this step, a predicted current macroblock MBp c is delivered.
[0151] During the aforementioned step C6 as shown in figure 1 , the residual data a 1 , a 2 , ...., a L are determined by comparing the data relating to the current macroblock MB c with the data relating to the current predicted macroblock obtained MBp c .
[0152] During the aforementioned step C7 as shown in figure 1 , the residual data a 1 , a 2 , ...., a L , are transformed then quantified so as to obtain coefficients c 1 , c 2 , ...., cnn.
[0153] According to the second embodiment, following step C7, only some of the coefficients c 1 , c 2 , ...., cnn are retained following a sub-sampling (not shown) of the latter using said optimal sub-sampling parameter determined in step C4.
[0154] The aforementioned step C8 as shown in figure 1 is then implemented to encode the current macroblock MBc.
[0155] The data signal F transmitted to the decoder DO at the end of step C8 possibly contains the motion vector MV'c if the decoder DO is not capable of recalculating it independently and, according to the second embodiment, the residual data calculated in step C6. On the other hand, the data signal F advantageously does not contain the sub-sampling parameter which was determined in the aforementioned step C4, since this parameter is associated with the causal macroblock MBj r already coded then decoded and, therefore, can be determined independently by the decoder DO.
[0156] In reference to the figure 4 , the aforementioned decoding step D1 is then applied to the coded data signal F so as to decode the motion vector MV'c calculated in step C3.
[0157] The causal macroblock MBj r pointed to by the motion vector MV'c is then determined during the aforementioned decoding step D2.
[0158] The optimal coding parameters are then calculated for each of the partitions of the causal macroblock MBj r by implementing the aforementioned step D3. According to the second embodiment, this calculation step delivers an optimal sub-sampling parameter for each of the causal partitions of the causal macroblock MBj r .
[0159] During the aforementioned step D4, each of the current partitions PA1 to PA16 of the current macroblock MBc to be reconstructed are predicted in a conventional manner in order to deliver a predicted current macroblock MBp c .
[0160] During the aforementioned step D5, the predicted current macroblock MBpc is then reconstructed by adding to the predicted current macroblock MBpc, residual data transmitted in the data signal F, and by sub-sampling the coefficients c 1 , c 2 , ...., cm, resulting from the transformation and quantification of said residual data, using the optimal sub-sampling parameter calculated in step D3. Detailed description of a third embodiment
[0161] A third embodiment will now be described in the case of a coding / decoding method to which an Intra or Inter type prediction is applied as described in the first embodiment and an iterative compressed sampling method as described in the second embodiment.
[0162] Such an embodiment thus makes it possible to obtain at least two optimal coding parameters resulting respectively from the implementation of the first and second embodiments. Such an arrangement makes it possible to code a current macroblock more finely, since two optimal parameters of different types come into play, instead of just one.
[0163] It is assumed that according to the first embodiment, the prediction is of the Intra type.
[0164] As in the example shown in the figure 2 , the current macroblock MBc of the current image IN is divided during the aforementioned step C1 into sixteen partitions PA1, PA2,..., PA16. Said partitions obtained have for example all the shape of a square block and are all of the same size. The macroblock MBc thus divided is represented in figure 7 . For the sake of clarity of the drawing, only partitions PA4, PA8, PA12, PA13 and PA16 are shown.
[0165] As in the first embodiment, during steps C2 and C4, for each of the partitions PA1 to PA16 of the current macroblock MBc, at least one causal macroblock containing a plurality K of available causal partitions PA1 r , PA2 r ,..., PAi r ,... PAK r , (1≤i≤K) is selected.
[0166] In the example shown in the figure 7 , such a selection is carried out in the same way as in the first embodiment, i.e. in accordance with a correlation criterion of prediction modes between the current partitions to be predicted of the current macroblock MBc and the causal partitions of a causal macroblock forming part of a number E of available causal macroblocks MB1 r , MB2 r ,... ,MBj r ,... MBE r , where 1≤j≤E. For the sake of clarity of the drawing, only the causal macroblocks MB1 r , MB3 r and MBj r are represented, the remaining causal macroblocks being represented schematically by hatched lines.
[0167] To this end, the following procedure is therefore followed: to the calculation of the optimal spatial predictors for each of the partitions of the current macroblock MBc considered, to the calculation of the optimal spatial predictors for each of the partitions of a causal macroblock considered.
[0168] At the end of the calculation, the optimal spatial predictors relating to each of the current partitions PA1 to PA16 of the current macroblock MBc are respectively H, H, V, DC, H, V, Vleft, Vleft, Hup, V, V, DC, H, Vleft, DC, DC.
[0169] As can be seen on the figure 7 , the causal macroblock for which the calculated optimal spatial predictors are most similar to those calculated relative to the current macroblock MB c is the first causal macroblock MB1 r . It is therefore this causal macroblock MB1 r which is selected.
[0170] Furthermore, the aforementioned step C3 is carried out to calculate the motion vector MV1c between the current macroblock MBc and the causal macroblock MB1 r .
[0171] In parallel, steps C2 to C4 as described above in connection with the second embodiment are implemented so as to obtain, for a causal macroblock considered, optimal compressed sampling parameters.
[0172] During the aforementioned step C2, for each of the partitions PA1 to PA16 of the current macroblock MBc, at least one causal macroblock containing a plurality K of available causal partitions PA1 r , PA2 r ,..., PAi r ,...PAK r , (1≤i≤K) is selected.
[0173] In the example shown in the figure 7 , such a selection is made according to a classic block matching criterion. The selected causal macroblock is for example the macroblock MB3 r .
[0174] Alternatively, such selection is made in accordance with a modified block matching criterion.
[0175] During the aforementioned step C3, a motion vector MV2c is calculated between the current macroblock MBc and the causal macroblock MB3 r which has just been selected in step C2.
[0176] During step C4, one or more optimal coding parameters are calculated relative to the selected causal macroblock MB3 r .
[0177] To this end, for each of the partitions of the selected causal macroblock, a competition is carried out, according to the aforementioned rate-distortion criterion J or J', of the weighting coefficients, the sub-sampling parameters, the acquisition operators, the reconstruction operators or a combination of these elements, so as to determine at least one optimal coding parameter among these elements.
[0178] At the end of step C4, for example, a sub-sampling parameter is considered to optimize the coding of the selected causal macroblock MB3 r .
[0179] Each of the current partitions PA1 to PA16 of the current macroblock MBc is then predicted during the aforementioned step C5, using the optimal predictors calculated respectively for each of the partitions of the causal macroblock MB1 r and also with respect to each of the partitions of the causal macroblock MB3 r .
[0180] During the aforementioned step C6, the residual data a 1 , a 2 , ...., a L are determined by comparing the data relating to the current macroblock MB c with the data relating to the predicted current macroblock obtained MBp c .
[0181] During the aforementioned step C7, the residual data a 1 , a 2 , ...., a L , are transformed then quantified so as to obtain coefficients C1, C2, ...., CM.
[0182] According to the third embodiment, following step C7, only some of the coefficients c 1 , c 2 , ...., cnn are retained following a sub-sampling (not shown) of the latter using said optimal sub-sampling parameter determined in step C4.
[0183] The aforementioned step C8 is then implemented so as to code the current macroblock MBc.
[0184] The data signal F transmitted to the decoder DO at the end of step C8 possibly contains the motion vectors MV1c and MV2c calculated in the aforementioned step C3, if the decoder DO is not capable of recalculating them independently, as well as the residual data calculated in step C6. On the other hand, the data signal F advantageously does not contain the spatial predictors and the sub-sampling parameter which were determined in the aforementioned step C4, since the latter are associated with the causal macroblocks MB1 r and MB3 r already coded then decoded and, therefore, can be determined independently by the decoder DO.
[0185] During the aforementioned decoding step D1, the motion vectors MV1 c and MV2c calculated in step C3 are decoded.
[0186] The causal macroblocks MB1 r and MB3 r pointed respectively by the motion vectors MV1c and MV2c are then determined during the aforementioned decoding step D2.
[0187] During the aforementioned step D3, the optimal predictors H, H, V, DC, H, V, Vleft, Vleft, Hup, V, V, DC, H, Vleft, DC, DC associated respectively with the partitions PA1 r to PA16 r of the causal macroblock MB1 r are then calculated. During this same step, the optimal subsampling parameter is calculated for each of the causal partitions of the causal macroblock MBj r .
[0188] During the aforementioned step D4, the current macroblock MB c to be reconstructed is predicted: on the one hand with respect to the causal macroblock MB1 r , using the optimal spatial predictors H, H, V, DC, H, V, Vleft, Vleft, Hup, V, V, DC, H, Vleft, DC, DC, and, on the other hand, with respect to the causal macroblock MB3 r .
[0189] At the end of this step, a predicted current macroblock MBp c is delivered.
[0190] During the aforementioned step D5, the predicted current macroblock MBpc is then reconstructed by adding, to the predicted current macroblock MBpc, the residual data transmitted in the data signal F, and by sub-sampling the coefficients c 1 , c 2 , ...., cm, resulting from the transformation and quantification of said residual data, using the optimal sub-sampling parameter calculated in step D3.
[0191] It goes without saying that the embodiments described above have been given for purely indicative purposes and are in no way limiting, and that numerous modifications can easily be made by those skilled in the art without departing from the scope of the invention, which is defined by the appended claims.
Claims
1. Method for encoding at least one image (IN) divided into partitions (PA1, PA2, ..., PAn), characterized in that it implements, for a current partition (PAc) to be encoded, steps of: - selecting (C2) at least one causal partition (PAir, Patir) already encoded then decoded, said at least one causal partition being found in an image decoded prior to said image; - computing (C4) at least one optimal encoding parameter of said at least one selected causal partition, in order to optimize a predetermined encoding-performance criterion of an encoding of the causal partition, via competition between a plurality of encoding parameters applied to said at least one selected causal partition; - encoding (C8) the current partition using said at least one computed optimal encoding parameter of said at least one selected causal partition.
2. Encoding method according to Claim 1, wherein said causal-partition-selecting step consists in: - determining a plurality of causal partitions, - computing at least one optimal encoding parameter associated with each of said causal partitions according to said predetermined encoding-performance criterion, - computing at least one optimal encoding parameter associated with said current partition according to said predetermined encoding-performance criterion, - comparing the optimal encoding parameter computed in association with said current partition with each of the optimal encoding parameters respectively computed in association with each of said causal partitions, - selecting the causal partition the optimal encoding parameter of which has the value closest to the value of the optimal encoding parameter of said current partition.
3. Encoding method according to Claim 1, wherein said causal-partition-selecting step consists in: - determining a plurality of causal partitions; - selecting the causal partition closest said current partition by block matching.
4. Encoding method according to one of the preceding claims, wherein said selected causal partition (Patir) results from a prior geometric transformation, said method comprising a step of encoding an index associated with said transformation.
5. Device (CO) for encoding at least one image divided into partitions, characterized in that it comprises, for a current partition to be encoded: - means (APP_CO) for selecting at least one causal partition already encoded then decoded, said at least one causal partition being found in an image decoded prior to said image; - processing means (TR_CO) able to compute at least one optimal encoding parameter in order to optimize a predetermined encoding-performance criterion of an encoding of the causal partition, via competition between a plurality of encoding parameters applied to said at least one selected causal partition; - means (ENC) for encoding the current partition using said at least one computed optimal encoding parameter of said at least one selected causal partition.
6. Computer program comprising instructions for implementing the encoding method according to any one of Claims 1 to 4, when it is executed on a computer.
7. Computer-readable storage medium on which is stored a computer program comprising instructions for executing the steps of the encoding method according to any one of Claims 1 to 4, when said program is executed by a computer.
8. Method for decoding a data signal representing at least one image (IN) divided into partitions comprising at least one causal partition already encoded then decoded, characterized in that it implements, for at least one current partition to be reconstructed in said image, steps of: - determining (D2) at least one causal partition from at least one motion parameter associated with said current partition to be reconstructed, said at least one causal partition being found in an image decoded prior to said image; - making a plurality of encoding parameters applied to said determined causal partition compete (D32) in order to determine at least one optimal encoding parameter that optimizes a predetermined encoding-performance criterion of an encoding of the causal partition; - reconstructing (D5) said current partition using said at least one determined optimal encoding parameter of said at least one causal partition, which parameter is used as decoding parameter of said current partition.
9. Decoding method according to Claim 8, wherein said motion parameter is determined by computation or indeed by reading it from said data signal.
10. Decoding method according to Claim 8, wherein the current partition is reconstructed using at least two optimal encoding parameters of different type that are used as decoding parameters of said current partition.
11. Decoding method according to Claim 8, wherein the encoding-performance criterion is selected from at least one criterion belonging to the group comprising: - a rate-distortion criterion, where the rate is computed by simulation, - a distortion criterion.
12. Decoding method according to Claim 8, wherein said causal partition results from a prior geometric transformation, said transformation being determined by reading, from said signal, an index relating to said geometric transformation.
13. Device (DO) for decoding a data signal representing at least one image divided into partitions comprising at least one causal partition already encoded then decoded, characterized in that it comprises, for at least one current partition to be reconstructed in said image: - means (CAL2_DO) for determining at least one causal partition from at least one motion parameter associated with said current partition to be reconstructed, said at least one causal partition being found in an image decoded prior to said image; - means (TEST_DO) for making a plurality of encoding parameters applied to said at least one determined causal partition compete in order to determine at least one optimal encoding parameter that optimizes a predetermined encoding-performance criterion of an encoding of the causal partition; - means (DCN_DO) for determining at least one optimal encoding parameter in order to optimize a predetermined encoding-performance criterion of said second operation of encoding said causal partition; - means (RI) for reconstructing said current partition using said at least one determined optimal encoding parameter of said at least one causal partition, which parameter is used as decoding parameter of said current partition.
14. Computer program comprising instructions for implementing the decoding method according to any one of Claims 8 to 12 when it is executed on a computer.
15. Computer-readable storage medium on which is stored a computer program comprising instructions for executing the steps of the decoding method according to any one of Claims 8 to 12, when said program is executed by a computer.
