A pork freshness detection method based on the fusion of color and smell data
A technology of data fusion and detection methods, applied in color/spectral characteristic measurement, measuring devices, instruments, etc., can solve the problems of non-quantified detection results, inability to realize real-time detection, lack of precision, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0014] refer to figure 1 , the method of the present invention comprises the following steps:
[0015] A. Obtain the pork image information through the machine vision acquisition device, use the Otsu algorithm to select the optimal threshold, and use the threshold to segment the grayscale image to complete the background segmentation of the image;
[0016] use figure 2 The machine vision acquisition device in obtains the original image information of pork, assuming that the image is f, the gray level of the image is L, and the number of pixels with the gray value g is n i , the total number of pixels in the image is N, then the probability of occurrence of each gray value is:
[0017]
[0018] Set the threshold T to divide the image into background and target areas. The background area A includes pixels with grayscales from 1 to T, and the target area B includes pixels with grayscales from T+1 to L. Then the probability of area A and area B They are:
[0019]
[002...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


