-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
delayed(self.process_slice)(imnp, slice_idx) for slice_idx in total_slices
)
spline_mesher/src/pyhexspline/spline_volume.py
Line 1105 in afc89cc
NUM_SLICES = height // 10 # TODO: parametrize this value |
height = imnp.shape[2]
self.logger.debug(f"Height:\t{height}")
NUM_SLICES = height // 10 # TODO: parametrize this value
total_slices = np.linspace(0, height - 1, NUM_SLICES, dtype=int)
processed_slices = []
for slice_idx in total_slices:
print(f"Processing slice {slice_idx}")