From 1c7e8c5e21837ecae31f84451de3d850139c2ac4 Mon Sep 17 00:00:00 2001 From: Alexander Pacha Date: Tue, 30 Aug 2022 11:00:25 +0200 Subject: [PATCH] Improved formatting --- sbb_binarize/sbb_binarize.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sbb_binarize/sbb_binarize.py b/sbb_binarize/sbb_binarize.py index c49849c..c49be7e 100644 --- a/sbb_binarize/sbb_binarize.py +++ b/sbb_binarize/sbb_binarize.py @@ -81,14 +81,7 @@ class SbbBinarizer: # noinspection PyUnresolvedReferences cv2.imwrite(str(save_path), full_image) - def _patches_to_image( - self, - patches: np.ndarray, - image_height: int, - image_width: int, - patch_height: int, - patch_width: int - ): + def _patches_to_image(self, patches: np.ndarray, image_height: int, image_width: int, patch_height: int, patch_width: int): height = math.ceil(image_height / patch_height) * patch_height width = math.ceil(image_width / patch_width) * patch_width