1. A computer-implemented method for classifying images using an electronic device, the method comprising: extracting parameters from each of the images via a processor of the electronic device; quantizing the parameters of each of the images to obtain quantization data of each of the images; and classifying the images according to the quantization data of each of the images.