With the rapid development in technology, computer aided detection or diagnosis has become an indispensable part of the medical industry. Automatic detection of epileptic events is one of the important subjects that have aroused wide interest from more and more investigators. This paper proposes a new model in classification of multi-category electroencephalogram (EEG) signals using time-frequency image and block texture features. The one-dimensional EEG is first mapped to time-frequency domain by means of short-time Fourier transform (STFT), which is adapted to obtain a two-dimensional time-frequency image (2D-TFI). With the idea of multi-scale blocking, the obtained phase images and amplitude images are divided into several sub-blocks corresponding to different frequency ranges and time periods. Then the texture features are calculated to describe the behaviour of EEG signals. Particularly, a novel quadratic feature selection method based on kernel entropy component analysis (KECA) and Kruskal-Wallis test (KW) has been proposed for dimension reduction, by which the features that contained most distinctive information were provided. Eventually, the optimal KECA-based features are fed to support vector machine (SVM) for deciding the class of corresponding EEG. The proposed model is found to achieve at least 99.30% accuracy, 98.0% sensitivity and 100% specificity for each of the eight clinical problems. Our scheme is proven to be effective for seizure detection, which can help doctors optimize the diagnosis workflow, reduce workload and improve detection precision. INDEX TERMS Seizure, EEG, two-dimensional time-frequency image, multi-scale blocking, texture features, kernel entropy component analysis, quadratic feature selection.