DocumentCode
870156
Title
Efficient dilation, erosion, opening, and closing algorithms
Author
Gil, Joseph ; Kimmel, Ron
Author_Institution
Dept. of Comput. Sci., Technion-Israel Inst. of Technol., Haifa, Israel
Volume
24
Issue
12
fYear
2002
fDate
12/1/2002 12:00:00 AM
Firstpage
1606
Lastpage
1617
Abstract
We propose an efficient and deterministic algorithm for computing the one-dimensional dilation and erosion (max and min) sliding window filters. For a p-element sliding window, our algorithm computes the 1D filter using 1.5 + o(1) comparisons per sample point. Our algorithm constitutes a deterministic improvement over the best previously known such algorithm, independently developed by van Herk (1992) and by Gil and Werman (1993) (the HGW algorithm). Also, the results presented in this paper constitute an improvement over the Gevorkian et al. (1997) (GAA) variant of the HGW algorithm. The improvement over the GAA variant is also in the computation model. The GAA algorithm makes the assumption that the input is independently and identically distributed (the i.i.d. assumption), whereas our main result is deterministic. We also deal with the problem of computing the dilation and erosion filters simultaneously, as required, e.g., for computing the unbiased morphological edge. In the case of i.i.d. inputs, we show that this simultaneous computation can be done more efficiently then separately computing each. We then turn to the opening filter, defined as the application of the min filter to the max filter and give an efficient algorithm for its computation. Specifically, this algorithm is only slightly slower than the computation of just the max filter. The improved algorithms are readily generalized to two dimensions (for a rectangular window), as well as to any higher finite dimension (for a hyperbox window), with the number of comparisons per window remaining constant. For the sake of concreteness, we also make a few comments on implementation considerations in a contemporary programming language.
Keywords
computational complexity; deterministic algorithms; image processing; mathematical morphology; 1D filter; computation model; computational complexity; deterministic algorithm; erosion filters; image processing; mathematical morphology; max filter; min filter; one-dimensional dilation; programming language; sliding window filters; unbiased morphological edge; Computational modeling; Fault detection; Filters; Gas insulated transmission lines; Image analysis; Image edge detection; Image processing; Morphological operations; Morphology; Pattern analysis;
fLanguage
English
Journal_Title
Pattern Analysis and Machine Intelligence, IEEE Transactions on
Publisher
ieee
ISSN
0162-8828
Type
jour
DOI
10.1109/TPAMI.2002.1114852
Filename
1114852
Link To Document