Hello,
I am performing neighborhood analyses with the r.mfilter module.
It is very good because of its versatility - one can define the filtering matrix as one wants.
However, it does not process the edges of the map, or at least it seems so.
If the filter matrix size is e.g. 25x25 pixels, the output shows the 25 pixels of the edge
similar to the input map.
Other modules for neighborhood analyses, however, such as r.neighbors, have a way to
deal with that in the borders - dealing with null values.
Does anyone know a way of having such an output - without border effects - for r.mfilter?
If not, is it possible to implement it? (I cannot contribute much here because of my limited C knowledge…)
If necessary, I can provide a reprex!
Thanks in advance!
Bernardo
Hello Bernardo,
Could you please create an issue with the reprex here: https://github.com/OSGeo/grass/issues/new/choose ?
Thanks,
Vero
El mar, 1 feb 2022 a las 7:54, Bernardo Santos via grass-user (<grass-user@lists.osgeo.org>) escribió:
Hello,
I am performing neighborhood analyses with the r.mfilter module.
It is very good because of its versatility - one can define the filtering matrix as one wants.
However, it does not process the edges of the map, or at least it seems so.
If the filter matrix size is e.g. 25x25 pixels, the output shows the 25 pixels of the edge
similar to the input map.
Other modules for neighborhood analyses, however, such as r.neighbors, have a way to
deal with that in the borders - dealing with null values.
Does anyone know a way of having such an output - without border effects - for r.mfilter?
If not, is it possible to implement it? (I cannot contribute much here because of my limited C knowledge…)
If necessary, I can provide a reprex!
Thanks in advance!
Bernardo
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user
Hi Vero,
thanks for your answer. I have just opened an issue with what I hope it is a reprex.
Here it is: [Bug] r.mfilter do not process map edges · Issue #2184 · OSGeo/grass (github.com)
Best
Bernardo
Em terça-feira, 8 de fevereiro de 2022 13:02:34 GMT+1, Veronica Andreo veroandreo@gmail.com escreveu:
Hello Bernardo,
Could you please create an issue with the reprex here: https://github.com/OSGeo/grass/issues/new/choose ?
Thanks,
Vero
El mar, 1 feb 2022 a las 7:54, Bernardo Santos via grass-user (<grass-user@lists.osgeo.org>) escribió:
Hello,
I am performing neighborhood analyses with the r.mfilter module.
It is very good because of its versatility - one can define the filtering matrix as one wants.
However, it does not process the edges of the map, or at least it seems so.
If the filter matrix size is e.g. 25x25 pixels, the output shows the 25 pixels of the edge
similar to the input map.
Other modules for neighborhood analyses, however, such as r.neighbors, have a way to
deal with that in the borders - dealing with null values.
Does anyone know a way of having such an output - without border effects - for r.mfilter?
If not, is it possible to implement it? (I cannot contribute much here because of my limited C knowledge…)
If necessary, I can provide a reprex!
Thanks in advance!
Bernardo
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user