Scientific Journal of Informatics
Vol. 11 No. 4: November 2024

Mackerel Tuna Freshness Identification Based on Eye Color Using K-Nearest Neighbor Enhanced by Contrast Stretching and Histogram Equalization

Dahlan, Dahlan (Unknown)
Iskandar, Rachmat (Unknown)
Ekawati, Nia (Unknown)
Sugianto, Castaka Agus (Unknown)



Article Info

Publish Date
23 Feb 2025

Abstract

Purpose: The present study focuses on the development of a robust fish freshness classification system based on the application of different digital image processing techniques from mackerel tuna eye images toward better classification. Methods: Contrast stretching and histogram equalization were done to improve image quality before the classification. The system contained 250 training images in a dataset, for five freshness classes which are 3, 6, 9, 12, and 15 hours post-catch, with 50 test images. For classification, the K-Nearest Neighbor (KNN) algorithm was employed with a parameter setting of K = 5, ensuring effective differentiation between the various freshness levels based on the enhanced image features. Result: The results depicted very low MSE values after enhancement at 6 hours, as low as MSE = 0.0012606 and PSNR = 28.9944 dB for contrast stretching, and for 12 hours, histogram equalization gave the best results, MSE = 0.0030712 and PSNR = 25.127 dB. Further, classification done through the KNN classifier with K=5 gave results with accuracy as high as 100% was achieved on the testing data, proving that the model was successfully able to identify the classes of freshness. Novelty: The novelty in the present research work is the integration of advanced image-processing techniques, which allow the achievement of an improved level of detection of fish freshness and a very useful solution to the seafood industry in view of product quality and safety assurance. Generally, the paper epitomizes an important milestone in the application of machine learning and image processing for the assessment of the quality of foods.

Copyrights © 2024






Journal Info

Abbrev

sji

Publisher

Subject

Computer Science & IT Control & Systems Engineering Decision Sciences, Operations Research & Management Electrical & Electronics Engineering Engineering

Description

Scientific Journal of Informatics (p-ISSN 2407-7658 | e-ISSN 2460-0040) published by the Department of Computer Science, Universitas Negeri Semarang, a scientific journal of Information Systems and Information Technology which includes scholarly writings on pure research and applied research in the ...