Made an edge detector which utilises the canny edge detection method. Higher the threshold, lesser will be the noise.