Created
January 3, 2015 03:09
-
-
Save sherbondy/c23914b27c59273d3660 to your computer and use it in GitHub Desktop.
Gaussian Pyramid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function gaussianpyramid(A, levels) | |
pyramid = () | |
Ns = A | |
for n = 1:levels | |
pyramid = tuple(pyramid..., Ns) | |
Ns = impyramid(Ns) | |
end | |
return pyramid | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment