diff --git a/1/5.py b/1/5.py index 7b7337b..bcc9246 100644 --- a/1/5.py +++ b/1/5.py @@ -1,10 +1,9 @@ -import cv2 +import cv2 as cv -if __name__ == "__main__": - lenna = cv2.imread(r"src.jpg") - print(type(lenna)) - cv2.namedWindow("Lena", cv2.WINDOW_AUTOSIZE) - cv2.imshow("Lena", lenna) - cv2.waitKey(0) - cv2.destroyWindow("Lena") - cv2.imwrite(r"1\imwrite.png", lenna, (cv2.IMWRITE_PNG_COMPRESSION, 5)) +lenna = cv.imread(r"img\iris.jpg") +print(type(lenna)) +cv.namedWindow("Lena", cv.WINDOW_AUTOSIZE) +cv.imshow("Lena", lenna) +cv.waitKey(0) +cv.destroyWindow("Lena") +cv.imwrite(r"1\imwrite.png", lenna, (cv.IMWRITE_PNG_COMPRESSION, 5)) diff --git a/1/6.py b/1/6.py index a5b0040..a3532c0 100644 --- a/1/6.py +++ b/1/6.py @@ -1,10 +1,9 @@ -import cv2 +import cv2 as cv import matplotlib.pyplot as plt -if __name__ == "__main__": - plt.rcParams["font.family"] = ["SimHei"] - plt.rcParams["axes.unicode_minus"] = False - img_BGR = cv2.imread(r"src.jpg") - img_RGB = cv2.cvtColor(img_BGR, cv2.COLOR_BGR2RGB) - plt.imshow(img_RGB) - plt.show() +plt.rcParams["font.family"] = ["SimHei"] +plt.rcParams["axes.unicode_minus"] = False +img_BGR = cv.imread(r"img\iris.jpg") +img_RGB = cv.cvtColor(img_BGR, cv.COLOR_BGR2RGB) +plt.imshow(img_RGB) +plt.show() diff --git a/1/7.py b/1/7.py index 3d26922..4ce9c53 100644 --- a/1/7.py +++ b/1/7.py @@ -1,6 +1,5 @@ -import cv2 +import cv2 as cv import matplotlib.pyplot as plt -import math import numpy as np @@ -8,7 +7,7 @@ def createBox(): box = np.zeros((100, 100), np.uint8) + 255 print(type(box)) shape = box.shape - box = cv2.circle(box, (30, 50), 25, 0, -1) + box = cv.circle(box, (30, 50), 25, 0, -1) # type: ignore for i in range(shape[0]): for j in range(shape[1]): if j in range(45, 95) and i in range(25, 75): @@ -29,7 +28,7 @@ if __name__ == "__main__": image0 = createBox() plt.figure() plt.subplot(1, 2, 1) - plt.imshow(image0, vmin=0, vmax=255, cmap=plt.cm.gray) + plt.imshow(image0, vmin=0, vmax=255, cmap=plt.cm.gray) # type: ignore plt.title("idel image") image_hist0 = histogram(image0) plt.subplot(1, 2, 2) diff --git a/2/1.py b/2/1.py index 0138107..5413d6d 100644 --- a/2/1.py +++ b/2/1.py @@ -20,7 +20,7 @@ def histogram_equalization(im): if __name__ == "__main__": - im = cv.imread(r"src.jpg", cv.IMREAD_GRAYSCALE) + im = cv.imread(r"img\iris.jpg", cv.IMREAD_GRAYSCALE) im1 = global_linear_transmation(im, 0, 150) im2 = global_linear_transmation(im, 100) im3 = global_linear_transmation(im, 50, 150) @@ -39,11 +39,11 @@ if __name__ == "__main__": plt.imshow(im4, cmap="gray") plt.title("equalized") plt.subplot(245) - plt.hist(im1.flatten(), 256, [0, 256]) + plt.hist(im1.flatten(), 256, [0, 256]) # type: ignore plt.subplot(246) - plt.hist(im2.flatten(), 256, [0, 256]) + plt.hist(im2.flatten(), 256, [0, 256]) # type: ignore plt.subplot(247) - plt.hist(im3.flatten(), 256, [0, 256]) + plt.hist(im3.flatten(), 256, [0, 256]) # type: ignore plt.subplot(248) - plt.hist(im4.flatten(), 256, [0, 256]) + plt.hist(im4.flatten(), 256, [0, 256]) # type: ignore plt.show() diff --git a/2/2.py b/2/2.py index d26111b..90f56fa 100644 --- a/2/2.py +++ b/2/2.py @@ -10,7 +10,7 @@ def gamma_trans(img, gamma=1.0): if __name__ == "__main__": - im = cv.imread(r"src.jpg", cv.IMREAD_GRAYSCALE) + im = cv.imread(r"img\iris.jpg", cv.IMREAD_GRAYSCALE) im1 = gamma_trans(im, 0.5) im2 = gamma_trans(im, 1.5) plt.figure() diff --git a/2/3.py b/2/3.py index e46c4df..c30bd11 100644 --- a/2/3.py +++ b/2/3.py @@ -1,9 +1,9 @@ import cv2 as cv -from matplotlib import pyplot as plt +import matplotlib.pyplot as plt import numpy as np if __name__ == "__main__": - img = cv.imread(r"src.jpg", 0) + img = cv.imread(r"img\iris.jpg", 0) fil1 = 1 / 16 * np.array([[1, 2, 1], [2, 4, 2], [1, 2, 1]]) fil2 = 1 / 9 * np.array([[1, 1, 1], [1, 1, 1], [1, 1, 1]]) fil3 = 1 / 10 * np.array([[1, 1, 1], [1, 2, 1], [1, 1, 1]]) @@ -12,7 +12,6 @@ if __name__ == "__main__": ImgSmoothed2 = cv.filter2D(img, -1, fil2, borderType=cv.BORDER_DEFAULT) ImgSmoothed3 = cv.filter2D(img, -1, fil3, borderType=cv.BORDER_DEFAULT) ImgSharp = cv.filter2D(img, -1, fil4, borderType=cv.BORDER_DEFAULT) - plt.figure() plt.subplot(221) plt.imshow(ImgSmoothed1, cmap="gray") diff --git a/2/4.py b/2/4.py index b9400ce..d720da8 100644 --- a/2/4.py +++ b/2/4.py @@ -33,15 +33,15 @@ def addGaussianNoise(src, means, sigma): if __name__ == "__main__": - im = cv.imread(r"src.jpg", cv.IMREAD_GRAYSCALE) + im = cv.imread(r"img\iris.jpg", cv.IMREAD_GRAYSCALE) im1 = addSaltAndPepper(im, 0.1) im11 = cv.blur(im1, (3, 3)) im12 = cv.medianBlur(im1, 3) im13 = cv.GaussianBlur(im1, (3, 3), 1) im2 = addGaussianNoise(im, 0, 0.1) - im21 = cv.blur(im2, (3, 3)) - im22 = cv.medianBlur(im2, 3) - im23 = cv.GaussianBlur(im2, (3, 3), 1) + im21 = cv.blur(im2, (3, 3)) # type: ignore + im22 = cv.medianBlur(im2, 3) # type: ignore + im23 = cv.GaussianBlur(im2, (3, 3), 1) # type: ignore plt.figure() plt.subplot(241) plt.imshow(im1, cmap="gray") diff --git a/2/5.py b/2/5.py index d63837f..804df09 100644 --- a/2/5.py +++ b/2/5.py @@ -3,12 +3,11 @@ from matplotlib import pyplot as plt import numpy as np if __name__ == "__main__": - img = cv.imread(r"src.jpg", 0) + img = cv.imread(r"img\iris.jpg", 0) lplc = np.array([[0, -1, 0], [-1, 4, -1], [0, -1, 0]]) lplcEnhance = np.array([[0, -1, 0], [-1, 5, -1], [0, -1, 0]]) ImgLplc = cv.filter2D(img, -1, lplc, borderType=cv.BORDER_DEFAULT) ImgLplcEnhance = cv.filter2D(img, -1, lplcEnhance, borderType=cv.BORDER_DEFAULT) - plt.figure() plt.subplot(131) plt.imshow(img, cmap="gray") diff --git a/img/20080.bmp b/img/20080.bmp new file mode 100644 index 0000000..ab84d4c Binary files /dev/null and b/img/20080.bmp differ diff --git a/img/Fig0205(a)(cktboard_200dpi).tif b/img/Fig0205(a)(cktboard_200dpi).tif new file mode 100644 index 0000000..0c500a6 Binary files /dev/null and b/img/Fig0205(a)(cktboard_200dpi).tif differ diff --git a/img/Fig0207(2Dsinewave).tif b/img/Fig0207(2Dsinewave).tif new file mode 100644 index 0000000..2ae20e5 Binary files /dev/null and b/img/Fig0207(2Dsinewave).tif differ diff --git a/img/Fig0303(a)(breast).tif b/img/Fig0303(a)(breast).tif new file mode 100644 index 0000000..fba7a28 Binary files /dev/null and b/img/Fig0303(a)(breast).tif differ diff --git a/img/Fig0305(a)(spectrum).tif b/img/Fig0305(a)(spectrum).tif new file mode 100644 index 0000000..0b100ae Binary files /dev/null and b/img/Fig0305(a)(spectrum).tif differ diff --git a/img/Fig0306(a)(bone-scan-GE).tif b/img/Fig0306(a)(bone-scan-GE).tif new file mode 100644 index 0000000..18b4d64 Binary files /dev/null and b/img/Fig0306(a)(bone-scan-GE).tif differ diff --git a/img/Fig0310(a)(Moon Phobos).tif b/img/Fig0310(a)(Moon Phobos).tif new file mode 100644 index 0000000..05b01c2 Binary files /dev/null and b/img/Fig0310(a)(Moon Phobos).tif differ diff --git a/img/Fig0315(a)(original_test_pattern).tif b/img/Fig0315(a)(original_test_pattern).tif new file mode 100644 index 0000000..975ffb5 Binary files /dev/null and b/img/Fig0315(a)(original_test_pattern).tif differ diff --git a/img/Fig0316(a)(moon).tif b/img/Fig0316(a)(moon).tif new file mode 100644 index 0000000..a2f7444 Binary files /dev/null and b/img/Fig0316(a)(moon).tif differ diff --git a/img/Fig0318(a)(ckt-board-orig).tif b/img/Fig0318(a)(ckt-board-orig).tif new file mode 100644 index 0000000..e727dff Binary files /dev/null and b/img/Fig0318(a)(ckt-board-orig).tif differ diff --git a/img/Fig0318(b)(ckt-board-slt-pep-both-0pt2).tif b/img/Fig0318(b)(ckt-board-slt-pep-both-0pt2).tif new file mode 100644 index 0000000..e18ecc3 Binary files /dev/null and b/img/Fig0318(b)(ckt-board-slt-pep-both-0pt2).tif differ diff --git a/img/Fig0913(a)(small-squares).tif b/img/Fig0913(a)(small-squares).tif new file mode 100644 index 0000000..058071b Binary files /dev/null and b/img/Fig0913(a)(small-squares).tif differ diff --git a/img/Fig0926(a)(rice).tif b/img/Fig0926(a)(rice).tif new file mode 100644 index 0000000..8bb1148 Binary files /dev/null and b/img/Fig0926(a)(rice).tif differ diff --git a/img/Fig1121(a)(random_matches).tif b/img/Fig1121(a)(random_matches).tif new file mode 100644 index 0000000..c580e65 Binary files /dev/null and b/img/Fig1121(a)(random_matches).tif differ diff --git a/img/KNN.jpg b/img/KNN.jpg new file mode 100644 index 0000000..3facd4e Binary files /dev/null and b/img/KNN.jpg differ diff --git a/img/Palace.jpg b/img/Palace.jpg new file mode 100644 index 0000000..ed99d17 Binary files /dev/null and b/img/Palace.jpg differ diff --git a/img/a_iris.tif b/img/a_iris.tif new file mode 100644 index 0000000..82a7780 Binary files /dev/null and b/img/a_iris.tif differ diff --git a/img/achip.tif b/img/achip.tif new file mode 100644 index 0000000..7bf2438 Binary files /dev/null and b/img/achip.tif differ diff --git a/img/adip.png b/img/adip.png new file mode 100644 index 0000000..7cd5e08 Binary files /dev/null and b/img/adip.png differ diff --git a/img/afig622.jpg b/img/afig622.jpg new file mode 100644 index 0000000..bcee440 Binary files /dev/null and b/img/afig622.jpg differ diff --git a/img/alena.bmp b/img/alena.bmp new file mode 100644 index 0000000..8396c0c Binary files /dev/null and b/img/alena.bmp differ diff --git a/img/alphabet.jpg b/img/alphabet.jpg new file mode 100644 index 0000000..52cd00d Binary files /dev/null and b/img/alphabet.jpg differ diff --git a/img/ball.jpg b/img/ball.jpg new file mode 100644 index 0000000..fc97fff Binary files /dev/null and b/img/ball.jpg differ diff --git a/img/ball1.jpg b/img/ball1.jpg new file mode 100644 index 0000000..3708865 Binary files /dev/null and b/img/ball1.jpg differ diff --git a/img/ball2.jpg b/img/ball2.jpg new file mode 100644 index 0000000..134413a Binary files /dev/null and b/img/ball2.jpg differ diff --git a/img/banana.jpg b/img/banana.jpg new file mode 100644 index 0000000..2d982f4 Binary files /dev/null and b/img/banana.jpg differ diff --git a/img/bitSlice.jpg b/img/bitSlice.jpg new file mode 100644 index 0000000..c371c41 Binary files /dev/null and b/img/bitSlice.jpg differ diff --git a/img/black.gif b/img/black.gif new file mode 100644 index 0000000..1a01b14 Binary files /dev/null and b/img/black.gif differ diff --git a/img/bone.jpg b/img/bone.jpg new file mode 100644 index 0000000..0b2a877 Binary files /dev/null and b/img/bone.jpg differ diff --git a/img/border.jpg b/img/border.jpg new file mode 100644 index 0000000..c3abb54 Binary files /dev/null and b/img/border.jpg differ diff --git a/img/cameraman.bmp b/img/cameraman.bmp new file mode 100644 index 0000000..22d62b2 Binary files /dev/null and b/img/cameraman.bmp differ diff --git a/img/car1.jpg b/img/car1.jpg new file mode 100644 index 0000000..71d399b Binary files /dev/null and b/img/car1.jpg differ diff --git a/img/car2.jpg b/img/car2.jpg new file mode 100644 index 0000000..8bfdff4 Binary files /dev/null and b/img/car2.jpg differ diff --git a/img/car3.jpg b/img/car3.jpg new file mode 100644 index 0000000..3d2981e Binary files /dev/null and b/img/car3.jpg differ diff --git a/img/car4.jpg b/img/car4.jpg new file mode 100644 index 0000000..3df4331 Binary files /dev/null and b/img/car4.jpg differ diff --git a/img/car5.jpg b/img/car5.jpg new file mode 100644 index 0000000..bef2664 Binary files /dev/null and b/img/car5.jpg differ diff --git a/img/car6.jpg b/img/car6.jpg new file mode 100644 index 0000000..5409553 Binary files /dev/null and b/img/car6.jpg differ diff --git a/img/car7.jpg b/img/car7.jpg new file mode 100644 index 0000000..7f86aac Binary files /dev/null and b/img/car7.jpg differ diff --git a/img/car8.jpg b/img/car8.jpg new file mode 100644 index 0000000..19fda40 Binary files /dev/null and b/img/car8.jpg differ diff --git a/img/cell.jpg b/img/cell.jpg new file mode 100644 index 0000000..508ab03 Binary files /dev/null and b/img/cell.jpg differ diff --git a/img/ch08-4(a).jpg b/img/ch08-4(a).jpg new file mode 100644 index 0000000..7403efa Binary files /dev/null and b/img/ch08-4(a).jpg differ diff --git a/img/ch11-01.png b/img/ch11-01.png new file mode 100644 index 0000000..4d94a02 Binary files /dev/null and b/img/ch11-01.png differ diff --git a/img/chest-xray.tif b/img/chest-xray.tif new file mode 100644 index 0000000..069263b Binary files /dev/null and b/img/chest-xray.tif differ diff --git a/img/coin.jpg b/img/coin.jpg new file mode 100644 index 0000000..8f2b626 Binary files /dev/null and b/img/coin.jpg differ diff --git a/img/connect.jpg b/img/connect.jpg new file mode 100644 index 0000000..a119342 Binary files /dev/null and b/img/connect.jpg differ diff --git a/img/crowd.png b/img/crowd.png new file mode 100644 index 0000000..2d1ce31 Binary files /dev/null and b/img/crowd.png differ diff --git a/img/dark_rice.jpg b/img/dark_rice.jpg new file mode 100644 index 0000000..a2372a1 Binary files /dev/null and b/img/dark_rice.jpg differ diff --git a/img/describe.png b/img/describe.png new file mode 100644 index 0000000..cf66f3b Binary files /dev/null and b/img/describe.png differ diff --git a/img/division.png b/img/division.png new file mode 100644 index 0000000..22f720d Binary files /dev/null and b/img/division.png differ diff --git a/img/dog.png b/img/dog.png new file mode 100644 index 0000000..b7250fc Binary files /dev/null and b/img/dog.png differ diff --git a/img/dragon.png b/img/dragon.png new file mode 100644 index 0000000..6b500f4 Binary files /dev/null and b/img/dragon.png differ diff --git a/img/empty.png b/img/empty.png new file mode 100644 index 0000000..9252278 Binary files /dev/null and b/img/empty.png differ diff --git a/img/fig819.bmp b/img/fig819.bmp new file mode 100644 index 0000000..c0d3133 Binary files /dev/null and b/img/fig819.bmp differ diff --git a/img/fig834.jpg b/img/fig834.jpg new file mode 100644 index 0000000..7e96e6b Binary files /dev/null and b/img/fig834.jpg differ diff --git a/img/fingerprint.png b/img/fingerprint.png new file mode 100644 index 0000000..bec0475 Binary files /dev/null and b/img/fingerprint.png differ diff --git a/img/generateImage.jpg b/img/generateImage.jpg new file mode 100644 index 0000000..8b9ac37 Binary files /dev/null and b/img/generateImage.jpg differ diff --git a/img/genterateImage.jpg b/img/genterateImage.jpg new file mode 100644 index 0000000..beb1772 Binary files /dev/null and b/img/genterateImage.jpg differ diff --git a/img/hole.png b/img/hole.png new file mode 100644 index 0000000..df25c77 Binary files /dev/null and b/img/hole.png differ diff --git a/img/house1.jpg b/img/house1.jpg new file mode 100644 index 0000000..4e7e392 Binary files /dev/null and b/img/house1.jpg differ diff --git a/img/i_camera.bmp b/img/i_camera.bmp new file mode 100644 index 0000000..22d62b2 Binary files /dev/null and b/img/i_camera.bmp differ diff --git a/img/i_peppers_gray.bmp b/img/i_peppers_gray.bmp new file mode 100644 index 0000000..1c4c5f7 Binary files /dev/null and b/img/i_peppers_gray.bmp differ diff --git a/img/idealImg.jpg b/img/idealImg.jpg new file mode 100644 index 0000000..6e6f4ab Binary files /dev/null and b/img/idealImg.jpg differ diff --git a/img/image.jpg b/img/image.jpg new file mode 100644 index 0000000..6ef3cef Binary files /dev/null and b/img/image.jpg differ diff --git a/img/img300.jpg b/img/img300.jpg new file mode 100644 index 0000000..0cfa0fe Binary files /dev/null and b/img/img300.jpg differ diff --git a/src.jpg b/img/iris.jpg similarity index 100% rename from src.jpg rename to img/iris.jpg diff --git a/img/kenny.jpg b/img/kenny.jpg new file mode 100644 index 0000000..3182b3f Binary files /dev/null and b/img/kenny.jpg differ diff --git a/img/kennysmall.jpg b/img/kennysmall.jpg new file mode 100644 index 0000000..1b90400 Binary files /dev/null and b/img/kennysmall.jpg differ diff --git a/img/lanka_elephant.jpg b/img/lanka_elephant.jpg new file mode 100644 index 0000000..58373c4 Binary files /dev/null and b/img/lanka_elephant.jpg differ diff --git a/img/lena.bmp b/img/lena.bmp new file mode 100644 index 0000000..8396c0c Binary files /dev/null and b/img/lena.bmp differ diff --git a/img/lena.jpg b/img/lena.jpg new file mode 100644 index 0000000..0fe7341 Binary files /dev/null and b/img/lena.jpg differ diff --git a/img/light_bar.png b/img/light_bar.png new file mode 100644 index 0000000..4d94a02 Binary files /dev/null and b/img/light_bar.png differ diff --git a/img/light_bar1.png b/img/light_bar1.png new file mode 100644 index 0000000..7ab0ca6 Binary files /dev/null and b/img/light_bar1.png differ diff --git a/img/light_circle.jpg b/img/light_circle.jpg new file mode 100644 index 0000000..3383746 Binary files /dev/null and b/img/light_circle.jpg differ diff --git a/img/line.tif b/img/line.tif new file mode 100644 index 0000000..65cf3c8 Binary files /dev/null and b/img/line.tif differ diff --git a/img/lotus.jpg b/img/lotus.jpg new file mode 100644 index 0000000..8fcc4f2 Binary files /dev/null and b/img/lotus.jpg differ diff --git a/img/lung.jpg b/img/lung.jpg new file mode 100644 index 0000000..cdf8c75 Binary files /dev/null and b/img/lung.jpg differ diff --git a/img/mapleleaf.tif b/img/mapleleaf.tif new file mode 100644 index 0000000..69d44ee Binary files /dev/null and b/img/mapleleaf.tif differ diff --git a/img/marMoon.jpg b/img/marMoon.jpg new file mode 100644 index 0000000..7cba263 Binary files /dev/null and b/img/marMoon.jpg differ diff --git a/img/mask.jpg b/img/mask.jpg new file mode 100644 index 0000000..f05ab5c Binary files /dev/null and b/img/mask.jpg differ diff --git a/img/mask1.jpg b/img/mask1.jpg new file mode 100644 index 0000000..cba1536 Binary files /dev/null and b/img/mask1.jpg differ diff --git a/img/mask2.jpg b/img/mask2.jpg new file mode 100644 index 0000000..d6aa30c Binary files /dev/null and b/img/mask2.jpg differ diff --git a/img/mask3.jpg b/img/mask3.jpg new file mode 100644 index 0000000..05afa75 Binary files /dev/null and b/img/mask3.jpg differ diff --git a/img/mm.jpg b/img/mm.jpg new file mode 100644 index 0000000..4c4f048 Binary files /dev/null and b/img/mm.jpg differ diff --git a/img/moon.jpg b/img/moon.jpg new file mode 100644 index 0000000..efbb45f Binary files /dev/null and b/img/moon.jpg differ diff --git a/img/moon.png b/img/moon.png new file mode 100644 index 0000000..1596c6c Binary files /dev/null and b/img/moon.png differ diff --git a/img/morphology.png b/img/morphology.png new file mode 100644 index 0000000..19979ad Binary files /dev/null and b/img/morphology.png differ diff --git a/img/moving_threshold.jpg b/img/moving_threshold.jpg new file mode 100644 index 0000000..7bbf9a6 Binary files /dev/null and b/img/moving_threshold.jpg differ diff --git a/img/noiseImage.jpg b/img/noiseImage.jpg new file mode 100644 index 0000000..8b9ac37 Binary files /dev/null and b/img/noiseImage.jpg differ diff --git a/img/pai6.png b/img/pai6.png new file mode 100644 index 0000000..cd1e7bb Binary files /dev/null and b/img/pai6.png differ diff --git a/img/panda.jpg b/img/panda.jpg new file mode 100644 index 0000000..71626b3 Binary files /dev/null and b/img/panda.jpg differ diff --git a/img/paopao.jpg b/img/paopao.jpg new file mode 100644 index 0000000..f734c9c Binary files /dev/null and b/img/paopao.jpg differ diff --git a/img/paopao.tif b/img/paopao.tif new file mode 100644 index 0000000..77a38f9 Binary files /dev/null and b/img/paopao.tif differ diff --git a/img/peppers.bmp b/img/peppers.bmp new file mode 100644 index 0000000..1c4c5f7 Binary files /dev/null and b/img/peppers.bmp differ diff --git a/img/pic1.jpg b/img/pic1.jpg new file mode 100644 index 0000000..dfdf452 Binary files /dev/null and b/img/pic1.jpg differ diff --git a/img/pic_change.jpg b/img/pic_change.jpg new file mode 100644 index 0000000..e8ed190 Binary files /dev/null and b/img/pic_change.jpg differ diff --git a/img/pic_matplotlib.jpg b/img/pic_matplotlib.jpg new file mode 100644 index 0000000..078ebae Binary files /dev/null and b/img/pic_matplotlib.jpg differ diff --git a/img/pic_matplotlib2.jpg b/img/pic_matplotlib2.jpg new file mode 100644 index 0000000..f6509cc Binary files /dev/null and b/img/pic_matplotlib2.jpg differ diff --git a/img/plane1.jpg b/img/plane1.jpg new file mode 100644 index 0000000..2a6ee93 Binary files /dev/null and b/img/plane1.jpg differ diff --git a/img/plane2.jpg b/img/plane2.jpg new file mode 100644 index 0000000..26853f7 Binary files /dev/null and b/img/plane2.jpg differ diff --git a/img/polygon_draw.jpg b/img/polygon_draw.jpg new file mode 100644 index 0000000..8bf639d Binary files /dev/null and b/img/polygon_draw.jpg differ diff --git a/img/rect0.jpg b/img/rect0.jpg new file mode 100644 index 0000000..9c2b617 Binary files /dev/null and b/img/rect0.jpg differ diff --git a/img/redboat.jpg b/img/redboat.jpg new file mode 100644 index 0000000..b1cf1a1 Binary files /dev/null and b/img/redboat.jpg differ diff --git a/img/rice.png b/img/rice.png new file mode 100644 index 0000000..0b9c56c Binary files /dev/null and b/img/rice.png differ diff --git a/img/rice.tif b/img/rice.tif new file mode 100644 index 0000000..b43d92f Binary files /dev/null and b/img/rice.tif differ diff --git a/img/room.tif b/img/room.tif new file mode 100644 index 0000000..99dbbf3 Binary files /dev/null and b/img/room.tif differ diff --git a/img/rose.tif b/img/rose.tif new file mode 100644 index 0000000..ac66e80 Binary files /dev/null and b/img/rose.tif differ diff --git a/img/ship1.jpg b/img/ship1.jpg new file mode 100644 index 0000000..127f7fc Binary files /dev/null and b/img/ship1.jpg differ diff --git a/img/ship2.jpg b/img/ship2.jpg new file mode 100644 index 0000000..dbc9a31 Binary files /dev/null and b/img/ship2.jpg differ diff --git a/img/ship3.jpg b/img/ship3.jpg new file mode 100644 index 0000000..e7956b7 Binary files /dev/null and b/img/ship3.jpg differ diff --git a/img/ship4.jpg b/img/ship4.jpg new file mode 100644 index 0000000..c296920 Binary files /dev/null and b/img/ship4.jpg differ diff --git a/img/ship5.jpg b/img/ship5.jpg new file mode 100644 index 0000000..20ed5f4 Binary files /dev/null and b/img/ship5.jpg differ diff --git a/img/ship6.jpg b/img/ship6.jpg new file mode 100644 index 0000000..a2acbcd Binary files /dev/null and b/img/ship6.jpg differ diff --git a/img/ship7.jpg b/img/ship7.jpg new file mode 100644 index 0000000..35af2dd Binary files /dev/null and b/img/ship7.jpg differ diff --git a/img/ship8.jpg b/img/ship8.jpg new file mode 100644 index 0000000..a5e1f3d Binary files /dev/null and b/img/ship8.jpg differ diff --git a/img/ship9.jpg b/img/ship9.jpg new file mode 100644 index 0000000..19d6c03 Binary files /dev/null and b/img/ship9.jpg differ diff --git a/img/skull.jpg b/img/skull.jpg new file mode 100644 index 0000000..fee0c84 Binary files /dev/null and b/img/skull.jpg differ diff --git a/img/skull.png b/img/skull.png new file mode 100644 index 0000000..b7c2849 Binary files /dev/null and b/img/skull.png differ diff --git a/img/small_iris.jpg b/img/small_iris.jpg new file mode 100644 index 0000000..9d74338 Binary files /dev/null and b/img/small_iris.jpg differ diff --git a/img/small_iris.tif b/img/small_iris.tif new file mode 100644 index 0000000..a5b2b22 Binary files /dev/null and b/img/small_iris.tif differ diff --git a/img/star.png b/img/star.png new file mode 100644 index 0000000..128ab90 Binary files /dev/null and b/img/star.png differ diff --git a/img/table.png b/img/table.png new file mode 100644 index 0000000..07265fa Binary files /dev/null and b/img/table.png differ diff --git a/img/test_grayscale.jpg b/img/test_grayscale.jpg new file mode 100644 index 0000000..2fb2fba Binary files /dev/null and b/img/test_grayscale.jpg differ diff --git a/img/test_imwrite.jpg b/img/test_imwrite.jpg new file mode 100644 index 0000000..8da8ab7 Binary files /dev/null and b/img/test_imwrite.jpg differ diff --git a/img/test_imwrite.png b/img/test_imwrite.png new file mode 100644 index 0000000..b774710 Binary files /dev/null and b/img/test_imwrite.png differ diff --git a/img/text.jpg b/img/text.jpg new file mode 100644 index 0000000..132b4f3 Binary files /dev/null and b/img/text.jpg differ diff --git a/img/timg.jpg b/img/timg.jpg new file mode 100644 index 0000000..ee594c9 Binary files /dev/null and b/img/timg.jpg differ diff --git a/img/train1.jpg b/img/train1.jpg new file mode 100644 index 0000000..11cf48d Binary files /dev/null and b/img/train1.jpg differ diff --git a/img/train2.jpg b/img/train2.jpg new file mode 100644 index 0000000..afa1e63 Binary files /dev/null and b/img/train2.jpg differ diff --git a/img/train3.jpg b/img/train3.jpg new file mode 100644 index 0000000..cae4933 Binary files /dev/null and b/img/train3.jpg differ diff --git a/img/train4.jpg b/img/train4.jpg new file mode 100644 index 0000000..5285172 Binary files /dev/null and b/img/train4.jpg differ diff --git a/img/train5.jpg b/img/train5.jpg new file mode 100644 index 0000000..1f169ae Binary files /dev/null and b/img/train5.jpg differ diff --git a/img/train6.jpg b/img/train6.jpg new file mode 100644 index 0000000..61c8d37 Binary files /dev/null and b/img/train6.jpg differ diff --git a/img/train7.jpg b/img/train7.jpg new file mode 100644 index 0000000..cd5c69e Binary files /dev/null and b/img/train7.jpg differ diff --git a/img/train8.jpg b/img/train8.jpg new file mode 100644 index 0000000..c13ef89 Binary files /dev/null and b/img/train8.jpg differ diff --git a/img/train9.jpg b/img/train9.jpg new file mode 100644 index 0000000..8ba1d98 Binary files /dev/null and b/img/train9.jpg differ diff --git a/img/train_.jpg b/img/train_.jpg new file mode 100644 index 0000000..889e294 Binary files /dev/null and b/img/train_.jpg differ diff --git a/img/turbulence.png b/img/turbulence.png new file mode 100644 index 0000000..370ecd4 Binary files /dev/null and b/img/turbulence.png differ diff --git a/img/wirebond-mask.tif b/img/wirebond-mask.tif new file mode 100644 index 0000000..1aee9c9 Binary files /dev/null and b/img/wirebond-mask.tif differ diff --git a/img/飞机.jpeg b/img/飞机.jpeg new file mode 100644 index 0000000..9dc050a Binary files /dev/null and b/img/飞机.jpeg differ