• DocumentCode
    1557329
  • Title

    Improving Gil-Werman algorithm for running min and max filters

  • Author

    Gevorkian, David Z. ; Astola, Jaakko T. ; Atourian, Samvel M.

  • Author_Institution
    Signal Process. Lab., Tampere Univ. of Technol., Finland
  • Volume
    19
  • Issue
    5
  • fYear
    1997
  • fDate
    5/1/1997 12:00:00 AM
  • Firstpage
    526
  • Lastpage
    529
  • Abstract
    The current best bound on the number of comparison operations needed to compute the running maximum or minimum over a p-element sliding data window is approximately three comparisons per output sample. This bound is probabilistic for some algorithms and is derived for their complexities on the average for independent, identically distributed (i.i.d.) input signals. The worst-case complexities of these algorithms are O(p). The worst-case complexity Cr=3 -4/p comparisons per output sample for 1D signals is achieved in the Gil-Werman algorithm (1993). In this correspondence we propose a modification of the Gil-Werman algorithm with the same worst-case complexity but with a lower average complexity. A theoretical analysis shows that using the proposed modification the complexities of sliding max or min 1D and 2D filters over i.i.d. signals are reduced to C1 =2.5-3.5/p+1/p2 and C2=5-7/p+2/p2 comparisons per output sample on the average, respectively. Simulations confirm the theoretical results. Moreover, experiments show that even for highly correlated data, namely, for real images the behavior of the algorithm remains the same as for i.i.d. signals
  • Keywords
    computational complexity; filtering theory; probability; 1D filters; 1D signals; 2D filters; Gil-Werman algorithm; average complexity; i.i.d. input signals; max filters; min filters; p-element sliding data window; running maximum; running minimum; worst-case complexities; worst-case complexity; Computational complexity; Computational modeling; Filtering algorithms; Image edge detection; Image processing; Nonlinear filters; Signal analysis; Signal processing; Signal processing algorithms; Statistical distributions;
  • fLanguage
    English
  • Journal_Title
    Pattern Analysis and Machine Intelligence, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0162-8828
  • Type

    jour

  • DOI
    10.1109/34.589214
  • Filename
    589214