Cellular neural networks for pattern recognition in control charts