Skip to content

Commit

Permalink
Update muscle_adipose_tissue.py (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
louisblankemeier authored Nov 1, 2023
1 parent 511ae55 commit 470f4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comp2comp/muscle_adipose_tissue/muscle_adipose_tissue.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ def _fill_holes(self, mask: np.ndarray, mask_id: int):
# Larger threshold for SAT
# TODO make this configurable / parameter
if mask_id == 2:
min_size = 200
min_size = 50
else:
# min_size = 50 # Smaller threshold for everything else
min_size = 20
min_size = 5
img_out = np.ones_like(mask)
for i in range(0, components):
if sizes[i] > min_size:
Expand Down

0 comments on commit 470f4c4

Please sign in to comment.