Initial checkin for local min/max filter