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; wherein the images are classified by: setting a number of groups; selecting an image for each of the groups from the images; setting quantization data of the selected image to be reference data of each of the groups; calculating a difference value between the quantization data of each of the images and the reference data of each of the groups using a predetermined formula; determining a minimum difference value for each of the images; and executing a first classification of the images by allocating each of the images to a group that corresponds to the minimum difference value of each of the images.