I think in scikit-image, we prefer to use threshold instead of thresh. You may make this paramter optional.