Joint framework for EEG signals visualization and feature extraction