CPC G06F 3/015 (2013.01) [G06F 3/14 (2013.01); G06T 1/20 (2013.01)] | 4 Claims |
1. An accurate control method of visual stimuli for a brain-computer interface, being implemented by a software system consisting of a generator, an actuator and a controller, functions and correlations of which are as follows:
the generator, a module running on a CPU, interacts with an experimenter to receive accurate visual stimuli parameters, and automatically generates an image sequence as required by the parameters according to a refresh rate of a display; the actuator, a module running on a GPU, has two interfaces “start” and “stop” that both support asynchronous calls; when the interface “start” is called, the actuator starts running to show the image sequence, generated by the generator, on a screen frame by frame at run time; and when the interface “stop” is called, the actuator stops running; and the controller, a module running on the CPU, asynchronously calls the interface “start” of the actuator at the beginning of a trail to start showing accurate visual stimuli, then accesses a hardware interface connected with an electroencephalograph instrument to write a marker into electroencephalogram signals, and asynchronously calls the interface “stop” of the actuator at the end of the trail to stop showing the accurate visual stimuli.
|