Domain-decomposed image classification algorithms using linear discriminant analysis and convolutional neural networks