Commit 64ae7b88 authored by Tomaš Vank's avatar Tomaš Vank
Browse files

Update Task3.py

parent 91c3fca9
......@@ -6,7 +6,7 @@ from termcolor import colored
def maximum_Filter(img):
threshold = np.max(img) / 1.4
img_max = ndi.maximum_filter(img, size=3, mode='nearest')#meni na podobne hodnoty
img_max = ndi.maximum_filter(img, size=3, mode='nearest')
img_t = img > threshold
return img_t,img_max,threshold
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment