Efficient dilation, erosion, opening, and closing algorithms

被引:113
|
作者
Gil, J [1 ]
Kimmel, R [1 ]
机构
[1] Technion Israel Inst Technol, Dept Comp Sci, IL-32000 Haifa, Israel
关键词
mathematical morphology; running maximum filter; min-max filter; computational efficiency;
D O I
10.1109/TPAMI.2002.1114852
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 [25] and by Gil and Werman [12] (the HGW algorithm). Also, the results presented in this paper constitute an improvement over the Gevorkian et al. [9] (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.
引用
收藏
页码:1606 / 1617
页数:12
相关论文
共 50 条
  • [1] Efficient dilation, erosion, opening and closing algorithms
    Gil, J
    Kimmel, R
    [J]. MATHEMATICAL MORPHOLOGY AND ITS APPLICATIONS TO IMAGE AND SIGNAL PROCESSING, 2000, 18 : 301 - 310
  • [2] RECURSIVE EROSION, DILATION, OPENING, AND CLOSING TRANSFORMS
    CHEN, S
    HARALICK, RM
    [J]. IEEE TRANSACTIONS ON IMAGE PROCESSING, 1995, 4 (03) : 335 - 345
  • [3] Efficient convolution based algorithms for erosion and dilation
    Razaz, M
    Hagyard, DMP
    [J]. PROCEEDINGS OF THE IEEE-EURASIP WORKSHOP ON NONLINEAR SIGNAL AND IMAGE PROCESSING (NSIP'99), 1999, : 360 - 363
  • [4] OPENING FOR A CLOSING
    FAIRCHILD, JW
    [J]. INDUSTRIAL DISTRIBUTION, 1978, 68 (11): : 83 - 83
  • [5] Fast algorithms for binary dilation and erosion using run-length encoding
    Kim, WJ
    Kim, SD
    Kim, K
    [J]. ETRI JOURNAL, 2005, 27 (06) : 814 - 817
  • [6] Quantum Dilation and Erosion
    Ma, Shi-Yuan
    Khalil, Ashraf
    Hajjdiab, Hassan
    Eleuch, Hichem
    [J]. APPLIED SCIENCES-BASEL, 2020, 10 (11):
  • [7] Opening and closing ceremonies
    Lancellotta, R
    Orefice, M
    Barla, G
    Tatsuoka, F
    [J]. PRE-FAILURE DEFORMATION CHARACTERISTICS OF GEOMATERIALS, VOL 2, 2001, : 949 - 952
  • [8] Opening and Closing in Tandem
    Holmes, David R., Jr.
    Kar, Saibal
    [J]. JACC-CARDIOVASCULAR INTERVENTIONS, 2016, 9 (14) : 1496 - 1498
  • [9] THE CLOSING AND OPENING OF PHILOSOPHY
    RUSSMAN, TA
    [J]. PROCEEDINGS OF THE AMERICAN CATHOLIC PHILOSOPHICAL ASSOCIATION, 1980, 54 : 101 - 107
  • [10] Opening and Closing Surfaces
    Sellan, Silvia
    Kesten, Jacob
    Sheng, Ang Yan
    Jacobson, Alec
    [J]. ACM TRANSACTIONS ON GRAPHICS, 2020, 39 (06):