Partie bugger mise en comment
This commit is contained in:
parent
8c64e5215b
commit
1a2ee693eb
@ -235,7 +235,7 @@ def delete_pixel(mat_img, mat):
|
|||||||
return img_to_return
|
return img_to_return
|
||||||
|
|
||||||
|
|
||||||
|
"""
|
||||||
def hysteresis(mat_img, mat_norm, Th):
|
def hysteresis(mat_img, mat_norm, Th):
|
||||||
Tl = Th / 2
|
Tl = Th / 2
|
||||||
mat_img = yesOrNo(mat_img, Th, Tl)
|
mat_img = yesOrNo(mat_img, Th, Tl)
|
||||||
@ -291,3 +291,4 @@ zt_no_maxima = delete_pixel(img, normGrad)
|
|||||||
zt_hysteresis = hysteresis(zt_no_maxima, normGrad, 200)
|
zt_hysteresis = hysteresis(zt_no_maxima, normGrad, 200)
|
||||||
|
|
||||||
um.save(zt_hysteresis, "imageEngine\\test\\valve", "png")
|
um.save(zt_hysteresis, "imageEngine\\test\\valve", "png")
|
||||||
|
"""
|
Loading…
Reference in New Issue
Block a user