Color Moment and Gray Level Co-occurence Matrix in Classification of Soil Organic Matter for Patchouli Plantation

Candra Dewi


Patchouli is one of the essential plants that have the most potential and widely cultivated in Indonesia. Patchouli is greedily absorbing soil nutrients and organic matter. Therefore, the selection of soil with high organic matter will maximize the patchouli’s productivity. This paper aims to facilitate soil’s organic matter identification by classifying soil image based on the combination of color and texture features. The color feature extraction was done using the Color Moments method and the texture feature was done using Gray Level Co-occurence Matrix (GLCM) method. The selection of features was performed to obtain the best combination of color and texture features. The selected features then was used as input of classification by using Modified K-Nearest Neighbor (MKNN). The samples of soil that used as data were taken from several districts in Blitar, East Java province. The testing result of this research showed the highest accuracy of 93,33% by using 180 training data, and also particular color and texture feature combination.


Color moment; GLCM; MKNN; Patchouli; Soil organic matter


M. Djazuli, “Effect of npk fertilizer and patchouli waste compost application on growth and productivity of patchouli”, Buletin Littro, Vol. 24, No. 2, pp. 87-92, 2013.

M. V. Nathan. Soils, Plant Nutrition and Nutrient Management. University of Missouri Extension. 2009. [Online]. Available:

S. P. More, M. A. Khan, S. P. R. Agrawal, “Soil nutrient detection through image processing in chromatogram image”, International Journal of Pure and Applied Research in Engineering and Technology, Vol. 2 (8), pp. 360-364, 2014.

P.T. Sorenson, S.A. Quideau, B. Rivard, “High resolution measurement of soil organic carbon and total nitrogen with laboratory imaging spectroscopy”, Geoderma, Vol. 315, pp. 170-177, 2018.

F. Mindru, T. Tuytelaars, L. V. Gool, T. Moons, “Moment invariants for recognition under changing viewpoint and illumination”, Computer Vision and Image Understanding, Vol. 94, Issues 1-3, pp. 3-27, 2004.

H. Zhou, Y. Shen, Xinghui, Z. Bo, L. Zigang, FuNaFan, “Digital image modification detection using color information and its histograms”, Forensic Science International, Vol. 266, pp. 379-388, 2016.

M. Gong, Y. Hao, H. Mo, H. Li, “Naturally combined shape-color moment invariants under affine transformations”, Computer Vision and Image Understanding, Vol. 162, 2017, pages 46-56.

L.K.Pavithra and T. S. Sharmila, “An efficient framework for image retrieval using color, texture and edge features”, Computers and Electrical Engineering. Vol. 70, pp. 580 – 593, 2018.

C. Dewi, A. Basuki, “Identifying citronella plants from uav imagery using support vector machine”, Telkomnika, 16: 4, pp. 1877 – 1885, 2018.

M.H.Abd Latif, H.Md. Yusof, S.N. Sidek, N. Rusli, “Implementation of glcm features in thermal imaging for human affective state detection”, Procedia Computer Science, Vol. 76, pp. 308-315, 2015.

C. Malegori, L. Franzetti, R. Guidetti, E. Casiraghi, R. Rossi, “GLCM, an image analysis technique for early detection of biofilm”, Journal of Food Engineering, Vol. 185, pp. 48-55, 2016.

X. Ou, W. Pan, P. Xiao, “In vivo skin capacitive imaging analysis by using grey level co-occurrence matrix (GLCM), International Journal of Pharmaceutics, Vol. 460, Issues 1–2, pp. 28-32, 2014.

R. B. Vallabhaneni, V.Rajesh, “Brain tumour detection using mean shift clustering and glcm features with edge adaptive total variation denoising technique”, Alexandria Engineering Journal, Vol. 57 Issue 4, pp 2387-2392, 2018.

I. Saini, D. Singh, A. Khosla, “QRS detection using K-Nearest Neighbor Algorithm (KNN) and evaluation on standard ECG databases”, Journal of Advanced Research, Vol. 4, Issue 4, pp. 331-344, 2013.

X. Zhou, S.W. Gang, C. Li, D. Shou, “KNN processing with co-space distance in solomo systems”, Expert Systems With Applications, Vol. 41, Issue 16, pp. 6967-6982, 2014.

C. YunYang, J. Jen Chou, “A comparative evaluation approach for the classification of rotifers with modified non-parametric KNN”, Image and Vision Computing, Vol. 23, Issue 4, pp. 427-439, 2005.

F.R. Marcos J.J.Romero. M.G.N. Rojero ,J.F. Fernandez, “Effect of ZnO on the structure, microstructure and electrical properties of KNN-modified”, Piezoceramics Journal of the European Ceramic Society, Vol.29, Issue 14, pp. 3045-3052, 2009.

X. Vendrell, J.E.García, F.Rubio-Marcos, D.A.Ochoa, L.Mestres, J.F.Fernández, "Exploring different sintering atmospheres to reduce nonlinear response of modified KNN”, Piezoceramics. Journal of the European Ceramic Society, Vol. 33, Issue 4, pp. 825-831, 2013.

Z. Cen, Y. Zhen, W. Feng, P. Zhao L. Chen, X. Wang, L. Li, “Sintering temperature effect on microstructure, electrical properties and temperature stability of Mno-Modified KNN-Based Ceramics”. Journal of the European Ceramic Society, Vol. 38, Issue 9, pp. 3136-3146, 2018.

Plantation Agency of East Java Province. 2013. Budidaya Tanaman Nilam. [Online]. Available :

B.W. Murphy, Soil Organic Matter and Soil Functional – Review of the Literature and Underlying Data, Australia: Department of the Environment, 2014.

W.L. Martinez and A.R. Martinez, Computational Statistics Handbook With Matlab, Florida : CRC Press LLC, 2002.

H. Parvin, H. Alizadeh and B. Minati, “Modification on K-Nearest Neighbor Classification”, Global Journal of Computer Science and Technology, Vol.10 Issue 14, pp. 37-41, 2010.

Total views : 9 times


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

shopify stats IJEECS visitor statistics