<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false">Hello,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I am performing neighborhood analyses with the r.mfilter module.</div><div dir="ltr" data-setdir="false">It is very good because of its versatility - one can define the filtering matrix as one wants.</div><div dir="ltr" data-setdir="false">However, it does not process the edges of the map, or at least it seems so.</div><div dir="ltr" data-setdir="false">If the filter matrix size is e.g. 25x25 pixels, the output shows the 25 pixels of the edge</div><div dir="ltr" data-setdir="false">similar to the input map.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Other modules for neighborhood analyses, however, such as r.neighbors, have a way to </div><div dir="ltr" data-setdir="false">deal with that in the borders - dealing with null values.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Does anyone know a way of having such an output - without border effects - for r.mfilter?</div><div dir="ltr" data-setdir="false">If not, is it possible to implement it? (I cannot contribute much here because of my limited C knowledge...)</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">If necessary, I can provide a reprex!</div><div dir="ltr" data-setdir="false">Thanks in advance!</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Bernardo </div></div></body></html>