1. A method of detecting a seizure, comprising the steps of: a) dividing a digitized waveform of an electroencephalogram (EEG) recording into a plurality of epochs each having a first predetermined duration; (b) computing matching pursuit for a given one of the epochs to obtain a plurality of seizure atoms; (c) describing the seizure atoms and the given epoch with at least one neural network (NN) rule; (d) applying connected-object clustering to the epochs in a sliding window of a second predetermined duration to obtain a clustering result; and (e) establishing a seizure point from the clustering result.