基于图像多通道K-SVD算法的牛脸识别研究
Research on cattle face recognition based on image multi-channel K-SVD algorithm
-
摘要: 为了实现中小型牧场实际养殖环境下牛只个体身份识别,达到精细化饲养的目的,试验提出了一种基于图像多通道K-奇异值分解(K-SVD)算法的字典学习算法来进行牛脸识别。该算法结合稀疏表示理论,通过R、G、B 3个通道获取更多图像细节和分量信息,将3个通道分量划分为n×n的网格重构输入矩阵。利用正交匹配追踪算法(OMP)对重构矩阵进行稀疏表示,结合K-SVD算法进行字典更新,为每类样本构造对应通道的学习字典。最后,利用该算法对20头牛的400张牛脸图像数据集进行验证,并与K-SVD算法和SRC算法进行比较。结果表明:图像多通道K-SVD算法的识别准确率为92.9%,在识别精度和稀疏表示能力上均优于K-SVD算法和SRC算法。说明将图像处理算法和稀疏表示理论进行结合,利用多通道信息可以提取更多的图像特征,进一步提升识别准确率。Abstract: In order to realize the individual identification of cattle in the actual breeding environment of small and medium-sized pastures and achieve the purpose of precision breeding, a dictionary learning algorithm based on image multi-channel K-singular value decomposition(K-SVD) was proposed for cattle face recognition. The algorithm is combined with sparse representation theory to obtain more component details of the image through R,G,B three-channel decomposition, and divide the three-channel components into n×n grids to reconstruct the input matrix. The reconstruction matrix is sparsely represented by orthogonal matching pursuit(OMP) algorithm, the dictionary is updated by the K-SVD, and a learning dictionary corresponding to each channel is constructed. The algorithm was used to test a dataset of 400 cattle face images from 20 cattle and compared with K-SVD algorithm and SRC algorithm. The results showed that the recognition rate of the image multi-channel K-SVD algorithm was 92.9%, which was better than K-SVD algorithm and SRC algorithm in the recognition accuracy and sparse representation ability. It is shown that by combining image processing algorithms and sparse representation theory, more image features can be extracted using multi-channel information to further improve the recognition accuracy.