山西农业大学学报(自然科学版)2019,Vol.39Issue(5):101-105,5.DOI:10.13842/j.cnki.issn1671-8151.201811036
基于机器视觉的生猪目标提取算法设计与实现
Design and implementation of pig’s target extraction algorithm based on machine vision
摘要
Abstract
[Objectives]The study was aimed to accurately and timely obtain the information of the activities of live pigs . [Methods] Based on genetic algorithm and simulated annealing algorithm ,the threshold of OTSU algorithm was calculated , and the number of iterations was reduced using gray histogram .Then the broadcasting mechanism in Python was applied to improve the rate of matrix operation .[Results] The experimental results showed that the threshold calculation time in OTSU algorithm was decreased more than 5% with the error less than 1% with the help of improved genetic algorithm based on sim-ulated annealing algorithm and gray histogram and broadcasting mechanism .[Conclusion] The optimized algorithm can provide a reference for real-time and accurate extraction of pigs'activity status such as their movement and sleep .关键词
图像分割/生猪/目标提取/算法设计Key words
Image segmentation/Pig/Object extraction/Algorithmic design分类
农业科技引用本文复制引用
Li Linwei,Liu Zhenyu,Li Yanhe,Yan Xia,Yang Pengfei,Lu Xiao..基于机器视觉的生猪目标提取算法设计与实现[J].山西农业大学学报(自然科学版),2019,39(5):101-105,5.基金项目
国家自然科学基金项目(31772651) (31772651)
山西农业大学科技创新基金项目(2018023) (2018023)