Abstract
When processing spatial grids, it is often necessary to preprocess them to improve the results of later stages. Preprocessing may be to remove noise, to smooth over abrupt variations, to identify edges, or to fill gaps. In this chapter, we discuss neighborhood and window operations that may be used for these purposes. Smoothing can be carried out using a variety of windowing operations: the boxcar, Gaussian, and median filters are most commonly used. Because the boxcar filter is subject to ringing artifacts, we recommend the use of either the Gaussian filter (to mitigate abrupt changes) or the median filter (to mitigate the impact of noise). A matched filter may be used to extract specific shapes from a spatial grid but requires that you know the exact shape and orientation beforehand. Directional smoothing is commonly achieved using a filter bank of oriented filters. Separability is a concern, however. We discuss a couple of edge filtering techniques and point out the use of median filters in speckle removal. Morphological operations for dilation and erosion are described and the use of combinations of morphological operations for denoising and gap filling described. Finally, we discuss skeletonization and thinning algorithms.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The direction of an edge can be obtained from the Sobel filter as \({\tan }^{-1}({G}_{y}/{G}_{x})\). Similarly, we can compute the LoG in the x and y directions separately and compute the orientation of the edges.
- 2.
QuickSelect.java in edu.ou.asgbook.filters
- 3.
If the window weights are not symmetric, you have to flip the weights about the axis of symmetry before computing the Fourier transform. Other than this prefiltering step, the rest of the discussion holds.
- 4.
Specifically, in the spatial domain, we do not compute results when more than half the window would be missing. This prevents us from having smoothed data for Mexico or Cuba. The frequency-domain pads the data with zero beyond the boundaries, and so we get incorrect values near the southern boundary of the image but reasonable results on the northern boundary (where a population density of zero is a reasonable assumption). Note in particular the smoothed data corresponding to Cuba.
References
Canny J (1986) A computational approach to edge detection. IEEE Trans Pattern Anal Mach Intell 8:679–714
Charalampidis D (2009) Efficient directional Gaussian smoothers. IEEE Trans Geosci Remote Sens Lett 6:383–387
Cooley JW, Tukey JW (1965) An algorithm for the machine calculation of complex fourier series. Math Comput 19:297–301
Coppin PR, Bauer ME (1996) Digital change detection in forest ecosystems with remote sensing imagery. Remote Sens Rev 13(3–4):207–234
Frigo M, Johnson S (1998) FFTW: an adaptive software architecture for the FFT. In: International conference on acoustics, speech and signal processing, Seattle. IEEE Service Center, pp 1381–1384
Hilditch C (1969) Linear skeletons from square cupboards. In: Meltzer B, Michie D (eds) Machine intelligence 4. Edinburgh University Press, Edinburgh, pp 403–420
Kitamoto A (2002) Spatio-temporal data mining for typhoon image collection. J Intell Inf Syst 19:25–41
Lakshmanan V (2004) A separable filter for directional smoothing. IEEE Geosci Remote Sens Lett 1(3):192–195
Lakshmanan V, Hondl K, Rabin R (2009) An efficient, general-purpose technique for identifying storm cells in geospatial images. J Ocean Atmos Tech 26(3):523–37
Pitas I, Venetsanopoulos N (1986) Edge detectors based on non-linear filters. IEEE Trans Pattern Anal Mach Intell 8(4):538–550
Press W, Flannery B, Teukolsky S, Vetterling W (1988) Numerical recipes in C, the art of scientific computing. Cambridge University Press, Cambridge
Scambos TA, Dutkiewicz MJ, Wilson JC, Bindschadler RA (1992) Application of image cross-correlation to the measurement of glacier velocity using satellite image data. Remote Sens Environ 42(3):177–186
Wolfson MM, Forman BE, Hallowell RG, Moore MP (1999) The growth and decay storm tracker. In: 8th conference on aviation, Dallas. American Meteorological Society, pp 58–62
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer Science+Business Media Dordrecht.
About this chapter
Cite this chapter
Lakshmanan, V. (2012). Neighborhood and Window Operations. In: Automating the Analysis of Spatial Grids. Geotechnologies and the Environment, vol 6. Springer, Dordrecht. https://doi.org/10.1007/978-94-007-4075-4_5
Download citation
DOI: https://doi.org/10.1007/978-94-007-4075-4_5
Published:
Publisher Name: Springer, Dordrecht
Print ISBN: 978-94-007-4074-7
Online ISBN: 978-94-007-4075-4
eBook Packages: EngineeringEngineering (R0)