Newer
Older
import skimage.morphology as mp_
data_path = "./DIO_6H_6_1.70bis_2.2_3.tif"
with_plot = False
soma_low_c = 0.15
soma_high_c = 0.7126
ext_low_c = 0.2 # 0.02 # 0.2 # ext_low_c = 9.0e-4
ext_high_c = 0.6 # 0.04 # 0.6 # high_ext = 8.0e-3
soma_selem_c = mp_.disk(2)
max_straight_sq_dist_c = 30 ** 2
max_weighted_length_c = 20.0
min_area_c = 1000