Many changement

This commit is contained in:
Andy K 2022-11-05 21:19:38 +01:00
parent b47d27f802
commit 894f50330c
4 changed files with 11 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -161,4 +161,14 @@ def filtre_canny(img):
Jx = convolution(img, mat_x)
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")