A DCT based approach to epileptic seizure detection