do smoothing before canny detection.