Merge branch 'master' of https://git.herisson.ovh/Darkan/image_python.git
This commit is contained in:
commit
85f7a85e1c
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)
|
Jx = convolution(img, mat_x)
|
||||||
Jy = convolution(img, mat_y)
|
Jy = convolution(img, mat_y)
|
||||||
normGrad = liste_normGrad(Jx, Jy)
|
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