为了客观评估猪肉各项指标和猪肉等级,采用MATLAB神经网络工具箱中的BP人工神经网络,利用猪胴体图像特征参数和活体猪图像特征参数建立BP神经网络模型。分别用猪胴体图像特征参数样本60个和活体猪图像特征参数样本80个进行了网络训练,并采用不同的BP神经网络隐含层的传递函数和隐含层神经元数量,得到 BP神经网络模型。通过仿真,将仿真结果与人工评估结果进行对比,结果表明BP人工神经网络模型可以评估猪肉各项指标和等级识别。在猪肉胴体图像特征指标下评价猪肉等级准确率达到98%,在活体猪图像特征参数评价猪肉等级准确率达到80%。说明猪肉胴体图像特征比活体猪图像特征参数更能代表猪肉质量品质也符合客观现实;同时也表明MATLAB神经网络工具箱中的BP人工神经网络可以应用在猪的等级评定中。
In order to evaluate pork parameters and pork grade objectively,this paper adopted BP artificial neural network in neural network toolbox of MATLAB,used hog's carcass image features and living hog's image features to establish BP neural network model of BP.Then trained 60 samples of hog's carcass image features and 80 samples living hog's image features,got the neural network model of BP.And adopted different BP neural networks to imply the transmission function of layer and implied the quantity of one layer of neurons to the artificial result and trained the influence of errors of the goal to compare correctly.Then compared simulation result and the artificial result.The result indicates BP artificial neural network model can assess pork every index and grade discern.Appraise the rate of accuracy of the pork grade and is up to 98% under the pork trunk vision characteristic index,appraise the rate of accuracy of the pork grade and is up to 80% in pig's vision characteristic parameter of living body.It proves that pork trunk vision characteristic can represent pork quality than living body pig vision characteristic parameter accord with the objective reality.The result indicates that at the same time the BP artificial neural network in MATLAB neural network toolbox can be applied to the grade evaluation of the pig.