saving image from canny edge detector