Update 4.py

This commit is contained in:
xixu-me committed 2024-05-05 22:38:24 +08:00
1 parent 09a04fcb73
commit 9d5ee19e2b
1 file changed
-3
-3
View File
@@ -2,9 +2,6 @@ import cv2 as cv
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams["font.sans-serif"] = ["SimHei"]
plt.rcParams["axes.unicode_minus"] = False
img = cv.imread(r"img\peppers.bmp", 0)
m, n = img.shape
if m % 2 == 0: