import cv2
import matplotlib.pyplot as plt
kids = cv2.imread("./images/002.jpg")
plt.imshow(kids[:,:,::-1])
plt.show()
imgup = cv2.pyrUp(kids)
plt.imshow(imgup[:,:,::-1])
plt.show()
imgup2 = cv2.pyrUp(imgup)
plt.imshow(imgup2[:,:,::-1])
plt.show()
imgdown = cv2.pyrDown(kids)
plt.imshow(imgdown[:,:,::-1])
plt.show()