The invention discloses an EEG-to-three-dimensional fMRI volume generation method based on multidirectional time-frequency
convolution attention and VM-UNet, and the method comprises the steps: S1, carrying out the preprocessing of an inputted EEG
signal, constructing an EEG input sample in a three-dimensional
tensor form, and carrying out the normalization
processing of EEG and fMRI data; s2, mapping an EEG input sample to a high-dimensional feature space by using an EEG
spectrogram projection module to obtain an initial embedding representation; s3,
processing the initial embedded representation through a multi-directional time-frequency
convolution attention
encoder to obtain a multi-
level fusion global feature representation, and adjusting the multi-
level fusion global feature representation into a feature map with a target size; s4, the adjusted feature map is input into a Vision-MambaU-Net decoder, multi-scale decoding and
spatial reconstruction are carried out, and a three-dimensional fMRI volume is generated; and S5, performing end-to-end training on the model by adopting a joint
loss function to realize the generation of the volume from the EEG to the three-dimensional fMRI. According to the method, the fine anatomical features of cortex wrinkles and deep grey structures are accurately reserved, and the
video memory consumption and the reasoning time are greatly reduced.