neuralib.imglib.norm.get_percentile_value
- neuralib.imglib.norm.get_percentile_value(im, perc_interval=(10, 100))[source]
Get the central distribution boundary value for imaging enhancement by changing the scaling of array.
- Parameters:
im (ndarray) – image array
perc_interval (tuple[float, float]) – percentile
- Returns:
lower_bound and upper_bound based on value distribution
- Return type:
tuple[float, float]