Image Pyramids with Python and OpenCV