Journal of Artificial Intelligence and Engineering Applications (JAIEA)
Vol. 5 No. 3 (2026): June 2026

Comparative Analysis of Sobel, Prewitt, and Canny Methods in Detecting Object Edges in Betta Fish Images

Alfin Alfarizi (Universitas Islam Negeri Sumatera Utara)
Cici El Dirrah Syafitri Simanungkalit (Universitas Islam Negeri Sumatera Utara)
Fahmi Nur Alimsyah Purba (Universitas Islam Negeri Sumatera Utara)
Lailan Sofinah Harahap (Universitas Islam Negeri Sumatera Utara)



Article Info

Publish Date
15 Jun 2026

Abstract

Edge detection is a crucial stage in digital image processing for recognizing the shape and structure of an object. The application of edge detection to betta fish images presents a unique challenge due to their layered, intricately textured, and often semi-transparent fin morphology. This study aims to analyze and compare the performance of three edge detection algorithms, namely Sobel, Prewitt, and Canny, in extracting shape features from betta fish images. The research methodology involved converting the dataset images into a grayscale format and subsequently implementing the three algorithms using the OpenCV library in the Python programming language. The evaluation was conducted visually by observing the sharpness of the edge lines, object continuity, and the occurrence of noise. The results indicate that the Canny algorithm provides the most optimal performance, as it is capable of detecting the thin edge lines of the fish fins with greater detail and continuity due to its hysteresis thresholding process. Meanwhile, the Sobel and Prewitt methods produced thicker edge lines but were less sensitive to the details of the transparent fins. This study is expected to serve as a reference in selecting the appropriate segmentation method for biological objects with complex morphologies.

Copyrights © 2026






Journal Info

Abbrev

JAIEA

Publisher

Subject

Automotive Engineering Computer Science & IT Control & Systems Engineering

Description

The Journal of Artificial Intelligence and Engineering Applications (JAIEA) is a peer-reviewed journal. The JAIEA welcomes papers on broad aspects of Artificial Intelligence and Engineering which is an always hot topic to study, but not limited to, cognition and AI applications, engineering ...