Many changement
This commit is contained in:
parent
b47d27f802
commit
894f50330c
BIN
imageEngine/__pycache__/umage.cpython-311.pyc
Normal file
BIN
imageEngine/__pycache__/umage.cpython-311.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user