Before revision:  When one is interested in patterns related to only one color , we provide an algorithm that identifies patterns in \mathcal{O}(n^2\log n) time , but is faster than the first algorithm in practice , both on simulated and on real-world patterns.
After revision:  When one is interested in patterns related to only one color , we provide an algorithm that identifies patterns in \mathcal{O}(n^2\log n) time in the worst case but is faster than the first algorithm in practice , both on simulated and on real-world patterns.