Skip to content

Commit 127378f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 24baa2b commit 127378f

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

digital_image_processing/test_digital_image_processing.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def test_gen_gaussian_kernel_filter():
5959
"""Test Gaussian filter application."""
6060
assert gg.gaussian_filter(gray, 5, sigma=0.9).all()
6161

62+
6263
def test_convolve_filter():
6364
"""Test image convolution operation."""
6465
# Laplace kernel for edge detection
@@ -87,14 +88,18 @@ def test_sepia():
8788

8889
def test_burkes():
8990
"""Test Burkes dithering algorithm."""
90-
burkes = bs.Burkes(imread("digital_image_processing/image_data/lena_small.jpg", 1), 120)
91+
burkes = bs.Burkes(
92+
imread("digital_image_processing/image_data/lena_small.jpg", 1), 120
93+
)
9194
burkes.process()
9295
assert burkes.output_img.any()
9396

9497

9598
def test_nearest_neighbour():
9699
"""Test nearest-neighbor resizing."""
97-
nn = rs.NearestNeighbour(imread("digital_image_processing/image_data/lena_small.jpg", 1), 400, 200)
100+
nn = rs.NearestNeighbour(
101+
imread("digital_image_processing/image_data/lena_small.jpg", 1), 400, 200
102+
)
98103
nn.process()
99104
assert nn.output.any()
100105

0 commit comments

Comments
 (0)