Extracting edges with CANNY operator