From 84bd63c95b6acf00cca24df007e474ab6b3225b4 Mon Sep 17 00:00:00 2001 From: Michael Krayer Date: Mon, 9 Aug 2021 16:37:13 +0200 Subject: [PATCH] bugfix: type --- field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/field.py b/field.py index a1ce320..5b053e1 100644 --- a/field.py +++ b/field.py @@ -746,7 +746,7 @@ class Features3d: # dilated to ensure that we get proper values for the cell vertex interpolation. t = time() # labels_ = ndimage.grey_dilation(self.binary._labels,size=(3,3,3),mode='wrap') - labels_ = ndimage.ndimage.maximum_filter(self.binary._labels,size=(3,3,3),mode='wrap') + labels_ = ndimage.maximum_filter(self.binary._labels,size=(3,3,3),mode='wrap') print('DILATION:',time()-t) # Labels are interpolated on points, and then the first point of each cell determines # the value for this cell. This allows us to skip cell center computation and reduce