A Fast Binary Morphological Operator for Real Time Sequence Analysis