Quick Adaptive Ternary Segmentation: An Efficient Decoding Procedure For Hidden Markov Models | Synapse