bugfix: type
This commit is contained in:
parent
57410abc99
commit
84bd63c95b
2
field.py
2
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue