Add: approximate version of the progressive morphological filter

This version is closer to the original paper and significantly faster,
computing the morphological operations on a 2D grid.