Black hole algorithm with convolutional neural networks for the creation of brain-computer interface based in visual perception and visual imagery