Hi all,

I am working with a few Landsat images that has missing scan lines. I want to apply a low-pass filter to the image to correct these missing scan lines. However, I do not want to apply the filter to the entire image. Thus, I'll draw polygons (shp or kml files) to delineate the areas were the filter shall be applied. I can set these polygons as masks using the function 'mask' of the 'raster' package. I know that the low-pass filter is applied using the function 'focal' of package 'raster'. However, I don't know how to apply the low-pass filter using the mask. I hope someone can give me some advice, please.

Cheers,
 

Alessandro Samuel-Rosa
Postgraduate Course in Agronomy - Soil Science
Federal Rural University of Rio de Janeiro
Seropédica, Rio de Janeiro, Brazil
soil-scientist.net

	[[alternative HTML version deleted]]

