KUANTISASI WARNA KARTUN DARI CITRA NATURAL MENGGUNAKAN K-MEANS KLASTERING
Abstract
Cartoons are characterized by simple, flat, and solid colors, making them appealing for various applications, such as avatars or entertainment. However, the manual cartoonization process demands high artistic skill and is time-consuming. This research aims to automate the process through color quantization using K-Means Clustering as a solution to simplify the color palette of natural images. The main issue addressed is the selection of the optimal color mode and features to achieve the desired cartoon effect. In the methodology, the HSI (Hue, Saturation, Intensity) color mode is utilized, where K-Means clustering is specifically applied to the Hue feature only to separate color grouping from the influence of light gradation. The resulting clusters are then combined with discretized Intensity values to sharply distinguish between dark and light colors. Experimental results indicate that the K-Means algorithm is effective for color quantization, producing simpler and more solid colors that visually approximate the original color tones. This study proves that using the Hue feature in K-Means is a suitable strategy for realizing the flat color palette characteristic of cartoons.
Keywords
Full Text:
PDF 847-856 (Indonesian)References
C. Joshi, D. Jaiswal, and A. Patil, “Application of Cartoon Like Effects to Actual Images,” International Journal of Trend in Scientific Research and Development, vol. Volume-3, pp. 598–603, Apr. 2019, doi: 10.31142/ijtsrd22928.
S. Rajatha, A. S. Makkigadde, N. L. Kanchan, and K. J. Bhat, “Cartoonizer : Convert Images and Videos to Cartoon-Style Images and Videos,” International Journal of Research in Engineering, Science and Management, vol. 4, no. 7, pp. 275–278, 2021.
M. D. Malkauthekar, “Analysis of Euclidean distance and Manhattan distance measure in face recognition,” IET Conference Publications, vol. 2013, no. CP646, pp. 503–507, 2013, doi: 10.1049/cp.2013.2636.
T. M. S. Mulyana, D. Widyaningrum, J. A. Ginting, and T. L. S. Mulyana, “Building Drawing Line Art with High Pass Filtering and Image Morphology,” International Journal of Research in Engineering, Science and Management, vol. 5, no. 7 SE-Articles, pp. 66–70, Jul. 2022.
L. kabbai, A. Sghaier, A. Douik, and M. Machhout, “FPGA implementation of filtered image using 2D Gaussian filter,” International Journal of Advanced Computer Science and Applications, vol. 7, no. 7, pp. 514–520, 2016, doi: 10.14569/ijacsa.2016.070771.
T. M. S. Mulyana, “EFEK HIGH PASS FILTERING DENGAN KOEFESIEN NOL PADA CITRA BINER,” Jurnal Muara Sains, Teknologi, Kedokteran dan Ilmu Kesehatan, vol. 1, no. 1, May 2017, doi: 10.24912/jmstkik.v1i1.394.
A. Makandar and B. Halalli, “Image Enhancement Techniques using Highpass and Lowpass Filters,” Int J Comput Appl, vol. 109, no. 14, pp. 12–15, 2015.
P. Amoako-Yirenkyi, J. K. Appati, and I. K. Dontwi, “Performance Analysis of Image Smoothing Techniques on a New Fractional Convolution Mask for Image Edge Detection,” Open Journal of Applied Sciences, vol. 06, no. 07, pp. 478–488, 2016, doi: 10.4236/ojapps.2016.67048.
“Morphological Edge Detection Algorithm Based on Multi-Structure Elements of Different Directions,” vol. 1, no. 1, pp. 37–43, 2011.
C. Science and S. Engineering, “An Evolutionary Approach of Hand X-Ray Image Enhancement Using High Pass and Low Pass Filtering Techniques,” vol. 2, no. 3, pp. 453–456, 2012.
R. Sejal and P. Mitul, “Removal of the Fog from the Image Using Filters and Colour Model,” International Journal of Engineering Research & Technology, vol. 3, no. 1, pp. 553–557, 2014.
T. M. S. Mulyana and Herlina, “Evenly brightening using kurtosis Gaussian pattern to simplify image binarization,” J Phys Conf Ser, vol. 1397, no. 1, p. 012076, Dec. 2019, doi: 10.1088/1742-6596/1397/1/012076.
DOI: http://dx.doi.org/10.30813/j-alu.v8i2.9056
Refbacks
- There are currently no refbacks.
p-ISSN 2620-620X
e-ISSN 2621-9840
Indexed By
Recommended Tools:
Dimension