Amraee Somaieh, Chinipardaz Maryam, Charoosaei Mohammadali
Department of Electrical and Computer Engineering, Jundi-Shapur University of Technology, Dezful, 64615/334, Iran.
Vis Comput Ind Biomed Art. 2022 May 10;5(1):13. doi: 10.1186/s42492-022-00111-6.
This paper addresses the efficiency of two feature extraction methods for classifying small metal objects including screws, nuts, keys, and coins: the histogram of oriented gradients (HOG) and local binary pattern (LBP). The desired features for the labeled images are first extracted and saved in the form of a feature matrix. Using three different classification methods (non-parametric K-nearest neighbors algorithm, support vector machine, and naïve Bayesian method), the images are classified into four different classes. Then, by examining the resulting confusion matrix, the performances of the HOG and LBP approaches are compared for these four classes. The effectiveness of these two methods is also compared with the "You Only Look Once" and faster region-based convolutional neural network approaches, which are based on deep learning. The collected image set in this paper includes 800 labeled training images and 180 test images. The results show that the use of the HOG is more efficient than the use of the LBP. Moreover, a combination of the HOG and LBP provides better results than either alone.
本文探讨了两种用于对包括螺丝、螺母、钥匙和硬币在内的小金属物体进行分类的特征提取方法的效率:方向梯度直方图(HOG)和局部二值模式(LBP)。首先提取带标签图像的所需特征,并以特征矩阵的形式保存。使用三种不同的分类方法(非参数K近邻算法、支持向量机和朴素贝叶斯方法),将图像分为四个不同的类别。然后,通过检查所得的混淆矩阵,比较HOG和LBP方法对这四个类别的性能。还将这两种方法的有效性与基于深度学习的“你只看一次”(You Only Look Once)和更快的基于区域的卷积神经网络方法进行了比较。本文收集的图像集包括800张带标签的训练图像和180张测试图像。结果表明,使用HOG比使用LBP更有效。此外,HOG和LBP的组合比单独使用任何一种方法都能提供更好的结果。