diff --git a/mantidimaging/core/operations/remove_dead_stripe/remove_dead_stripe.py b/mantidimaging/core/operations/remove_dead_stripe/remove_dead_stripe.py index a926ba06c80..97a5339c922 100644 --- a/mantidimaging/core/operations/remove_dead_stripe/remove_dead_stripe.py +++ b/mantidimaging/core/operations/remove_dead_stripe/remove_dead_stripe.py @@ -50,8 +50,7 @@ def filter_func(images: ImageStack, snr=3, size=61, progress=None): compute_func = RemoveDeadStripesFilter.compute_function_sino else: compute_func = RemoveDeadStripesFilter.compute_function - - ps.run_compute_func(compute_func, images.num_projections, images.shared_array, params, progress) + ps.run_compute_func(compute_func, images.num_sinograms, images.shared_array, params, progress) return images @staticmethod diff --git a/mantidimaging/core/operations/remove_large_stripe/remove_large_stripe.py b/mantidimaging/core/operations/remove_large_stripe/remove_large_stripe.py index 378d4edce16..0fc53bda153 100644 --- a/mantidimaging/core/operations/remove_large_stripe/remove_large_stripe.py +++ b/mantidimaging/core/operations/remove_large_stripe/remove_large_stripe.py @@ -48,8 +48,7 @@ def filter_func(images: 'ImageStack', snr=3, la_size=61, progress=None): compute_func = RemoveLargeStripesFilter.compute_function_sino else: compute_func = RemoveLargeStripesFilter.compute_function - - ps.run_compute_func(compute_func, images.num_projections, images.shared_array, params, progress) + ps.run_compute_func(compute_func, images.num_sinograms, images.shared_array, params, progress) return images @staticmethod