We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a10a9 commit 8e8c25dCopy full SHA for 8e8c25d
synaptic_reconstruction/imod/to_imod.py
@@ -137,7 +137,7 @@ def coords_and_rads(prop):
137
138
if estimate_radius_2d:
139
if resolution:
140
- dists = np.array([distance_transform_edt(ma, sampling=resolution) for ma in mask])
+ dists = np.array([distance_transform_edt(ma, sampling=resolution[1:]) for ma in mask])
141
else:
142
dists = np.array([distance_transform_edt(ma) for ma in mask])
143
0 commit comments