Skip to content

Commit

Permalink
Small bug fixed in 2d pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Rasmussen committed Jun 14, 2023
1 parent 5db6764 commit fa379b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rt_utils/smoothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def restore_mask_dimensions(cropped_mask: np.ndarray, new_shape, bbox):
return new_mask.astype(bool)

def iteration_2d(mask: np.ndarray, np_kron, ndimage_gaussian_filter, threshold, ndimage_median_filter):
cropped_mask = kron_upscale(mask=cropped_mask, **np_kron)
cropped_mask = kron_upscale(mask=mask, **np_kron)

for z_idx in range(cropped_mask.shape[2]):
slice = cropped_mask[:, :, z_idx]
Expand Down

0 comments on commit fa379b9

Please sign in to comment.