Skip to content

Commit

Permalink
better default gaussian threshold...
Browse files Browse the repository at this point in the history
  • Loading branch information
bbarad committed May 9, 2023
1 parent 5486ab4 commit 630dab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qvox/morphology.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def shrink(quantized_array: np.ndarray, binary_structure: Optional[np.ndarray] =
return recombined_array


def gaussian_smooth(quantized_array: np.ndarray, sigma: float = 1.0, threshold: float = 0.001) -> np.ndarray:
def gaussian_smooth(quantized_array: np.ndarray, sigma: float = 1.0, threshold: float = 0.5) -> np.ndarray:
"""
Smooths the individual components of a numpy array of integer labels while maintaining integer-ness.
Expand Down

0 comments on commit 630dab1

Please sign in to comment.