|
Algorithm 1 Algorithm for feature extraction |
Input: EEG database , where n is the number of EEG channels, s means the number of subjects.
Output: RGB map of cwPLI+SaEn
for
to s do
preprocess the EEG signal
dataset segmented each into epochs of 1 s
calculate the PLI matrix of each
for to n do
for to n do
calculate the correlation weight of each in matrix
end for
end for
end for
for
to d do
calculate the PLI of each
calculate the SaEn of each
()
end for
Convert to RGB map
return Outputs
|