Efficient memory usage when creating image pyramid.
Efficient memory usage when creating image pyramid.

Instead of creating the full pyramid, use a function generator which
creates each level during the iterations.

InsightSoftwareConsortium/SimpleITK-Notebooks,InsightSoftwareConsortium/SimpleITK-Notebooks,zivy/SimpleITK-Notebooks,zivy/SimpleITK-Notebooks,InsightSoftwareConsortium/SimpleITK-Notebooks,zivy/SimpleITK-Notebooks