tomo_encoders.labeling.detect_voids
Functions:
calc_patch_size(base_size, multiplier)
calc_patch_size
export_voids(vol_seg, n_max_detect[, TIMEIT])
export_voids
to_regular_grid(sub_vols, p3d, ...)
to_regular_grid
select patches where voids exist (2) rescale to upsample_value
upsample_sub_vols(sub_vols, upsampling_fac)
upsample_sub_vols
all sub-volumes must have same shape.
all sub-volumes must have same shape. upsampling_factor applies to all 3 dimensions equally.
to-do: split into chunks, and try higher-order