edge-filter improved