Agarwood Grading Estimation Using Artificial Neural Network Technique and Carving Automation


  • Muhammad Syafiq Afif Ishak UTM
  • Yusmeeraz Yusof UTM
  • Mohd Hafizi Ahmad utm
  • Nurul Ezaila Alias utm
  • Mohd Rashidi Salim utm
  • Mohd Fadli Rahmat utm
  • Mohd Afzan Othman utm
  • Mohd Amri Md. Yunus UTM



Agarwood is a fragrant dark resinous wood formed when Aquilaria tress infected with a certain type of mold and appears like wood defects. It is the most valuable non-timber product has been traded in international markets because of its distinctive aroma, and can be processed into incense and perfumes. Agarwood grade is determined by several characteristics, such as black colour intensity, smell, texture and weight through visual inspection. However, this could lead to several problems such as false grading results. Traditionally, the carving process of separation of the uninfected Aquilaria wood that lacks of the dark resinous accomplished by using simple tools like knife and chisel. Hence, an expert worker is required to complete the task. In this paper, the Artificial Neural Network (ANN) technique is used to classify the Agarwood based on the features extraction from Gabor Filter and percentage of black colour estimation. At first, the images of seven groups of wood defects or knots are identified: dry, decayed, edge, encased, horn, leaf, and sound defect with total sample of 410 knots. Then, these images of knots are matched into three grade groups of Agarwood. Next, the experimental results show that the Agarwood can be classified into three grades groups based on knot and black intensity. A set of selected images of knots were used as trace patterns and carved on pieces of wood blocks by using a Computer Numerical Control (CNC) machine where the total time taken for each carving process was calculated. For each image, two Gabor Filter features and percentage of black colour were used as ANN inputs. In conclusion, the total accuracy of the experiments is 98% and the total time of carving is increased with the increased of grade group number.


I. Muhammad, "Cabaran dan Halatuju Perladangan Karas di Malaysia," Bengkel Gaharu Sesi I-2014, Fakulti Perhutanan, Universiti Putra Malaysia, 43400 UPM Serdang, Selangor, Malaysia, 10 Mac 2014. Available from (accessed 13.06.17).

A. Barden, N. A. Anak, T. Muliken, and M. Song, "Heart of the Matter: Gaharu and Trade and CITES Implementation for Aquilaria malaccensis," published by TRAFFIC, Traffic International, University of Minnesota, ISBN 9781858501772, 2001.

A. Abdullah, N. K. N. Ismail, T. A. A. Kadir, J. M. Zain, N. A. Jusoh, and N. M. Ali, "Agar Wood Grade Determination System Using Image Processing," 2007.

L. S. L. Chua, "Agarwood (Aquilaria malaccensis) in Malaysia," Non-detriment Finding Case Studies, NDF, Workshop, Mexico (2008) Available from (accessed 13.06.17).

Y. Nik Yasmin, "Comparison of chemical profiles of selected gaharu oils from Peninsular Malaysia," Malaysian Journal of Analytical Sciences, vol. 12, pp. 338-340, 2008.

L. T. Wyn and N. A. Anak, "Wood for the Trees: A Review of the Agarwood (Gaharu) Trade in Malaysia". published by TRAFFIC Southeast Asia Petaling Jaya, Selangor, Malaysia. ISBN 9789833393268, 2010.

Manual Penggredan Gaharu Jabatan Perhutanan Semenanjung Malaysia. Malaysia: published by Alamedia Sdn. Bhd., ISBN 978-967-0539-27-0, 2015.

H. F. Lim, M. P. Mamat, and Y. S. Chang, "Production, use and trade of gaharu in Peninsular Malaysia," in International Economic Conference on Trade & Industry, December 2007, pp. 1–10.

R. E. Uhrig, "Introduction to artificial neural networks," in Proceedings of the 1995 IEEE IECON 21st International Conference on Industrial Electronics, Control, and Instrumentation, 1995, pp. 33-37 vol.1.

D. Qi, P. Zhang, and L. Yu, "Study on wood defect detection based on artificial neural network," in 2008 IEEE Conference on Cybernetics and Intelligent Systems, 2008, pp. 951-956.

A. Dongare, R. Kharde, and A. D. Kachare, "Introduction to artificial neural network," International Journal of Engineering and Innovative Technology (IJEIT), vol. 2, pp. 189-193, 2012.

M. Mazlan and T. Dahlan, Pengredan dan Pemprosesan Gaharu. Selangor: Seminar Kebangsaan dan Pameran Gaharu, 2010.

(September). University of Oulu Wood and Knot Database. Available: imag/knots/KNOTS/ (accessed 13.06.17).

A. Marcano-Cedeño, J. Quintanilla-Domínguez, and D. Andina, "Wood defects classification using Artificial Metaplasticity neural network," in 2009 35th Annual Conference of IEEE Industrial Electronics, 2009, pp. 3422-3427




How to Cite

Ishak, M. S. A., Yusof, Y., Ahmad, M. H., Alias, N. E., Salim, M. R., Rahmat, M. F., Othman, M. A., & Md. Yunus, M. A. (2017). Agarwood Grading Estimation Using Artificial Neural Network Technique and Carving Automation. ELEKTRIKA- Journal of Electrical Engineering, 16(3), 36–41.