Implementasi Color Quantization pada Kompresi Citra Digital dengan Menggunakan Model Clustering Berdasarkan Nilai Max Variance pada Ruang Warna RGB

Penulis

  • Tommy Tommy Universitas Harapan Medan, Medan
  • Rosyidah Siregar Universitas Harapan Medan, Medan
  • Andi Marwan Elhanafi Universitas Harapan Medan, Medan
  • Imran Lubis Universitas Harapan Medan, Medan

DOI:

https://doi.org/10.25126/jtiik.2021863490

Abstrak

Kompresi citra dapat dilakukan dengan menggunakan color quantization di mana dengan mengurangi jumlah warna yang terdapat pada citra maka akan dapat mengurangi jumlah bit yang digunakan untuk merepresentasikan warna – warna tersebut. Semakin rendah jumlah warna yang dikurangi dalam rangka mencapai rasio kompresi yang optimal berdampak pada terdegradasinya kualitas dari citra. Secara umum color quantization menggunakan model clustering dalam proses pembentukan color palette yang akan digunakan sebagai referensi pada saat kuantisasi. Penelitian ini menggunakan model clustering berdasarkan nilai max variance pada channel RGB secara terpisah. Proses clustering dilakukan dengan membelah populasi cluster sebelumnya menggunakan nilai mean dari channel RGB yang memiliki nilai variance tertinggi. Color palette kemudian dibentuk menggunakan centroid hasil dari proses clustering. Percobaan pada beberapa citra uji dengan format 32bpp yang kemudian dikompresi menggunakan kuantisasi warna pada format 8bpp dan 4bpp memberikan kualitas dan rasio kompresi yang cukup baik yang diukur menggunakan ukuran MSE, PSNR dan CR di mana nilai MSE yang diperoleh berkisar 3.87 sampai 6.3 pada kuantisasi 8bpp dan 13.39 sampai 19.62 pada kuantisasi 4bpp. Sedangkan rasio kompresi yang diperoleh adalah sebesar 1.44 sampai 2.09 pada kuantisasi 8bpp dan 2.87 sampai 4.23 pada kuantisasi 4bpp.

 

Abstract

Image compression can be done by using color quantization where by reducing the number of colors contained in the image it can reduce the number of bits used to represent the colors. The lower the number of colors reduced in order to achieve the optimal compression ratio has an impact on the quality of the image. In general, color quantization uses clustering models in the process of constructing color palette that will be used as a reference during quantization. This study uses a clustering model based on the max variance value on the RGB channel separately. The clustering process is done by dividing the previous cluster population using the mean value of the RGB channel which has the highest variance value. The color palette is then formed using centroids resulting from the clustering process. Experiments on some test images in 32bpp format which are then compressed using color quantization in 8bpp and 4bpp formats provide a fairly good quality and compression ratio with MSE, PSNR and CR assessment where the MSE values obtained ranged from 3.87 to 6.3 at 8bpp quantization and 13.39 to 19.62 at 4bpp quantization. While the compression ratio obtained is 1.44 to 2.09 at 8bpp quantization and 2.87 to 4.23 at 4bpp quantization


Downloads

Download data is not yet available.

Referensi

ADIWIJAYA, MAHARANI, M., DEWI, B., YULIANTO, F., & PURNAMA, B., 2013. Digital Image Compression using Graph Coloring Quantization Based on Wavelet-SVD. Journal of Physics: Conference Series 423 012019.

CHANG, Y., DAH-JYE, L., & ARCHIBALD, J., 2007. Using Color Variation to Mimic Human Visual Perception for Color Image Quantization. International Journal of Information Technology and Intelligent Computing. 4, pp. 127-132.

DING, W., LU, Y., WU, F., & LI, S., 2007. Rate-distortion optimized color quantization for compound image compression - art. no. 65082Q. Proceedings of SPIE - The International Society for Optical Engineering. 10.1117/12.705185.

FRACKIEWICZ, M., MANDRELLA, A., & PALUS, H., 2019. Fast Color Quantization by K-Means Clustering Combined with Image Sampling. Symmetry, 11, 963, doi:10.3390/sym11080963.

Fahim, A. (2018). Homogeneous Densities Clustering Algorithm. I.J. Information Technology and Computer Science, pp. 1-10, DOI: 10.5815/ijitcs.2018.10.01.

HECKBERT, P., 1982. Color image quantization for frame buffer display. Computer Graphics, Vol. 16, No. 3, pp. 297-307.

Hennig, C. (2017). Cluster Validation By Measurement Of Clustering Characteristics Relevant To The User. arXiv preprint arXiv:1703.09282.

LIU, G.-H., & YANG, J.-Y., 2013. Content-based image retrieval using color difference histogram. Pattern Recognition, Volume 46, Issue 1, pp. 188-198, ISSN 0031-3203,

https://doi.org/10.1016/j.patcog.2012.06.001.

MÁRQUEZ, S., & RIVERON, E., 2008. A Simple and Effective Method of Color Image Quantization. 5197. 749-757. 10.1007/978-3-540-85920-8_91.

NGO, G., & MACABEBE, E., 2016. Image segmentation using K-means color quantization and density-based spatial clustering of applications with noise (DBSCAN) for hotspot detection in photovoltaic modules. IEEE Region 10 Conference (TENCON), Singapore, 2016, pp. 1614-1618.

OZTURK, C., HANCER, E., & KARABOGA, D., 2014. Color Image Quantization: A Short Review and an Application with Artificial Bee Colony Algorithm. INFORMATICA. 25. 10.15388/Informatica.2014.25, pp. 485-503.

PRABOWO, H., & AHMAD, T., 2018. Peningkatan Kualitas Citra Stego pada Adaptive Pixel Block Grouping Reduction Error Expansion dengan Variasi Model Scanning pada Pembentukan Kelompok Piksel. Jurnal Teknologi Informasi dan Ilmu Komputer; Vol 5, No 2,

http://dx.doi.org/10.25126/jtiik.201852633.

SUMIJAN, PURNAMA, P., & ARLIS, S., 2019. Peningkatan Kualitas Citra CT-Scan dengan Penggabungan Metode Filter Gaussian dan Filter Median. Jurnal Teknologi Informasi dan Ilmu Komputer; Vol 6, No 6, http://dx.doi.org/10.25126/jtiik.201966870.

THOMPSON, S., CELEBI, M., & BUCK, K., 2019. Fast color quantization using MacQueen’s k means algorithm. Journal of Real-Time Image Processing,

https://doi.org/10.1007/s11554-019-00914-6.

TROPEZADO, J., & FERNANDEZ, P., 2016. Uniform Partition Mean-based Color Quantization for Image Compression. Conference: 14th National Conference on Information Technology Education (NCITE 2016).

VEENMAN, C., REINDERS, M., & BACKER, E., 2002. A maximum variance cluster algorithm. Pattern Analysis and Machine Intelligence, IEEE Transactions on. 24. 1273-1280. 10.1109/TPAMI.2002.1033218.

XIANG, Z., 1997. Color Image Quantization by Minimizing the Maximum Intercluster Distance. ACM Transactions on Graphics, Vol. 16, No. 3, 260-276.

ZAQOUT, I., 2014. Content-Based Image Retrieval using Color Quantization and Angle Representation. INTERNATION JOURNAL OF COMPUTERS AND TECHNOLOGY, Vol. 13, No. 10, ISSN 2277-3061, 5094-5104.

Diterbitkan

24-11-2021

Terbitan

Bagian

Ilmu Komputer

Cara Mengutip

Implementasi Color Quantization pada Kompresi Citra Digital dengan Menggunakan Model Clustering Berdasarkan Nilai Max Variance pada Ruang Warna RGB. (2021). Jurnal Teknologi Informasi Dan Ilmu Komputer, 8(6), 1099-1106. https://doi.org/10.25126/jtiik.2021863490