basic helper functions to show images
applied canny to detect edges