Title :
An efficient algorithm for running max/min calculation
Author_Institution :
Dept. of Electr. Eng., Utah Univ., Salt Lake City, UT, USA
Abstract :
We present a novel algorithm for calculating the running maximum or minimum value of a one-dimensional sequence over a sliding data window. The new algorithm stores a pruned ordered list of data elements that have the potential to become maxima or minima across the data window at some future time instant. This algorithm has a number of advantages over competing algorithms, including balanced computational requirements for a variety of signals and the potential for reduced processing and storage requirements for long data windows. We show through both analysis and simulation that for an L-element running window, the new algorithm uses approximately three comparisons and O(log L) memory locations per output sample on average for i.i.d. signals, independent of the signal distribution
Keywords :
mathematical morphology; sequences; signal processing; L-element running window; balanced computational requirements; data elements; max/min calculation; memory locations; one-dimensional sequence; pruned ordered list; signal distribution; signal processing; sliding data window; Algorithm design and analysis; Analytical models; Cities and towns; Computational modeling; Image processing; Performance analysis; Signal analysis; Signal processing; Sorting; Throughput;
Conference_Titel :
Circuits and Systems, 1996. ISCAS '96., Connecting the World., 1996 IEEE International Symposium on
Conference_Location :
Atlanta, GA
Print_ISBN :
0-7803-3073-0
DOI :
10.1109/ISCAS.1996.540338