Galaxy Morphological Classification with Zernike Moments and Machine Learning Approaches

Classifying galaxies is an essential step for studying their structures and dynamics. Using GalaxyZoo2 (GZ2) fractions thresholds, we collect 545 and 11,735 samples in nongalaxy and galaxy classes, respectively. We compute the Zernike moments (ZMs) for GZ2 images, extracting unique and independent c...

Full description

Bibliographic Details
Published in:The Astrophysical Journal Supplement Series
Main Authors: Hamed Ghaderi, Nasibe Alipour, Hossein Safari
Format: Article
Language:English
Published: IOP Publishing 2025-01-01
Subjects:
Online Access:https://doi.org/10.3847/1538-4365/ada8ab
_version_ 1849488129144127488
author Hamed Ghaderi
Nasibe Alipour
Hossein Safari
author_facet Hamed Ghaderi
Nasibe Alipour
Hossein Safari
author_sort Hamed Ghaderi
collection DOAJ
container_title The Astrophysical Journal Supplement Series
description Classifying galaxies is an essential step for studying their structures and dynamics. Using GalaxyZoo2 (GZ2) fractions thresholds, we collect 545 and 11,735 samples in nongalaxy and galaxy classes, respectively. We compute the Zernike moments (ZMs) for GZ2 images, extracting unique and independent characteristics of galaxies. The uniqueness due to the orthogonality and completeness of Zernike polynomials, reconstruction of the original images with minimum errors, invariances (rotation, translation, and scaling), different block structures, and discriminant decision boundaries of ZMs’ probability density functions for different order numbers indicate the capability of ZMs in describing galaxy features. We classify the GZ2 samples, first into the galaxies and nongalaxies and second, galaxies into spiral, elliptical, and odd objects (e.g., ring, lens, disturbed, irregular, merger, and dust lane). The two models include the support vector machine (SVM) and 1D convolutional neural network (1D-CNN), which use ZMs, compared with the other three classification models of 2D-CNN, ResNet50, and VGG16 that apply the features from original images. We find the true skill statistic (TSS) greater than 0.86 for the SVM and 1D-CNN with ZMs for the oversampled galaxy–nongalaxy classifier. The SVM with ZMs model has a high-performance classification for galaxy and nongalaxy data sets. We show that the SVM with ZMs, 1D-CNN with ZMs, and VGG16 with vision transformer are high-performance (accuracy larger than 0.90 and TSS greater than 0.86) models for classifying the galaxies into spiral, elliptical, and odd objects. We conclude that these machine learning algorithms are helpful tools for classifying galaxy images. The Python notebooks are available on GitHub at https://github.com/hmddev1/machine_learning_for_morphological_galaxy_classification .
format Article
id doaj-art-efa29f2f467c4ec09b3a7380fc92cd19
institution Directory of Open Access Journals
issn 0067-0049
language English
publishDate 2025-01-01
publisher IOP Publishing
record_format Article
spelling doaj-art-efa29f2f467c4ec09b3a7380fc92cd192025-08-20T03:09:28ZengIOP PublishingThe Astrophysical Journal Supplement Series0067-00492025-01-0127711010.3847/1538-4365/ada8abGalaxy Morphological Classification with Zernike Moments and Machine Learning ApproachesHamed Ghaderi0https://orcid.org/0009-0005-7934-2752Nasibe Alipour1https://orcid.org/0000-0003-3643-5121Hossein Safari2https://orcid.org/0000-0003-2326-3201Department of Physics, Faculty of Science, University of Zanjan , University Blvd., Zanjan, Postal Code 45371-38791, Zanjan, Iran ; safari@znu.ac.irDepartment of Physics, University of Guilan , Rasht, 41335-1914, Iran ; nasibealipour@gmail.comDepartment of Physics, Faculty of Science, University of Zanjan , University Blvd., Zanjan, Postal Code 45371-38791, Zanjan, Iran ; safari@znu.ac.ir; Observatory, Faculty of Science, University of Zanjan , University Blvd., Zanjan, Postal Code 45371-38791, Zanjan, IranClassifying galaxies is an essential step for studying their structures and dynamics. Using GalaxyZoo2 (GZ2) fractions thresholds, we collect 545 and 11,735 samples in nongalaxy and galaxy classes, respectively. We compute the Zernike moments (ZMs) for GZ2 images, extracting unique and independent characteristics of galaxies. The uniqueness due to the orthogonality and completeness of Zernike polynomials, reconstruction of the original images with minimum errors, invariances (rotation, translation, and scaling), different block structures, and discriminant decision boundaries of ZMs’ probability density functions for different order numbers indicate the capability of ZMs in describing galaxy features. We classify the GZ2 samples, first into the galaxies and nongalaxies and second, galaxies into spiral, elliptical, and odd objects (e.g., ring, lens, disturbed, irregular, merger, and dust lane). The two models include the support vector machine (SVM) and 1D convolutional neural network (1D-CNN), which use ZMs, compared with the other three classification models of 2D-CNN, ResNet50, and VGG16 that apply the features from original images. We find the true skill statistic (TSS) greater than 0.86 for the SVM and 1D-CNN with ZMs for the oversampled galaxy–nongalaxy classifier. The SVM with ZMs model has a high-performance classification for galaxy and nongalaxy data sets. We show that the SVM with ZMs, 1D-CNN with ZMs, and VGG16 with vision transformer are high-performance (accuracy larger than 0.90 and TSS greater than 0.86) models for classifying the galaxies into spiral, elliptical, and odd objects. We conclude that these machine learning algorithms are helpful tools for classifying galaxy images. The Python notebooks are available on GitHub at https://github.com/hmddev1/machine_learning_for_morphological_galaxy_classification .https://doi.org/10.3847/1538-4365/ada8abGalaxy classification systemsGalaxy structureSpiral galaxiesElliptical galaxies
spellingShingle Hamed Ghaderi
Nasibe Alipour
Hossein Safari
Galaxy Morphological Classification with Zernike Moments and Machine Learning Approaches
Galaxy classification systems
Galaxy structure
Spiral galaxies
Elliptical galaxies
title Galaxy Morphological Classification with Zernike Moments and Machine Learning Approaches
title_full Galaxy Morphological Classification with Zernike Moments and Machine Learning Approaches
title_fullStr Galaxy Morphological Classification with Zernike Moments and Machine Learning Approaches
title_full_unstemmed Galaxy Morphological Classification with Zernike Moments and Machine Learning Approaches
title_short Galaxy Morphological Classification with Zernike Moments and Machine Learning Approaches
title_sort galaxy morphological classification with zernike moments and machine learning approaches
topic Galaxy classification systems
Galaxy structure
Spiral galaxies
Elliptical galaxies
url https://doi.org/10.3847/1538-4365/ada8ab
work_keys_str_mv AT hamedghaderi galaxymorphologicalclassificationwithzernikemomentsandmachinelearningapproaches
AT nasibealipour galaxymorphologicalclassificationwithzernikemomentsandmachinelearningapproaches
AT hosseinsafari galaxymorphologicalclassificationwithzernikemomentsandmachinelearningapproaches