<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thank you very much Even. I was just making sure I am not reinventing the wheel :).<br>I will then write the C++ version.<br><br>With best regards.<br>~Belaid...<br><br>> From: even.rouault@mines-paris.org<br>> To: gdal-dev@lists.osgeo.org<br>> Subject: Re: [gdal-dev] moving filter averaging in GDAL.<br>> Date: Fri, 19 Jun 2009 19:44:10 +0200<br>> CC: belaid_moa@hotmail.com<br>> <br>> It should be relatively straighforward to transpose from Python to C++, as <br>> Python API is mostly deduced from the original C++ one. Look at the <br>> documentation of the C++ API on gdal.org<br>> <br>> Le Friday 19 June 2009 19:27:40 Belaid MOA, vous avez écrit :<br>> > Thanks a lot Frank. Is there any C/C++ version for that? I am doing the<br>> > averaging filter from C++ code.<br>> ><br>> > With best regards.<br>> > Belaid Moa.<br>> ><br>> > > Date: Fri, 19 Jun 2009 13:23:33 -0400<br>> > > From: warmerdam@pobox.com<br>> > > To: belaid_moa@hotmail.com<br>> > > CC: gdal-dev@lists.osgeo.org<br>> > > Subject: Re: [gdal-dev] moving filter averaging in GDAL.<br>> > ><br>> > > Belaid MOA wrote:<br>> > > > Hi,<br>> > > > Does GDAL have functions for applying an averaging filter of window,<br>> > > > say 11x11, to an image? This is something that comes up all the time in<br>> > > > image analysis. So, I suppose GDAL has built-in functions for that.<br>> > > ><br>> > > > Any help on this is very appreciated.<br>> > ><br>> > > Belaid,<br>> > ><br>> > > There is support for filtering, including average filtering, with the<br>> > > gdalfilter.py command in gdal/swig/python/samples. It accomplished<br>> > > by creating a virtual file using the <KernelFilteredSource> directive -<br>> > > so ultimately the work is done by the VRT driver.<br>> > ><br>> > > Best regards,<br>> > > --<br>> > > ---------------------------------------+---------------------------------<br>> > >----- I set the clouds in motion - turn up | Frank Warmerdam,<br>> > > warmerdam@pobox.com light and sound - activate the windows |<br>> > > http://pobox.com/~warmerdam and watch the world go round - Rush |<br>> > > Geospatial Programmer for Rent<br>> ><br>> > _________________________________________________________________<br>> > We are your photos. Share us now with Windows Live Photos.<br>> > http://go.microsoft.com/?linkid=9666047<br>> <br>> <br><br /><hr />Attention all humans. We are your photos. <a href='http://go.microsoft.com/?linkid=9666044' target='_new'>Free us.</a></body>
</html>