This commit is contained in:
Andy K 2022-11-05 21:21:36 +01:00
commit 85f7a85e1c
4 changed files with 11 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -162,3 +162,13 @@ def filtre_canny(img):
Jy = convolution(img, mat_y)
normGrad = liste_normGrad(Jx, Jy)
image = um.load("my_images\\Zero_Two_1.jpeg")
mat_gauss = [
[2, 4, 5, 4,2],
[4, 9,12, 9,4],
[5,12,15,12,5],
[4, 9,12, 9,4],
[2, 4, 5, 4,2]
]
image = convolution_gauss(image, mat_gauss)
um.save(image, "test\\zero_two", "png")