Minimum-Maximum filter.