bugfix: type

This commit is contained in:
Michael Krayer 2021-08-09 16:37:13 +02:00
parent 57410abc99
commit 84bd63c95b
1 changed files with 1 additions and 1 deletions

View File

@ -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