Merge to one edge detector