Classification of Seagrass Types Using GLCM Feature Extraction and K-Nearest Neighbor (KNN) Algorithm

Authors

  • M. Mudaffarsyah Universitas Maritim Raja Ali Haji
  • Muhammad Azza Al Kausar Universitas Maritim Raja Ali Haji
  • Obi Luter Sihombing Universitas Maritim Raja Ali Haji
  • Halta Putra Ash Sidiq Universitas Maritim Raja Ali Haji
  • Kirana Putri Fercia Universitas Maritim Raja Ali Haji
  • Nurul Hayaty Universitas Maritim Raja Ali Haji

Keywords:

GLCM, KNN, Classification, Digital Image, Seagrass

Abstract

Seagrass is a type of flowering plant (Angiospermae) that grows fully submerged in shallow coastal waters and estuaries, playing a vital role in marine ecosystems. Currently, seagrass species identification is still performed manually by experts, which is time-consuming, costly, and labor-intensive. To support more efficient conservation and ecological monitoring, an automated, fast, and accurate method is needed. This study proposes the combination of the K-Nearest Neighbors (KNN) algorithm for classification and Gray Level Co-occurrence Matrix (GLCM) for texture feature extraction. The seagrass image data was obtained from the Roboflow website, and the value of k used in KNN was set to 3. Feature extraction using GLCM was conducted at angles of 0°, 45°, 90°, and 135°. The results showed the highest accuracy at k=3, with 77.42% accuracy on training data and 73.33% on testing data. Therefore, the combination of KNN and GLCM has proven capable of providing fairly accurate results in identifying seagrass species.

Author Biographies

  • M. Mudaffarsyah, Universitas Maritim Raja Ali Haji

    Informatics Engineering Student

  • Muhammad Azza Al Kausar, Universitas Maritim Raja Ali Haji

    Informatics Engineering Student

  • Obi Luter Sihombing, Universitas Maritim Raja Ali Haji

    Informatics Engineering Student

  • Halta Putra Ash Sidiq, Universitas Maritim Raja Ali Haji

    Informatics Engineering Student

  • Kirana Putri Fercia, Universitas Maritim Raja Ali Haji

    Informatics Engineering Student

  • Nurul Hayaty, Universitas Maritim Raja Ali Haji

    Lecturer of Informatics Engineering Study Program

Downloads

Published

2024-10-30