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