摘要
The accuracy of extracting projected pig area is critical to the accuracy of the weight measurement of pigs by machine vision.The capability of both the conventional and the edge detection methods for extracting pig area was examined using the images of 47 pigs of different weights.Relationship between the threshold value and the extracted area was numerically analyzed for both methods.It was found that the accuracy of the conventional method depended heavily on the threshold value,while choice of threshold value in the edge detection approach had no influence on the extracted area over a wide range.In normal lighting conditions,both methods yielded comparable values of predicted weight;however,under variable light intensities,the edge detection method was superior to the conventional method,because the former was proven to be independent of light intensities.This makes edge detection an ideal method for area extraction during the walk-through weighing process where pigs are allowed to move around.
基金
The project was supported in part by the National Research Initiative of the USDA Cooperative State Research,Education and Extension Service,grant number 2003-35503-13990.