We propose a 2D generalization to the midpoint-based empirical mode decomposition algorithm (MBEMD). Unlike with the regular bidimensional empirical mode decomposition algorithm (BEMD), we do not interpolate the upper and lower envelopes, but rather directly find the mean envelope, utilizing well defined points between two extrema of different kind (midpoints). This approach has several advantages such as improved spectral selectivity and better time performance over the regular BEMD process. The MBEMD algorithm is then applied to the task of the interferometric fringe pattern analysis, to identify its distinct components. This allows to separate the oscillatory pattern component, which is of interest, from the background, noise and possibly other spurious interferometric patterns. In result, the phase demodulation error is reduced. Flexibility of the adaptive method allows for processing correlation fringe patterns met in the digital speckle pattern interferometry as well as the regular interferometric fringe patterns without any special tuning of the algorithm. fringe pattern analysis, background estimation, fringe pattern processing, image decomposition, midpoints, digital speckle pattern interferometry, DSPI