Amould commited on
Commit
292dd74
·
1 Parent(s): 63c8324

Update codes.py

Browse files
Files changed (1) hide show
  1. codes.py +1 -1
codes.py CHANGED
@@ -97,7 +97,7 @@ def make_foreground_mask(tokens, standard_array, grid_size, background_threshold
97
  mask = binary_closing(mask)
98
  return mask.flatten()
99
 
100
- def render_patch_pca3(tokens, standard_array, smaller_edge_size = 448,background_threshold = 0.05,
101
  apply_opening = False, apply_closing = False):
102
  mask = make_foreground_mask(tokens, standard_array, grid_size,
103
  background_threshold = 0,apply_opening=True, apply_closing=True)
 
97
  mask = binary_closing(mask)
98
  return mask.flatten()
99
 
100
+ def render_patch_pca3(tokens, standard_array,grid_size, smaller_edge_size = 448,background_threshold = 0.05,
101
  apply_opening = False, apply_closing = False):
102
  mask = make_foreground_mask(tokens, standard_array, grid_size,
103
  background_threshold = 0,apply_opening=True, apply_closing=True)