Running max/min filters using 1+o(1) comparisons per sample
Research output: Journal Publications and Reviews (RGC: 21, 22, 62) › 21_Publication in refereed journal › peer-review
Author(s)
Related Research Unit(s)
Detail(s)
Original language | English |
---|---|
Article number | 6007140 |
Pages (from-to) | 2544-2548 |
Journal / Publication | IEEE Transactions on Pattern Analysis and Machine Intelligence |
Volume | 33 |
Issue number | 12 |
Publication status | Published - 2011 |
Link(s)
Abstract
A running max (or min) filter asks for the maximum or (minimum) elements within a fixed-length sliding window. The previous best deterministic algorithm (developed by Gil and Kimmel, and refined by Coltuc) can compute the 1D max filter using 1.5+o(1) comparisons per sample in the worst case. The best-known algorithm for independent and identically distributed input uses 1.25+o(1) expected comparisons per sample (by Gil and Kimmel). In this work, we show that the number of comparisons can be reduced to 1+o(1) comparisons per sample in the worst case. As a consequence of the new max/min filters, the opening (or closing) filter can also be computed using 1+o(1) comparisons per sample in the worst case, where the previous best work requires 1.5+o(1) comparisons per sample (by Gil and Kimmel); and computing the max and min filters simultaneously can be done in 2+o(1) comparisons per sample in the worst case, where the previous best work (by Lemire) requires three comparisons per sample. Our improvements over the previous work are asymptotic, that is, the number of comparisons is reduced only when the window size is large. © 2011 IEEE.
Research Area(s)
- closing, dilation, erosion, Mathematical morphology, opening
Citation Format(s)
Running max/min filters using 1+o(1) comparisons per sample. / Yuan, Hao; Atallah, Mikhail J.
In: IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 33, No. 12, 6007140, 2011, p. 2544-2548.
In: IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 33, No. 12, 6007140, 2011, p. 2544-2548.
Research output: Journal Publications and Reviews (RGC: 21, 22, 62) › 21_Publication in refereed journal › peer-review