Application of pattern spectra and convolutional neural networks to the analysis of simulated Cherenkov Telescope Array data | Synapse