Am Mon, 06 Jul 2009 08:40:58 -0000
schrieb "st_ilige" <st_ilige@...>:
> Hello all, That's the source code for the construction of a gaussian pyramid,
> if anyone is interested u can check it and test it. any suggestions are
welcome.
>
Thanks for sending the code.
Two minor points:
- I wonder why the number of levels is not an optional input parameter?
- Why do you define a class when the pyramid is returned by a single
function as an image list? It would seem more natural to me to
*either* define a stand alone function returning the image list,
*or* to define an opaque data type with accessor functions that
creates the pyramid for its internal data structures in its
constructor.
Does anyone on the list think that this is of such a general need to
include it as a plugin in the Gamera core?
Maybe, we should set up a Wiki at some day for collecting code
snippets like this one?
Thanks,
Christoph