Edge Detection Improvement.