Skip to content

Commit

Permalink
small change when FILTER_VALUE >1
Browse files Browse the repository at this point in the history
  • Loading branch information
ebgoldstein committed Oct 20, 2022
1 parent c9b3f9d commit 1ccde41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make_nd_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def read_seg_dataset_multiclass(example):
l = remove_small_objects(lstack[:,:,kk].astype('uint8')>0, np.pi*(FILTER_VALUE**2))
l = remove_small_holes(lstack[:,:,kk].astype('uint8')>0, np.pi*(FILTER_VALUE**2))
lstack[:,:,kk] = np.round(l).astype(np.uint8)
del l
#del l

datadict={}
datadict['arr_0'] = im.astype(np.uint8)
Expand Down

0 comments on commit 1ccde41

Please sign in to comment.