IMPLEMENTATION OF THE WATERSHED METHOD FOR SEGMENTING PADANG TRADITIONAL CUISINE IMAGES TO IMPROVE CULINARY OBJECT RECOGNITION ACCURACY

Authors

  • Akbar Adam Pratama Universitas Harapan Medan
  • Ilham Faisal Universitas Harapan Medan

DOI:

https://doi.org/10.69916/jkbti.v5i1.391

Keywords:

image segmentation, watershed, padang cuisine, digital image processing, segmenting images

Abstract

This study examines the implementation of the Watershed method for segmenting images of traditional Padang cuisine with the aim of improving culinary object recognition accuracy. Padang dishes possess complex visual characteristics, where multiple food components such as rice, side dishes, chili sauce, and vegetables are presented on a single plate. These elements often overlap and exhibit similar colors and textures, making image segmentation challenging when using conventional methods. Therefore, the Watershed algorithm was selected due to its ability to separate objects based on intensity variations and object contours, even when boundaries are unclear or blurred.

The research process begins with image data collection from a publicly available Kaggle dataset containing various Padang food images. The preprocessing stage includes RGB to grayscale conversion, Gaussian blur filtering, and histogram equalization to enhance image quality and reduce noise. Subsequently, thresholding is applied to produce binary images, followed by distance transform to identify object cores. Marker determination is then performed to distinguish foreground and background regions, which serve as the basis for the Watershed segmentation process.

The Watershed algorithm operates by simulating water flooding from predefined markers until meeting points form object boundaries. Experimental results show that the method can generate clear separation lines between food objects in visually complex scenes. However, quantitative evaluation reveals that the segmented foreground area remains relatively small, indicating that further optimization is required. Overall, the Watershed method demonstrates potential for handling overlapping objects and unclear boundaries, and can serve as a foundation for future culinary image analysis systems.

Downloads

Download data is not yet available.

References

J. Trolio, M. Eckman, and K. Mehta, “Leveraging Globalization to Revive Traditional Foods,” J. Sustain. Dev., vol. 9, no. 6, pp. 212–219, 2016, doi: 10.5539/jsd.v9n6p212.

F. K. K. Putra, M. K. Putra, and S. Novianti, “Taste of asean: traditional food images from Southeast Asian countries,” J. Ethn. Foods, vol. 10, no. 1, p. 20, 2023, doi: 10.1186/s42779-023-00189-0.

A. M. Castillo, R. D. Aradanas, E. R. Arboleda, A. A. Dizon, and R. M. Dellosa, “Coffee type classification using gray level co-occurrence matrix feature extraction and the artificial neural network classifier,” Int. J. Sci. Technol. Res., vol. 8, no. 10, pp. 1463–1465, 2019.

F. S. Lesiangi, A. Y. Mauko, and B. S. Djahi, “Feature extraction Hue, Saturation, Value (HSV) and Gray Level Cooccurrence Matrix (GLCM) for identification of woven fabric motifs in South Central Timor Regency,” J. Phys. Conf. Ser., vol. 2017, no. 1, 2021, doi: 10.1088/1742-6596/2017/1/012010.

I. N. T. Sutaguna et al., INOVASI KULINER DALAM INDUSTRI PARIWISATA. Cendikia Mulia Mandiri, 2025.

Q. N. Munawaroh, “Sistem particle image velocimetry untuk mengukur kecepatan aliran terbuka.” Universitas Islam Negeri Maulana Malik Ibrahim, 2019.

Y. Yu et al., “Techniques and Challenges of Image Segmentation: A Review,” Electronics, vol. 12, no. 5. p. 1199, 2023. doi: 10.3390/electronics12051199.

K. K. Brar et al., “Image segmentation review: Theoretical background and recent advances,” Inf. Fusion, vol. 114, p. 102608, 2025, doi: https://doi.org/10.1016/j.inffus.2024.102608.

N. Benarkah, V. R. Prasetyo, and A. B. Prakarsa, “Leveraging Deep Learning for Cultural Preservation : A Mobile Application for Padang Cuisine,” Appl. Inf. Syst. Manag., vol. 8, no. 2, pp. 285–296, 2025, doi: 10.15408/aism.v8i2.46680.

R. Noviana, I. Rasal, and E. Utari, “Implementasi Algoritma Watershed Untuk Segmentasi Nodul Kanker Pada CITRA CT Scan Kanker Paru,” Implementasi Algoritm., vol. 2, no. November, pp. 249–257, 2020.

C. Li, J. Huang, X. Tian, and L. Tang, “Application of the Watershed Algorithm in the Image Segmentation BT - Big Data Analytics for Cyber-Physical System in Smart City,” M. Atiquzzaman, N. Yen, and Z. Xu, Eds., Singapore: Springer Singapore, 2020, pp. 1676–1680.

A. Kornilov and I. Safonov, “A Review of Watershed Implementations for Segmentation of Volumetric Images,” J. Imaging Rev., vol. 8, no. 122, 2022.

Q. Lutfia, “Implementasi Local Adaptive Thresholding dan Watershed Dalam Segmentasi Sel Pap Smear Serviks Tumpang Tindih.” UPN Veteran Jawa Timur, 2024.

T. Wen et al., “Review of research on the instance segmentation of cell images,” Comput. Methods Programs Biomed., vol. 227, p. 107211, 2022, doi: https://doi.org/10.1016/j.cmpb.2022.107211.

Y. Wu and Q. Li, “The Algorithm of Watershed Color Image Segmentation Based on Morphological Gradient.,” Sensors (Basel)., vol. 22, no. 21, Oct. 2022, doi: 10.3390/s22218202.

Downloads

Published

2026-01-14

PlumX Metrics

Scite Metrics

Altmetric

How to Cite

[1]
Akbar Adam Pratama and Ilham Faisal, “IMPLEMENTATION OF THE WATERSHED METHOD FOR SEGMENTING PADANG TRADITIONAL CUISINE IMAGES TO IMPROVE CULINARY OBJECT RECOGNITION ACCURACY”, JKBTI, vol. 5, no. 1, pp. 01–10, Jan. 2026.