Skip to content
Snippets Groups Projects
Commit 8601e82a authored by LexvanGastel's avatar LexvanGastel
Browse files

Vraag 26 goede versie

parent 1a803371
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ class ImageProcessor:
return red_mask, yellow_mask, green_mask
def detect_blobs(mask, min_sigma=5, max_sigma=30, num_sigma = 10, threshold=0.2):
def detect_blobs(mask, min_sigma=25, max_sigma=50, num_sigma = 10, threshold=0.2):
mask = mask.astype(np.float64) / 255.0
#print('mask made')
blobs = blob_log(mask, min_sigma=min_sigma, max_sigma=max_sigma, num_sigma=num_sigma, threshold=threshold)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment