diff --git a/batchflow/batch_image.py b/batchflow/batch_image.py index 9308f17b2..98ad02ac1 100644 --- a/batchflow/batch_image.py +++ b/batchflow/batch_image.py @@ -350,7 +350,7 @@ def _calc_origin(self, image_shape, origin, background_shape): return np.asarray(origin, dtype=np.int64) @apply_parallel - def scale(self, image, factor, preserve_shape=False, origin='center', resample=0): + def scale(self, image, factor, preserve_shape=False, origin='center', resample=0, src=None, dst=None): """ Scale the content of each image in the batch. Resulting shape is obtained as original_shape * factor.