A method and device for non-destructive evaluation of pork quality grade based on multispectral imaging

Through multispectral imaging technology and information fusion, combined with adjustable LED light sources and dark boxes, the problem of strong subjectivity and poor accuracy of manual judgment in pork quality grade evaluation has been solved, and fast, non-destructive and real-time detection of pork quality grade has been achieved, improving the efficiency of pork quality grade evaluation. Identification accuracy and analysis efficiency.

CN115372274BActive Publication Date: 2024-08-27HEFEI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210906140.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2024-08-27
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

The existing technology has the problems of strong subjectivity of manual judgment, many interference factors, poor accuracy, long time consumption and limitations of single spectrum or computer vision technology in the evaluation of pork quality grade, making it impossible to achieve fast, non-destructive and real-time detection.

Method used

Using multispectral imaging technology combined with information fusion, multispectral image information of pork samples is collected through a multispectral imager, spatial consistency correction and automatic threshold segmentation based on polynomial regression are performed, and a BP neural network is used to establish a database model of pork quality grades. The LED light source and dark box can be adjusted to achieve fast, non-destructive and real-time evaluation of pork quality grade.

Benefits of technology

It improves the accuracy and efficiency of pork quality grade judgment, reduces the subjectivity of manual judgment, realizes fast, lossless, real-time data transmission, reduces the impact of temperature and light on detection results, and improves identification accuracy and analysis efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115372274B
    Figure CN115372274B
Patent Text Reader

Abstract

The present invention provides a method and device for non-destructive evaluation of pork quality grade based on multi-spectral imaging, comprising a dark box, a stage, a multi-spectral imager, an adjustable LED light source, a controller, a computer, a cloud server, a mobile terminal and the like. The multi-spectral imager in the multi-spectral imager receives sample reflected light, and the reflected signal is transmitted to the multi-spectral system, which is then processed by the computer and the information is uploaded to the cloud server. The method and device realize the judgment of pork quality grade by multi-spectral imaging technology, and the muscle color, fat color and gloss of pork samples are combined with spectral image data by information fusion technology, which replaces traditional sensory evaluation. The method has the advantages of fast, non-destructive and real-time data transmission, and solves the defects of strong subjectivity of manual judgment and untimely evaluation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of meat quality detection, and more specifically, relates to a method and a device for non-destructively evaluating pork quality grade based on multi-spectral imaging. Background Art

[0002] The evaluation of pork quality grade is an effective basis for achieving fair trade, among which meat color is one of the important pork quality evaluation criteria, which is determined by muscle color, fat color and gloss. Meat color is the external manifestation of physiological, biochemical and microbiological changes in meat, and is also the most direct perceptual information of human vision, affecting people's desire to buy meat; the color of pork can also well represent its freshness. Fresh pork muscle is bright red, and inferior fresh pork muscle is dark red. After being left in the air for a long time, myoglobin denatures, and the meat color is dark red and the gloss is darker. The color of uneven yellow spots and fat can reflect the degree of oxidation of the meat; and long-term contact with air, the loss of pork moisture will also cause the gloss to deteriorate, so for the evaluation of pork quality grade, color assessment is particularly important.

[0003] According to industry standards, the quality grade of pork is generally evaluated by sensory evaluation methods, but these methods are highly subjective and easily interfered by external factors. They require the training of professional graders, which is costly and time-consuming. Colorimetric analysis of meat needs to be tested by a colorimeter when necessary. Although it is more scientific and accurate, it cannot detect color changes on the entire sample surface and is easily affected by sample uniformity, muscle fat and connective tissue. Therefore, manual judgment has certain defects.

[0004] At the same time, the existing technology uses spectral imaging technology to improve the defects of manual judgment, but the spectrum used is generally a single spectrum, or computer vision technology is used, which has certain limitations in the detection process.

[0005] Therefore, in view of this, the deficiencies of the existing technology are studied and improved, and a method and device for non-destructive evaluation of pork quality grade based on multispectral imaging is provided, in order to achieve a more practical purpose. Summary of the invention

[0006] In order to solve the above technical problems, the present invention provides a method and device for non-destructive evaluation of pork quality grade based on multispectral imaging, so as to solve the problems that current manual judgment is highly subjective, has many interference factors, has poor accuracy, and physical and chemical tests are time-consuming and not timely and comprehensive, as well as the limitations of single spectrum or computer vision technology.

[0007] The purpose and efficacy of the method and device for non-destructive evaluation of pork quality grade based on multispectral imaging of the present invention are achieved by the following specific technical means:

[0008] A device for non-destructively evaluating pork quality grade based on multispectral imaging, comprising:

[0009] A mobile terminal, which is used to facilitate users to view the evaluation level of pork quality;

[0010] A cloud server, wherein the cloud server is used to store pork quality grade evaluation data;

[0011] A computer, the computer is used to process the pork quality grade evaluation information and upload it to the cloud server for storage via the network;

[0012] A dark box, wherein a loading platform is arranged at the bottom of the dark box, and a pork sample is placed on the loading platform;

[0013] A multispectral imager, comprising a multispectral camera, a spectrometer and a lens, wherein the multispectral imager is mounted on the top inner wall of the dark box and is located directly above the pork sample;

[0014] An adjustable LED light source is provided on both sides of the multi-spectral imager, the adjustable LED light source faces the stage, and the controller is used to control the multi-spectral imager and the adjustable LED light source.

[0015] Preferably, the dark box is made of a lightweight, environmentally friendly material with good light-shielding properties.

[0016] Preferably, the loading platform is capable of supporting the upper part of the dark box and the pork sample, and the loading platform is non-reflective.

[0017] Preferably, the computer is electrically connected to the multi-spectral imager, and the computer can obtain the information recognized by the multi-spectral imager and perform corresponding processing.

[0018] Preferably, the light intensity and illumination angle of the adjustable LED light source can be adjusted.

[0019] A method for non-destructive evaluation of pork quality grade based on multispectral imaging, comprising the following steps:

[0020] S1: First, the tester prepares the pork sample, then preheats the multispectral imager and maintains it for more than 30 minutes, and calibrates the multispectral imager using an existing standard whiteboard, blackboard, and geometry board; then, the multispectral imager is irradiated with the adjustable LED light source so that the multispectral imager receives the reflection information of the pork sample;

[0021] S2: The reflection information is transmitted to the computer through the image acquisition unit, and the computer analyzes the multispectral image information and performs spatial consistency correction based on polynomial regression to resolve the difference between the surface reflection characteristics of the pork sample and the standard calibration plate;

[0022] S3: Use an automatic threshold segmentation method or a maximum entropy threshold segmentation method to segment the spectral image and background of the pork sample; reduce noise by one or more methods including median filtering, Gaussian filtering and mean filtering, eliminate isolated and relatively dense noise points, effectively eliminate noise and protect image edges, obtain complete pork image information, determine the region of interest of the pork sample, and extract the spectral reflectance value corresponding to the central wavelength of the region of interest;

[0023] S4: Use the kernel fuzzy C-means clustering method to segment muscle and fat tissue. After binarization, the muscle pixels in the image are set to 0 and the fat pixels are set to 1.

[0024] S5: Color feature vectors were extracted through image analysis, and correlation analysis was performed with pork sensory scores and colorimeter results to establish a multivariate linear regression prediction model between pork quality grade and image color features;

[0025] S6: Select N, N≥5 pork samples that have been evaluated for quality after sensory evaluation and colorimetric analysis of muscle color, fat color and gloss, and use the quality grades of these pork samples as output, and use the feature vectors extracted by S1-S5 as input to establish a database model of different pork quality grades using the BP neural network method, wherein the number of hidden layer neurons can refer to the following formula:

[0026]

[0027] Where n is the number of hidden layer neurons, n i is the dimension of the input layer, n0 is the number of neurons in the output layer, and a is a constant between 1 and 10;

[0028] S7: taking a multispectral image of the pork sample to be tested by the multispectral imager, taking the feature vectors extracted by S1-S5 as input, and using the model established by S6 to evaluate and determine the pork quality level of each pixel set;

[0029] S8: Comprehensively judge the proportion of muscle color, fat color and gloss evaluation results of each pixel set, determine the quality level of the whole piece of pork with the largest number of pixel set types and output the result.

[0030] Compared with the prior art, the present invention has the following beneficial effects:

[0031] 1. The present invention uses multispectral imaging technology to judge the quality grade of pork, and uses information fusion technology to combine the muscle color, fat color and gloss of pork samples with spectral image data, replacing traditional sensory evaluation. It has the advantages of fast, lossless and real-time data transmission, and solves the defects of strong subjectivity and untimely evaluation of manual judgment. Multispectral imaging technology takes less time to obtain information than high-spectral technology, and has the advantage of faster data processing rate.

[0032] 2. The present invention establishes a pork quality grade prediction model through the characteristic spectra corresponding to sensory physicochemical indicators, reduces redundant information and reduces information dimensions, thereby improving the judgment accuracy and analysis efficiency of the prediction model; spatial consistency correction based on polynomial regression solves the difference between the surface reflection characteristics of pork samples and the standard calibration plate, thereby improving the accuracy of recognition; different pork quality database models are established based on the BP neural network, which can greatly improve the efficiency of subsequent pork sample quality grade evaluation.

[0033] 3. The present invention adopts an adjustable LED light source with lower and more stable heat dissipation than traditional light sources, thereby effectively reducing the impact of temperature on the spectrum and also reducing the impact of temperature on the physical and chemical properties of pork samples; through the combination of a dark box and an adjustable LED light source, the light intensity of the detection environment can be stabilized, reducing the impact of light changes on the spectrum; by transmitting data to a cloud server, online real-time viewing of pork quality grade data on the mobile terminal can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of the operation flow of the pork quality grade evaluation method of the present invention;

[0035] Figure 2 It is a schematic diagram of the operation flow of the pork quality grading device of the present invention.

[0036] In the figure:

[0037] 1. Mobile terminal; 2. Cloud server; 3. Computer; 4. Dark box; 41. Stage; 42. Pork sample; 43. Multispectral imager; 44. Adjustable LED light source; 5. Controller. DETAILED DESCRIPTION

[0038] The following embodiments of the present invention are described in further detail in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0039] like Figure 1 to Figure 2 As shown:

[0040] The present invention provides a device for non-destructively evaluating pork quality grade based on multispectral imaging, comprising:

[0041] Mobile terminal 1, the mobile terminal 1 is used to facilitate users to view the evaluation level of pork quality;

[0042] A cloud server 2, wherein the cloud server 2 is used to store pork quality grade evaluation data;

[0043] Computer 3, the computer 3 is used to process pork quality grade evaluation information and upload it to the cloud server 2 for storage via the network;

[0044] A dark box 4, wherein a loading platform 41 is disposed at the bottom of the dark box 4, and a pork sample 42 is placed above the loading platform 41;

[0045] A multispectral imager 43, comprising a multispectral camera, a spectrometer and a lens, and mounted on the top inner wall of the dark box 4, and located directly above the pork sample 42;

[0046] The adjustable LED light source 44 is arranged on both sides of the multi-spectral imager 43 , and the adjustable LED light source 44 faces the stage 41 . The controller 5 is used to control the multi-spectral imager 43 and the adjustable LED light source 44 .

[0047] The purpose of the present invention is to provide a method and device for rapidly and non-destructively evaluating the quality grade of pork using multi-spectral imaging, which integrates spectral analysis technology and computer vision, and can simultaneously obtain information of the measured target from the spectral dimension and the spatial dimension. It has the advantages of spectral detection technology such as rapidity, non-destructiveness, and multi-component detection, and the advantages of computer vision technology such as visualization and intuition, thereby solving the defects of strong subjectivity, many interference factors, poor accuracy of manual judgment, long time consumption, and lack of timeliness and comprehensiveness of physical and chemical tests, as well as the limitations of single spectral or computer vision technology; at the same time, it solves the difference between the reflection characteristics of the sample surface and the correction plate, and can realize online real-time data transmission, so as to achieve the purpose of rapid and large-scale detection;

[0048] To achieve the above purpose, the specific steps of this implementation are as follows:

[0049] Step 1: Before evaluating the quality grade of pork, the tester prepares the pork sample 42, which may be pork neck back, pork front leg, pork chop or pork hind leg, and cuts the pork sample 42 into pieces of 3 cm×3 cm×2 cm in size, seals them in polyethylene fresh-keeping bags and refrigerates them at 4°C, waiting for the quality grade evaluation;

[0050] Then the inspector preheats the multi-spectral imager 43 and maintains it for more than 30 minutes, and calibrates the multi-spectral imager 43 using the existing standard whiteboard, blackboard and geometric board;

[0051] Then the inspector places the pork sample 42 on the stage 41 and irradiates it with the adjustable LED light source 44. The inspector can adjust the light intensity and the irradiation angle of the LED light source 44 through the controller 5 according to the position of the pork sample 42 and the external environment, so that the LED light source 44 can be adjusted to emit a set light beam to irradiate the pork sample 42 on the stage 41 in the dark box 4, providing uniform and stable lighting for the pork sample 42. Compared with the traditional light source, the adjustable LED light source 44 has low heat dissipation and is stable, so it can effectively reduce the influence of temperature on the spectrum, and also reduce the influence of temperature on the physical and chemical properties of the pork sample 42. By combining the dark box 4 with the adjustable LED light source 44, the light intensity of the detection environment can be stabilized, reducing the influence of light changes on the spectrum.

[0052] Then the inspector adjusts the operating parameters of the multispectral camera in the multispectral imager 43 through the controller 5. The shooting interval of the multispectral camera is 0.3-1S, the shooting distance is 25-100mm, and the ambient light intensity is 3-150Lux, so that the multispectral imager 43 can clearly and accurately receive the reflected light of the pork sample 42, and then the multispectral imager 43 transmits the reflected information to the multispectral system in the computer 3;

[0053] Step 2: After the image acquisition unit in the multispectral imager 43 transmits the image information reflected by the pork sample 42 to the computer 3, the computer 3 analyzes the multispectral image information and performs spatial consistency correction based on polynomial regression, thereby resolving the difference between the surface reflection characteristics of the pork sample 42 and the standard calibration plate, thereby improving the accuracy of the pork sample 42 detection;

[0054] Step 3: The computer 3 realizes the spectral image and background segmentation of the pork sample 42 by adopting the automatic threshold segmentation method or the maximum entropy threshold segmentation method; reduces noise by one or more methods of median filtering, Gaussian filtering and mean filtering, eliminates isolated and relatively dense noise points, realizes effective noise elimination and image edge protection, obtains complete pork image information, determines the region of interest of the pork sample 42, and extracts the spectral reflectance value corresponding to the central wavelength of the region of interest, wherein the central wavelength is 525nm, 570nm, 590nm, 630nm, 645nm, 700nm, 780nm;

[0055] Step 4: Use the kernel fuzzy C-means clustering method to segment muscle and fat tissue. After binary processing, the muscle pixels in the image are set to 0 and the fat pixels are set to 1.

[0056] Step 5: Extract color feature vectors through image analysis in the multispectral system, and conduct correlation analysis with pork sensory scores and colorimeter results to establish a multivariate linear regression prediction model between pork quality grade and image color features;

[0057] Step 6: Then select N, N ≥ 5 pork samples 42 for quality grade evaluation after sensory evaluation and color difference analysis of muscle color, fat color and gloss, take the quality grade of these pork samples 42 as output, use the feature vector extracted by the above steps 1-5 as input, use the BP neural network method to establish a database model of different pork quality grades, and divide the pork quality grades into grade A, grade B, and grade C, where the number of hidden layer neurons can refer to the following formula:

[0058]

[0059] Where n is the number of hidden layer neurons, n i is the dimension of the input layer, n0 is the number of neurons in the output layer, and a is a constant between 1 and 10;

[0060] The corresponding relationship between pork quality grade and muscle color, fat color and gloss is shown in Table 1:

[0061] Table 1

[0062] Pork quality grades Muscle Color Fat color luster A-level Bright red White Good gloss Class B Dark Red White with slight yellowish tint General gloss C-Class Dark red Light yellow Poor gloss

[0063] A pork quality grade prediction model was established through the characteristic spectra corresponding to sensory physical and chemical indicators, thereby reducing redundant information and information dimensions, improving the judgment accuracy and analysis efficiency of the prediction model; at the same time, spatial consistency correction based on polynomial regression solved the difference between the surface reflection characteristics of pork samples and the standard calibration plate, thereby improving the accuracy of recognition; and different pork quality database models were established based on BP neural network, which can greatly improve the efficiency of subsequent pork sample quality grade evaluation;

[0064] Step 7: The multispectral image of the pork sample to be tested is captured by the multispectral imager 43, the feature vector extracted by the above steps 1-5 is used as input, and the model established in the sixth step is used for evaluation to determine the pork quality level of each pixel set;

[0065] Step 8: Finally, comprehensively judge the proportion of muscle color, fat color and gloss evaluation results of each pixel set, determine the quality level of the whole piece of pork with the largest number of pixel sets and output the results. The comparison between the model prediction results and the actual evaluation results is shown in Table 2:

[0066] Table 2

[0067]

[0068] As shown in Table 2, the pork quality grade prediction model has an accuracy rate of about 90% relative to the actual sensory evaluation of graders. Therefore, it is shown that the pork quality grade prediction model in the present invention can solve the defects of the prior art, such as strong subjectivity of manual judgment, many interference factors, poor accuracy, long time consumption of physical and chemical tests, and insufficient timeliness and comprehensiveness, as well as the limitations of single spectrum or computer vision technology.

[0069] Then the computer uploads the processed information to the cloud server 2, and the inspectors or market supervisors can view the data online through the mobile terminal 1 after connecting to the Internet, which greatly improves the convenience of relevant personnel to obtain the pork quality grade, and can view it online in real time, reducing the possibility of illegal personnel tampering with the data, wherein the mobile terminal 1 can be a display device that can connect to the Internet, such as a smart phone or a tablet computer;

[0070] By utilizing the information fusion technology in the above steps 1-7, the muscle color, fat color and gloss of pork samples are combined with spectral image data to replace traditional sensory evaluation. This has the advantages of fast, lossless and real-time data transmission, and solves the defects of strong subjectivity of manual judgment and untimely evaluation.

[0071] The embodiments of the present invention have been presented for purposes of illustration and description, and are not intended to be exhaustive or limited to the invention in the form disclosed.

Claims

1. A method for non-destructive evaluation of pork quality grade based on multispectral imaging, characterized in that , The method uses a device for non-destructive evaluation of pork quality grade based on multispectral imaging, including: A mobile terminal (1), wherein the mobile terminal (1) is used to facilitate users to view the evaluation grade of pork quality; A cloud server (2), the cloud server (2) being used to store pork quality grade evaluation data; A computer (3), the computer (3) is used to process the pork quality grade evaluation information and upload it to the cloud server (2) for storage via a network; A dark box (4), wherein a loading platform (41) is arranged at the bottom of the dark box (4), and a pork sample (42) is placed above the loading platform (41); A multispectral imager (43), the multispectral imager (43) comprising a multispectral camera, a spectrometer and a lens, the multispectral imager being mounted on the top inner wall of the dark box (4), and the multispectral imager (43) being located directly above the pork sample (42); An adjustable LED light source (44), the adjustable LED light source (44) being arranged on both sides of the multi-spectral imager (43), the adjustable LED light source (44) being oriented toward the stage (41) and irradiating the position of the pork sample (42); A controller (5), the controller (5) being used to control the multi-spectral imager (43) and the adjustable LED light source (44); The method comprises the following steps: S1: First, the tester prepares the pork sample (42), then preheats the multi-spectral imager (43) and maintains it for more than 30 minutes, and calibrates the multi-spectral imager (43) using an existing standard whiteboard, blackboard, and geometry board; then, the multi-spectral imager (43) is irradiated with the adjustable LED light source (44) so ​​that the multi-spectral imager (43) receives the reflection information of the pork sample (42); S2: The reflection information is transmitted to the computer (3) through the image acquisition unit, and the computer (3) analyzes the multispectral image information and performs spatial consistency correction based on polynomial regression to resolve the difference between the surface reflection characteristics of the pork sample (42) and the standard calibration plate; S3: Use an automatic threshold segmentation method or a maximum entropy threshold segmentation method to segment the spectral image and background of the pork sample (42); reduce noise by one or more methods including median filtering, Gaussian filtering and mean filtering, eliminate isolated noise points and relatively dense noise points, effectively eliminate noise and protect image edges, obtain complete pork image information, determine the region of interest of the pork sample (42), and extract the spectral reflectance value corresponding to the central wavelength of the region of interest; S4: Use the kernel fuzzy C-means clustering method to segment muscle and fat tissue. After binarization, the muscle pixels in the image are set to 0 and the fat pixels are set to 1. S5: Color feature vectors were extracted through image analysis, and correlation analysis was performed with pork sensory scores and colorimeter results to establish a multivariate linear regression prediction model between pork quality grade and image color features; S6: Select N, N≥5 pork samples (42) that have been evaluated for quality after sensory evaluation and colorimetric analysis of muscle color, fat color and gloss, and use the quality grades of these pork samples (42) as output, and use the feature vectors extracted by S1-S5 as input to establish a database model of different pork quality grades using a BP neural network method, wherein the number of hidden layer neurons can refer to the following formula: Where n is the number of hidden layer neurons, n i is the dimension of the input layer, n0 is the number of neurons in the output layer, and a is a constant between 1 and 10; S7: taking a multispectral image of the pork sample to be tested by the multispectral imager (43), taking the feature vector extracted by S1-S5 as input, and using the model established by S6 to evaluate and determine the pork quality level of each pixel set; S8: Comprehensively judge the proportion of muscle color, fat color and gloss evaluation results of each pixel set, determine the quality level of the whole piece of pork with the largest number of pixel set types and output the result.

2. The method for non-destructive evaluation of pork quality grade based on multispectral imaging as claimed in claim 1, characterized in that: The dark box (4) is made of a lightweight, environmentally friendly material with good light-shielding properties.

3. The method for non-destructive evaluation of pork quality grade based on multispectral imaging according to claim 1, characterized in that: The loading platform (41) is capable of supporting the upper part of the dark box (4) and the pork sample (42), and the loading platform (41) is non-reflective.

4. The method for nondestructive evaluation of pork quality grade based on multispectral imaging according to claim 1, characterized in that: The computer (3) is electrically connected to the multi-spectral imager (43), and the computer (3) is capable of acquiring information recognized by the multi-spectral imager (43) and performing corresponding processing.

5. The method for nondestructive evaluation of pork quality grade based on multispectral imaging according to claim 1, characterized in that: The illumination intensity and illumination angle of the adjustable LED light source (44) can be adjusted.