1. Method of filtering a disparity mesh obtained from pixel images, the disparity mesh comprising a plurality of points, each point being associated with values of two planar coordinates and a disparity value, the values being quantization pitches, wherein the method comprises filtering planes by filtering 2D-lines in 2D-spaces of the planar coordinates and the disparity, said filtering being implemented by a processor and comprising, for the 2D-lines in the 2D-spaces: detecting, by said processor, a 2D-line with at least two neighbour points, iterative, determining, by said processor, line points of the detected 2D-line and adapting the 2D-line, an examined point being determined as a line point of the 2D-line if an absolute difference of the disparity between the examined point and a pre-determined line point is less than or equal to one quantization pitch and if its distance from the 2D-line is lower or equal to a threshold, and modifying, by said processor, the line points to 2D-line locations of said 2D-line.