8 connectivity in canny