A New Framework for Automatic Detection of Motor and Mental Imagery EEG Signals for Robust BCI Systems | Synapse