porespy icon indicating copy to clipboard operation
porespy copied to clipboard

Pass distance transform as argument into `_estimate_overlap`

Open mkaguer opened this issue 2 years ago • 0 comments

The distance transform is useful in network extraction algs and therefore often needs to be computed anyway. Why not pass dt into _estimate_overlap instead of calculating it twice? I propose having argument dt and if not None then the overlap is calculated using the distance transform.

See the code I am referring to here

mkaguer avatar Oct 03 '22 15:10 mkaguer