# -*- coding: utf-8 -*-
"""
Created on Wed Jun 27 09:12:13 2018


"""
import cv2
o=cv2.imread(r"../image/girl.bmp")
down=cv2.pyrDown(o)
up=cv2.pyrUp(down)
cv2.imshow("original",o)
cv2.imshow("down",down)
cv2.imshow("up",up)
cv2.waitKey()
cv2.destroyAllWindows()
96b90ab28d097de38fff3d68cc601038c0356354
<mask token>

<mask token>
cv2.imshow('original', o)
cv2.imshow('down', down)
cv2.imshow('up', up)
cv2.waitKey()
cv2.destroyAllWindows()

<mask token>
o = cv2.imread('../image/girl.bmp')
down = cv2.pyrDown(o)
up = cv2.pyrUp(down)
cv2.imshow('original', o)
cv2.imshow('down', down)
cv2.imshow('up', up)
cv2.waitKey()
cv2.destroyAllWindows()

<mask token>
import cv2
o = cv2.imread('../image/girl.bmp')
down = cv2.pyrDown(o)
up = cv2.pyrUp(down)
cv2.imshow('original', o)
cv2.imshow('down', down)
cv2.imshow('up', up)
cv2.waitKey()
cv2.destroyAllWindows()

# -*- coding: utf-8 -*-
"""
Created on Wed Jun 27 09:12:13 2018


"""
import cv2
o=cv2.imread(r"../image/girl.bmp")
down=cv2.pyrDown(o)
up=cv2.pyrUp(down)
cv2.imshow("original",o)
cv2.imshow("down",down)
cv2.imshow("up",up)
cv2.waitKey()
cv2.destroyAllWindows()