|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Call to people with weird compilersHi All,
I've just made a fairly large change to __cordfltn__ in the image package. In fact the change is so large that the function is now called __spatial_filtering__ :-) The change includes quite a bit of template code, so I'd appreciate if people with non-gcc compilers could check if it builds on their machine. Thanks, Søren ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: Call to people with weird compilersIs not using gcc that weird...? :-)
Michael. On Sun, Oct 5, 2008 at 9:21 PM, Søren Hauberg <soren@...> wrote: > Hi All, > I've just made a fairly large change to __cordfltn__ in the image > package. In fact the change is so large that the function is now called > __spatial_filtering__ :-) The change includes quite a bit of template > code, so I'd appreciate if people with non-gcc compilers could check if > it builds on their machine. > > Thanks, > Søren > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Octave-dev mailing list > Octave-dev@... > https://lists.sourceforge.net/lists/listinfo/octave-dev > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: Call to people with weird compilersOn Sun, Oct 5, 2008 at 9:21 PM, Søren Hauberg <soren@...> wrote:
> Hi All, > I've just made a fairly large change to __cordfltn__ in the image > package. In fact the change is so large that the function is now called > __spatial_filtering__ :-) The change includes quite a bit of template > code, so I'd appreciate if people with non-gcc compilers could check if > it builds on their machine. I need the following patch to compile it with MSVC. Is there any test available to check functionality? Michael. Index: src/__spatial_filtering__.cc =================================================================== --- src/__spatial_filtering__.cc (revision 5336) +++ src/__spatial_filtering__.cc (working copy) @@ -18,6 +18,7 @@ // -- Soren Hauberg, March 21st, 2008 #include <octave/oct.h> +#include <octave/lo-mappers.h> /** * Filter functions for ordered filtering. @@ -197,7 +198,7 @@ { const double p = hist (i); if (p > 0) - entropy -= p * log2 (p); + entropy -= p * xlog2 (p); } return entropy; ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: Call to people with weird compilersman, 06 10 2008 kl. 09:21 +0200, skrev Michael Goffioul:
> On Sun, Oct 5, 2008 at 9:21 PM, Søren Hauberg <soren@...> wrote: > > Hi All, > > I've just made a fairly large change to __cordfltn__ in the image > > package. In fact the change is so large that the function is now called > > __spatial_filtering__ :-) The change includes quite a bit of template > > code, so I'd appreciate if people with non-gcc compilers could check if > > it builds on their machine. > > I need the following patch to compile it with MSVC. > Is there any test available to check functionality? Thanks for compiling this; I've made the change. I haven't had the time to write tests yet, but that'll come. Søren > Michael. > > Index: src/__spatial_filtering__.cc > =================================================================== > --- src/__spatial_filtering__.cc (revision 5336) > +++ src/__spatial_filtering__.cc (working copy) > @@ -18,6 +18,7 @@ > // -- Soren Hauberg, March 21st, 2008 > > #include <octave/oct.h> > +#include <octave/lo-mappers.h> > > /** > * Filter functions for ordered filtering. > @@ -197,7 +198,7 @@ > { > const double p = hist (i); > if (p > 0) > - entropy -= p * log2 (p); > + entropy -= p * xlog2 (p); > } > > return entropy; > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Octave-dev mailing list > Octave-dev@... > https://lists.sourceforge.net/lists/listinfo/octave-dev ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
| Free Forum Powered by Nabble | Forum Help |