A method of coding a multidimensional digital signal (IO, LL 0) comprising a plurality of original samples, to form a coded stream, the method comprising: - a step of filtering original samples by applying at least one first filter (F, G) along a first geometric orientation, to obtain filtered samples (L 1, H 1, LL 1, LH 1, HL 1, HH 1) and - a step of coding at least some of said filtered samples to obtain corresponding coded filtered samples adapted to be decoded by a decoder into decoded filtered samples, the method further comprising the following steps: - applying a lossy modification to the filtered samples to obtain modified samples (L 1dec, H 1dec, LL 1dec, LH 1dec, HL 1dec, HH 1dec); - determining (E110, E130, E150), among a plurality of second geometric orientations, at least one geometric orientation of one second filter (F', G') to be applied by the decoder to at least one decoded filtered sample, wherein the determining minimizes a criterion relating to distortion between the original samples and the modified samples filtered using the second geometric orientations, and - providing said determined geometric orientations (DL 1F', DL 1G', DH 1F', DH 1G', DLL 0F', DLL 0G') and said coded filtered samples to the decoder; the method being characterized in that the determining is independent from the first geometric orientation used for filtering the original samples. - a step of filtering original samples by applying at least one first filter (F, G) along a first geometric orientation, to obtain filtered samples (L 1, H 1, LL 1, LH 1, HL 1, HH 1) and - a step of coding at least some of said filtered samples to obtain corresponding coded filtered samples adapted to be decoded by a decoder into decoded filtered samples, the method further comprising the following steps: - applying a lossy modification to the filtered samples to obtain modified samples (L 1dec, H 1dec, LL 1dec, LH 1dec, HL 1dec, HH 1dec); - determining (E110, E130, E150), among a plurality of second geometric orientations, at least one geometric orientation of one second filter (F', G') to be applied by the decoder to at least one decoded filtered sample, wherein the determining minimizes a criterion relating to distortion between the original samples and the modified samples filtered using the second geometric orientations, and - providing said determined geometric orientations (DL 1F', DL 1G', DH 1F', DH 1G', DLL 0F', DLL 0G') and said coded filtered samples to the decoder; the method being characterized in that the determining is independent from the first geometric orientation used for filtering the original samples. - applying a lossy modification to the filtered samples to obtain modified samples (L 1dec, H 1dec, LL 1dec, LH 1dec, HL 1dec, HH 1dec); - determining (E110, E130, E150), among a plurality of second geometric orientations, at least one geometric orientation of one second filter (F', G') to be applied by the decoder to at least one decoded filtered sample, wherein the determining minimizes a criterion relating to distortion between the original samples and the modified samples filtered using the second geometric orientations, and - providing said determined geometric orientations (DL 1F', DL 1G', DH 1F', DH 1G', DLL 0F', DLL 0G') and said coded filtered samples to the decoder; the method being characterized in that the determining is independent from the first geometric orientation used for filtering the original samples.