@@ -0,0 +1,676 @@
+%22%22%22%0A====================%0ABuild image pyramids%0A====================%0A%0AThis example shows how to build image pyramids.%0A%22%22%22%0A%0Aimport numpy as np%0Aimport matplotlib.pyplot as plt%0A%0Afrom skimage import data%0Afrom skimage import img_as_float%0Afrom skimage.transform import build_gaussian_pyramid%0A%0A%0Aimage = data.lena()%0Arows, cols, dim = image.shape%0Apyramid = tuple(build_gaussian_pyramid(image, downscale=2))%0A%0Adisplay = np.zeros((rows, cols + cols / 2, 3), dtype=np.double)%0A%0Adisplay%5B:rows, :cols, :%5D = pyramid%5B0%5D%0A%0Ai_row = 0%0Afor p in pyramid%5B1:%5D:%0A    n_rows, n_cols = p.shape%5B:2%5D%0A    display%5Bi_row:i_row + n_rows, cols:cols + n_cols%5D = p%0A    i_row += n_rows%0A%0Aplt.imshow(display)%0Aplt.show()%0A

Add example script for image pyramids