The present disclosure generally relates to imaging, and in particular to a system, method and device for meat marbling assessment.
Marbling is the intermingling of fat with lean in the muscle and is regarded in some markets as an important attribute of the pork quality. Marbling in pork contributes to the juiciness and flavor of the meat and may also have a positive effect on its tenderness. Since consumers value color and marbling when making purchasing decisions, the United States Department of Agriculture (USDA) used National Pork Producers Council (NPPC) visual color and marbling as criteria for a proposed quality grading system where darker chops with greater marbling were valued over lighter chops with less marbling. Similarly, an official Canadian Pork Quality Standards of Canadian Pork International (CPI) which include marbling scores was recently released as a measurement tool to differentiate Canadian pork. The tool measures pork quality beyond traditional carcass yield and fat cover and provides unique mechanism to establish quantifiable points of differentiation; enabling the industry to deliver the right product for the right market segment and thereby gain competitive advantage over competitors. The NPPC pork marbling standard depicts a chart with seven grades from 1.0 (devoid) to 6.0 and 10.0 (abundant) which also represent an estimation of the intramuscular fat content of the loin eye muscle. The CPI Standards also includes seven marbling score categories (from 0 to 6) representing a wide cross selection of Canadian pork meat quality attributes. The standards are reproduced on a hand held grading ruler printed in full colour on 16-point food grade polyvinyl chloride (PVC) plastic. In the pork industry, visual assessment of marbling scores is currently widely used and conducted by experienced assessors to compare marbling levels of meat with the standardized chart system. However, such subjective procedure can be difficult and unreliable and has poor repeatability of results. In addition, the current practice of marbling score assessment involves cutting the whole loin between the 3rd and 4th last ribs for visual assessment which results in decreases of commercial values. Therefore, availability of objective, non-destructive and rapid assessment of marbling scores for a pork chop and a whole loin would be an asset for the meat industry. Such technology could be used to sort out the primal cuts (e.g., the whole pork loin) or pieces of meat (e.g., pork chops) on-line or at-line, remove poor quality product from discerning markets, and select animals on the basis of meat quality to guarantee product quality. Thus, an automatic marbling score assessment system/device that is able to operate with high accuracy and high speed would enhance the operation of meat processors with better productivity, repeatability, cost effectiveness and quality control.
In accordance with an aspect, there is provided a system for assessing marblings of a meat sample that can be a chop or a whole loin. The system comprises at least one processor and a memory comprising instructions which, when executed by the processor, configure the processor to obtain an image of a meat sample, identify a muscle of interest (MOI) of the image, segment an area of interest (AOI) within the MOI where the AOI within the MOI comprises a region of interest (ROI) of the sample in the image, detect a number of marbling pixels in the ROI of the image, and determine a marbling score based on the statistics of the detected marblings such as a ratio of the number of marbling pixels and the total number of pixels in the ROI of the image. In some embodiments, marbling score may be based, in part, on the distribution of the marblings in the ROI of the image. The meat sample is one of a chop, a slice, a steak, or a whole loin.
In accordance with another aspect, there is provided a method of assessing a marbling of a meat sample. The method comprises obtaining an image of a meat sample, identifying a muscle of interest (MOI) (e.g., from bones, intermuscular fat, surrounding and connective tissues, and other muscles in the image, especially when multiple main muscles present in the meat sample image, segmenting an area of interest (AOI) within the MOI where the AOI within the MOI comprises a region of interest (ROI) of the sample in the image, detecting a number of marbling pixels in the ROI of the image, and determining a marbling score comprising a ratio of the number of marbling pixels and the total number of pixels in the ROI of the image. In some embodiments, marbling score may be based, in part, on the distribution of the marblings in the ROI of the image. The meat sample is one of a chop, a slice, a steak, or a whole loin.
In various further aspects, the disclosure provides corresponding systems and devices, and logic structures such as machine-executable coded instruction sets for implementing such systems, devices, and methods.
In this respect, before explaining at least one embodiment in detail, it is to be understood that the embodiments are not limited in application to the details of construction and to the arrangements of the components set forth in the following description or illustrated in the drawings. Also, it is to be understood that the phraseology and terminology employed herein are for the purpose of description and should not be regarded as limiting.
Many further features and combinations thereof concerning embodiments described herein will appear to those skilled in the art following a reading of the instant disclosure.
Embodiments will be described, by way of example only, with reference to the attached figures, wherein in the figures:
It is understood that throughout the description and figures, like features are identified by like reference numerals.
Embodiments of methods, systems, and apparatus are described through reference to the drawings. Applicant notes that the described embodiments and examples are illustrative and non-limiting. Practical implementation of the features may incorporate a combination of some or all of the aspects, and features described herein should not be taken as indications of future or existing product plans.
Examples of methods and systems for the assessment of meat marbling is described herein. While many examples are provide herein with respect to pork, it should be understood that the teachings may also apply to other types of meat, including beef/veal, goat/lamb, etc.
Some authors have attempted to use imaging to assess marbling. These authors have mostly imaged a slab or chop and not on the entire meat (loin) surface. In these works, image analysis was applied to simply differentiate the meat chop from its image background and further to identify fat streaks on the segmented chops. This method normally fails to accurately estimate marbling. Another important short coming of previous work is that there is no differentiation of the different muscle or intermuscular fat groups in the chop. In reality, marbling is really the intramuscular fat deposits in a muscle and its assessment should consider specific muscle on a chop or on the entire loin surface.
Studies on pork marbling assessment have been conducted in laboratories, including using the hyperspectral imaging (HSI) technique (in the 400-1000 nanometres range) to determine marbling scores of pork. The images of samples at 661 nanometres (nm) which had the best contrast between lean meat and marbling were selected to estimate the marbling scores by computing their angular second moment (ASM) values. Their results showed that ASM could successfully discriminate the marbling scores of pork except for the standard score 10.0. However, the predicted results were higher than those obtained subjectively with an error around 1.0. Improvements were made by considering marblings as kind of line patterns which were extracted using the wide line detector (WLD) technique. The proportion of marblings (PM) obtained using the WLD analysis on digital color images of marbling standards was applied to determine marbling scores. Only three wavelengths at 720 nm (red), 580 nm (green) and 460 nm (blue) were used to calculate PM values for pork samples. The techniques allowed improved detection of marbling not only for the red samples (Reddish, Firm, and Non-exudative (RFN) and Reddish, Soft and Exudative (RSE) quality grades, with typically good contrast) but also for the more difficult pale samples (Pale, Soft and Exudative (PSE) and Pale, Firm and Non-exudative (PFN) quality groups) which traditionally have presented difficulty in assessing marbling due to poor contrast and light reflective problems. Thus, the work showed the high potential of using the WLD technique for developing an automatic marbling score assessment system. Later, the work was further extended on digital red/green/blue (RGB) images of fresh pork chops and compared assessment of pork marbling using the WLD and an image texture extraction technique based on an improved grey-level co-occurrence matrix (GLCM). Unlike the earlier work, pork sample image features were extracted from the red, green and blue channels as well the combined RGB channels. The results demonstrated that the WLD-based technique performed better than the GLCM-based technique for marbling score determination. The prediction results of a multiple linear model which was established based on all channels confirmed that the combined RGB channels was suitable for predicting pork marbling scores. The results also showed that the green channel had strong predictive ability for pork marbling score. This implies that a simple digital colour imaging system could be designed and used for marbling scores assessment using the WLD technique.
In some embodiments, a smart hand-held device (e.g., a Marbling Meter or marbling assessment device) may be used to objectively and automatically assess meat (including pork) marbling scores of a chop, slice or cut, or a whole loin in real-time. In some embodiments, this device has been designed and calibrated to match different standards such as the US (NPPC) and Canadian (CPI) standards. The Marbling Meter design will be described in detail below. It should be understood that the term Marbling Meter used herein refers to a marbling assessment device.
In some embodiments, the Marbling Meter is a handheld device that can automatically assess marbling score of a meat sample in real-time.
The device 100 may comprise a hardware system and a software system. The hardware system defines the imaging environment, provides the calculation capacity, and enables the human machine interface. The software system allows automatic region of interest (ROI) segmentation (including muscle of interest (MOI) identification and area of interest (AOI) segmentation within the MOI), marbling detection and marbling score calculation. As used herein, the ‘ROI segmentation of a meat sample image’ comprises the MOI identification in the meat image and the AOI segmentation within the identified MOI. Accordingly, the ROI of a meat sample means the AOI in a MOI.
When the internet is available and stable, the system 300 can work in the server (cloud or in house) mode by sending the captured meat image to remote server 230 for marbling detection and calculation, saving the images, data and results on the server, returning the predicted marbling score to the system 300 for display. Due to the more powerful computing capacity, the server mode can run much faster than the standalone mode (1s vs. 10s). In addition, a smart phone application (app) 240 may also be developed to support the system 300 to operate in the mobile application mode. In this case, the meat image will be captured by the camera of a smart phone and sent to the server 230 for marbling detection and calculation. The predicted marbling score will be returned to the smart phone and displayed in the app 240. The marbling predictive models may be retrained in the server based on newly collected data and the updated models will be used for further marbling assessment.
In some embodiments, the hardware system 300 comprises a digital camera 250, a processor board 260, a touch screen 270, a power supply system 280, a lighting system 290, and a shell case 102. A high-definition camera 250 is mounted on top of the shell case 102 and connected to the processor board 260 that is used to provide the calculation power for the marbling detection algorithm. The lighting system based on LED lights 292 is located within the shell case 102 to provide uniformed illumination.
In some embodiments, core hardware units include the processor board 260, display screen 270, camera 250 and components for the lighting system 290. The processor board 260 includes at least one processor. The camera may be used to take high-definition video an swell as still photos.
The platform 2300 may include a processor 2304 and a memory 2308 storing machine executable instructions to configure the processor 2304 to receive a voice and/or text files (e.g., from I/O unit 2302 or from data sources 2360). The platform 2300 can include an I/O Unit 2302, communication interface 2306, and data storage 2310. The processor 2304 can execute instructions in memory 2308 to implement aspects of processes described herein.
The platform 2300 may be implemented on an electronic device and can include an I/O unit 2302, a processor 2304, a communication interface 2306, and a data storage 2310. The platform 2300 can connect with one or more interface applications 2330 or data sources 2360. This connection may be over a network 2340 (or multiple networks). The platform 2300 may receive and transmit data from one or more of these via I/O unit 2302. When data is received, I/O unit 202 transmits the data to processor 2304.
The I/O unit 2302 can enable the platform 2300 to interconnect with one or more input devices, such as a keyboard, mouse, camera, touch screen and a microphone, and/or with one or more output devices such as a display screen and a speaker.
The processor 2304 can be, for example, any type of general-purpose microprocessor or microcontroller, a digital signal processing (DSP) processor, an integrated circuit, a field programmable gate array (FPGA), a reconfigurable processor, or any combination thereof.
The data storage 2310 can include memory 2308, database(s) 2312 and persistent storage 2314. Memory 2308 may include a suitable combination of any type of computer memory that is located either internally or externally such as, for example, random-access memory (RAM), read-only memory (ROM), compact disc read-only memory (CDROM), electro-optical memory, magneto-optical memory, erasable programmable read-only memory (EPROM), and electrically-erasable programmable read-only memory (EEPROM), Ferroelectric RAM (FRAM) or the like. Data storage devices 2310 can include memory 2308, databases 2312 (e.g., graph database), and persistent storage 2314.
The communication interface 2306 can enable the platform 2300 to communicate with other components, to exchange data with other components, to access and connect to network resources, to serve applications, and perform other computing applications by connecting to a network (or multiple networks) capable of carrying data including the Internet, Ethernet, plain old telephone service (POTS) line, public switch telephone network (PSTN), integrated services digital network (ISDN), digital subscriber line (DSL), coaxial cable, fiber optics, satellite, mobile, wireless (e.g., Wi-Fi, WiMAX), SS7 signaling network, fixed line, local area network, wide area network, and others, including any combination of these.
The platform 2300 can be operable to register and authenticate users (using a login, unique identifier, and password for example) prior to providing access to applications, a local network, network resources, other networks and network security devices. The platform 2300 can connect to different machines or entities.
The data storage 2310 may be configured to store information associated with or created by the platform 2300. Storage 2310 and/or persistent storage 2314 may be provided using various types of storage technologies, such as solid state drives, hard disk drives, flash memory, and may be stored in various formats, such as relational databases, non-relational databases, flat files, spreadsheets, extended markup files, etc.
The memory 2308 may include an image processing unit 2322 for obtaining and pre-processing images of meat samples, a segmentation unit 2324 for determining regions of interests as described herein, a marbling analysis unit 2326 for determining a marbling score as described herein, and a marbling assessment model 2328 as described herein.
The components on the top side of the middle layer (as shown in
The Digital Imaging Chamber 310, the Body Frame 320, and the solid bottom of the drawer unit 330 may be attached to each other into one piece with screws, as shown in
Two issues regarding lighting were addressed during the device 300 design. One issue pertains to uneven lighting condition that may cause different image contrast which can influence the ROI segmentation results. To provide uniformed illumination, four LED lights 292 may be arranged in a squared shape to spread out the light as shown in
In some embodiments, a power bank is used to provide the power to the processor board 260 and the LED lights 292 which have different work powers. In some embodiments, the work power of the processor board is 5V which is same as the output voltage of the power bank, while the work power of the LED lights 292 is 12V which is much higher than the output voltage of the power bank. Considering the limited space of the Digital Imaging Chamber 310 which is difficult to hold another power bank with 12V output voltage, a voltage converter 440 may be used to step up the power from 5V to 12V to supply the power to the LED lights 292. Two independent ports of the power bank may be used to supply power to the processor board 260 and the LED lights 292 separately in order to prevent the disturbance between different voltages.
Four LED lights 292 can generate a lot of heat for a long term operation as well as the other electronic components. Overheated environment will cause off-performance of the Marbling Meter device 300. In order to reduce the heat accumulated during operation, three treatments may be added in the design as follows:
In some embodiments, the marbling assessment system 200 has three different work modes: the server mode, the standalone mode, and the mobile application mode, as shown in
In the server mode (e.g., cloud server or in-house), the Marbling Meter device 300 may perform as a terminal device. The end user can record the sample information and capture meat images through the Operation GUI 262 in the Marbling Meter device 300. After selecting the marbling standard, the sample information and meat images will be automatically sent 952 to a remote server that can be in-house or in the cloud. The marbling detection and score calculation may be implemented in the remote server using the Marbling Prediction Algorithm 264. The predicted marbling scores may be returned to the Marbling Meter device 300 and displayed on the screen 270. All data including the sample information, images, and results may be saved on the server. In some embodiments, it takes approximately one or two seconds for the marbling score assessment (sending the meat image to the server, calculating the marbling score, and returning the score to the device) when the Marbling Meter device 300 works in the cloud server mode.
In the standalone mode, the Marbling Meter device 300 can work as a standalone device, which can be very useful when the internet connection is not available or very poor. The Marbling Program 210 including Operation GUI 212 and Marbling Prediction Algorithm 214 can independently run on Raspberry PI or another processing board 260. All collected images, data and results will be saved in the device during the operation and can be transferred to a local computer (such as a personal computer) after the operation. In some embodiments of this mode, the marbling score assessment may take approximately ten seconds after the standard is selected.
A smartphone application (app) of the Marbling Meter may assess meat marbling scores in the mobile application mode. Instead of the Marbling Meter device 300, a mobile device (such as a smart phone) where the Marbling Meter App 240 is installed may be used to set up the sample information and capture the meat image through the user interface (UI) of the app 240. Similar to the cloud server mode, the sample information and meat image may be sent to the remote server after the marbling standard is selected in the UI. The Marbling Prediction Algorithm 214 may be implemented in the server 230 and the predicted marbling score may be returned to the smart phone and displayed in the app 240. All data, images and information may be saved in the server. In some embodiments, it takes approximately one or two seconds for the Marbling Meter App 240 to assess marbling scores.
In some embodiments, the Operation GUI 212 allows the end user to record the sample information, capture the meat sample, select the marbling standard for assessment, and display the predicted scores on the screen 270. The Operation GUI 212 also allows the end user to browse 930 the previous captured pork images and the corresponding marbling scores. Detailed description of the GUI can be found below where use case examples of the Marbling Meter Device 300 and Marbling Meter App 291040 are described step by step for the standalone/cloud server mode and the mobile application mode, respectively.
In order to calculate a marbling score for pork chops, they should be segmented accurately. Inaccurate segmentation will lead to wrong calculation of marbling scores. The segmentation of pork chop from an RGB image includes challenges involved such as different size and shapes, variable pixel intensity of chops, inconsistent lighting, occlusion of dark muscle and normal muscle, presence of fat and inter muscular fat in various portions of the pork sample, etc.
The objectives of the pork segmentation is to identify the muscle of interest (MOI) if multiple muscles present in the pork image and segment the area of interest in the MOI where the marblings will be detected and marbling scores calculated. The pork ROI segmentation involves removing the peripheral and inter-muscular fat from the pork sample, identifying the muscle of interest (MOI), and segmenting the area of interest in the MOI by removing the connective tissue and surrounding muscles from the MOI. Inaccurate segmentation will lead to wrong calculation of marbling scores. Although different image segmentation methods such as thresholding, active contour, graph cut, auto cluster and region-based segmentation have been developed and widely used, the segmentation of a pork image is still challenging not only due to variable pixel intensity and lighting conditions, but also due to different colour tones within a muscle, presence of multiple muscles, and strong reflection caused by the water residue on the surface of the pork chop.
To address these challenges, a dynamic segmentation method was developed. This method automatically selects a segmentation method such as thresholding, clustering-based segmentation, regression model and morphological operations based on the appearance of the pork image. Otsu's thresholding is a global thresholding technique and works well when the pork sample is simple, e.g., one main muscle with peripheral fat, while K-means clustering is a colour-based segmentation technique that works well when the pork sample has more than one main muscles and different colour tones. The dynamic segmentation method can automatically identify the appearance of a pork sample and accordingly select the proper segmentation technique for the input pork image.
It should be understood that the examples of segmentation described herein with respect to pork may also apply to other types of meat.
The method 1300 comprises obtaining (e.g., reading) the channel a* from the downscaled L*a*b* image 1302a and obtaining (e.g., reading) the red channel from the downscaled RGB image 1302b. The channel a* is binarized 1304 (e.g., using Otsu's thresholding). A mask is obtained 1306 using multiple morphological operations such as opening and closing with disk sized structuring element followed by an operation of filling holes. The red channel is segmented 1308 using the obtained mask. A new threshold is calculated 1310 in an adaptive way based on the statistics (including mean and standard deviation, and other statistics) of the segmented red channel image. The segmented red channel is binarized 1312 using the calculated threshold. The mask of MOI is identified 1314 as the largest connected component after applying multiple morphological operations such as opening and closing operations followed by filling holes. Other steps may be added to the method 1300.
The method 1350 comprises reading the channel a* from the downscaled L*a*b* image 1352. Then the channel a* image is segmented using k-means clustering with different numbers of clusters such as k=2 1354a, k=3 1354b, and k=4 1354c, respectively. The silhouette scores of the segmented images are calculated using silhouette analysis for k=2, 3, and 4, respectively 1356. The segmented image having highest silhouette score is selected 1358. The foreground is extracted from the selected segmented image 1360. The largest connected component is selected 1362 after applying multiple morphological operations such as opening, closing, hole-filling, dilation, erosion on the foreground. Finally, the mask of MOI is created 1364 based on the selected largest connected component. Other steps may be added to the method 1350.
Different linear regression models may be established based on the NPPC and CPI standards. The marbling score of a pork sample may be assessed based on the linear regression model corresponding to the selected standard. The prediction results may be displayed on the touch screen 270 of the Marbling Meter device 300. Experiments based on 74 pork samples have shown the Marbling Meter device 300 can accurately predict marbling scores with a deviation between −0.5 and +0.5 comparing to the ground truth.
The Marbling Meter device 300 can automatically, objectively and accurately assess pork marbling scores in real time. This device 300 will not only save the industry time for quality assessment of pork chops, but also bring economic benefits considering the objectivity of quality assessment and product differentiation.
The method 1500 comprises obtaining (e.g., reading) the input digital colour image 1502a and obtaining (e.g., reading) the mask of ROI. Marblings in the ROI is detected 1504 as line responses (C) using the wide line detector. The detected marblings (C) is binarized 1506 using a pre-defined threshold. Marblings (WB) is determined 1508 by removing very small objects in the binarized marbling (C) image. The area of the determined marblings Amarb 1510a and the area of the ROI Aroi 1510b are calculated, and based on them, the variable PM is calculated 1512 as the ratio of Amarb and Aroi. If the CPI standard is selected 1514, the LR model for CPI standard is used to calculate the marbling score 1516a (e.g., MS=44.646*PM−0.4649). Otherwise if the NPPC standard is selected 1514, the LR model for NPPC standard is used to calculate the marbling score 1516b (e.g., MS=27.443*PM+0.2172). The predicted marbling score is displayed 1518 on the touch screen of the marbling meter. Other steps may be added to the method 1500. It should be noted that while the method 1500 was described with reference to pork and pork marbling standards, the method 1500 may be modified for other types of meat and meat marbling standards.
Digital color images of marbling standards were obtained by scanning the official pork marbling standards with the resolution of 150 dpi (dot per inch) by a scanner, as shown in
Image preprocessing was conducted on marbling standards to obtain the ROI for marbling detection. The contour of marbling standards, referring to the outer boundary of meat, was obtained by using a thresholding technique and an edge detection algorithm. A thresholding technique transforms a gray-level image (the green channel of marbling standards) to a binary image (i.e., black and white image). The obtained binary images of the marbling standards were used to extract the contour of marbling samples on these standards by employing a Sobel edge detector.
The ROI of marbling standards without the peripheral fat were obtained by shrinking the contour. Each pixel of the contour was moved to the centroid of the contour with a certain distance and the shrunk contour was calculated by the following equations:
(xc, yc) was the centroid of the contour, (x,y) was the coordinate of the contour pixel, (xs,ys) was the coordinate of the shrunk contour pixel, N is the number of pixels of the contour, and d0 was the shrunk distance. The masks for the ROI of marbling standards were thereby obtained by setting pixels inside the shrunk contour open and pixels outside the shrunk contour close.
The ROI for the captured digital colour image was segmented as the AOI in an identified MOI using the dynamic segmentation method 1200.
Since marbling can be regarded as line patterns with different widths, a wide line detector was employed to extract marbling in both the standards and the sample images. The line detection method was implemented based on the comparison of intensity between the center pixel and any other pixel within a circular neighborhood, which was defined as:
where (x0,y0) is the coordinate of the center of the circular neighborhood, (x,y) is the coordinate of any other pixel within the neighborhood, rd is the radius of the circular neighborhood, t is the intensity contrast threshold, I(x,y) is the intensity of the pixel (x,y), k0 is the normalized circular neighborhood defined by k, s defines the measure of similarity between the center pixel and any other pixel, and c is the output of the weighting comparison.
This comparison was implemented for each pixel within the circular neighborhood and the mass of the neighborhood center (x0,y0) was given by
M(x0,y0;r,t)=Σx
The output of the wide line detector on the neighborhood center (x0,y0) was the inverse mass obtained by:
Here, g is the geometric threshold and g=mmax/2, where mmax is the maximum value which m can take. As a normalized circular mask is used, mmax is not larger than but very close to unity and thereby the initial response ranges from 0 to 0.5.
The initial response of the pixel in ROI was determined by two parameters—the radius of the circular neighborhood rd and the intensity contrast threshold t, according to equation 7 above. In a gray-level image, the radius of the circular neighborhood rd reflects the maximum width of lines of interest that is related to the scale and resolution of the image, while the intensity contrast threshold t depends on the contrast of the image that is greatly influenced by the lighting condition. Since the marbling meter has an enclosed and well controlled imaging environment, the scale, resolution and contrast of meat images vary little between different meat samples. Therefore, the same radius of the circular neighborhood rd and same intensity contrast threshold t are used for meat sample images. Accordingly, the radius of the circular neighborhood rd was related to the maximum width of lines of interest among all three channels of the image. The intensity contrast threshold at each channel, ICTc, was defined by:
where ROIc is the ROI at channel C, STD is the standard deviation over all standard deviations of all channels, and round stands for the nearest integer.
In the post-processing stage, the initial response was binarilized by a global thresholding. The final result, i.e., the detected marbling, was then obtained by performing a morphological operation on the thresholded image to remove objects too small to be of interest. There were two parameters required for post-processing: one is thresh, the global threshold for binarilization of initial response; the other is area, the maximum number of pixels of an object which would be removed from the thresholded image.
The definition of the proportion of marbling, PM, was given by:
where area(marblings) denotes the number of pixels of detected marbling in a standard marbling image or a sample image, and area(ROI) is the number of pixels of the corresponding ROI. The PM of standard marbling images was used for building the prediction model of pork marbling scores.
Pearson's correlation coefficients between marbling scores and standards' PM at three channels are calculated. The channels having PM with high correlation coefficients and the 0.0500 significance level are selected as the potential variables of the stepwise procedure.
Stepwise procedure, also called stepwise regression, is an automatic procedure for statistical model selection by adding and removing variables from a model based on their statistical significance in a regression. The p-value of an F-statistic is calculated as the entrance/exit criterion of potential variables for the models after the initial model is decided. The procedure may build different models from the same set of potential variables due to various variables included in the initial model. The procedure terminates when no entrance or exit of variables improves the model.
A multiple linear regression (MLR) model was selected as the initial model for the stepwise procedure, which was defined as:
Ŷ=a
0+Σc=r,g,bacPMc (11)
where Ŷ is the vector of predicted marbling scores, PMc(c=r,g,b) is the vector of marbling standards' PM at the channel C, a0 is the constant term and ac is the regression coefficient of the variable PMc. Each potential variable was used as the first entry into the initial model to build multilinear models for predicting pork marbling scores.
Leave-one-out cross validation (LOO) was employed to assess how the multilinear models will generalize to an independent data set, as well as the random partition validation method which can give more robust results. For each multilinear model developed by the stepwise procedure, every marbling standard in the standardized chart system was used once as the validation data and the corresponding remaining marbling standards as the training data. The qualities of multilinear models were evaluated by the coefficient of determination (R2), the adjusted R2, the root mean square error of LOO (RMSECVL). The best model should have the lowest RMSECVL, the highest R2/adjusted R2, and a smallest difference between R2 and adjusted R2.
The PM of marbling standards at each channel monotonously increased with the marbling scores. Pearson's correlation coefficients between marbling scores and PMs are very high for all three channels (r>=0.99, p<0.0001). This indicates that PM of marbling standards at each channel is strongly correlated with the marbling scores. Therefore, supervised machine learning algorithms such as linear regression analysis may be used to train the marbling prediction models for different standards. An exhausted forward selection stepwise procedure may be employed to select the potential predictive variables from all three channels.
In the stepwise procedure, PM at each channel was used separately as the first entry into the initial model defined by equation 11 above to build different multilinear models for pork marbling score prediction. Tables 1 and 2 list the regression coefficients of the multilinear models with different first entry variables based on the CPI standards and NPPC standards, respectively.
In addition, Tables 1 and 2 also list the selected model with no first entry variable forced into the initial model. The use of first entry variables at the green channel and the blue channel led to simple linear models, LR_G and LR_B, respectively, while the use of first entry variables at the red channel resulted in the multiple linear model, MLR_RGB, which included all the potential variables. The LR_B model was obtained again when no variable was forced into the initial model at the beginning of the stepwise procedure. This indicated that the PM obtained from the green and blue channels might have more explanatory power, while the PM from the red channel did not have enough explanatory power to build a model independently.
The performances of the three multilinear models given as R2, adjusted R2, and RMSECVL in Tables 3 and 4 for the CPI standards and NPPC standards, respectively. The most successful model for the CPI standards is LR_G with the highest adjusted R2=0.978 and lowest RMSECVL=0.319, while the most successful model for the NPPC standards is MLR_RGB with the highest R2=0.998, highest adjusted R2=0.995 and lowest RMSECVL=0.126. Notice that the linear regression model at the green channel LR_G has a very similar performance to the model MLR_RGB for the NPPC standards as shown in Table 4. Considering the computing cost of marbling detection at three channels, the linear regression model LR_G is used in the software of the Marbling Meter to assess marbling scores for both CPI and NPPC standards.
Based on the training set PMs and their labeled scores a weighted parametric linear regression model was built. The values of the weights were obtained by reducing the squared error between actual output and predicted output and keeping the value of R2 near to 1.
In one embodiment, the regression equation for CPI standards is:
MS
cpi=44.646*PM−0.4649 (12)
In one embodiment, the regression equation for NPPC standard is:
MS
nppc=27.443*PMmat+0.2172 (13)
The weighted parametric linear regression models (12) and (13) are the benchmark models for the CPI and NPPC standards, respectively. For a particular breed and/or pork processing plant, the benchmark model is the initial version of the marbling predictive model that is used for pork marbling assessment. The marbling predictive model may be retrained and updated regularly and iteratively based on new collected data (i.e., pork images, actual and predicted marbling scores) using supervised machine learning algorithms. It should be understood that while examples of pork marbling models and standards are described herein, the teachings may also apply to other types of meat marbling and meat standards.
Processor 2202 may be an Intel or AMD x86 or x64, PowerPC, ARM processor, or the like. Memory 2204 may include a suitable combination of computer memory that is located either internally or externally such as, for example, random-access memory (RAM), read-only memory (ROM), compact disc read-only memory (CDROM).
Each I/O interface 2206 enables computing device 2200 to interconnect with one or more input devices, such as a keyboard, mouse, camera, touch screen and a microphone, or with one or more output devices such as a display screen and a speaker.
Each network interface 2208 enables computing device 2200 to communicate with other components, to exchange data with other components, to access and connect to network resources, to serve applications, and perform other computing applications by connecting to a network (or multiple networks) capable of carrying data including the Internet, Ethernet, plain old telephone service (POTS) line, public switch telephone network (PSTN), integrated services digital network (ISDN), digital subscriber line (DSL), coaxial cable, fiber optics, satellite, mobile, wireless (e.g., Wi-Fi, WiMAX), SS7 signaling network, fixed line, local area network, wide area network, and others.
The foregoing discussion provides example embodiments of the inventive subject matter. Although each embodiment represents a single combination of inventive elements, the inventive subject matter is considered to include all possible combinations of the disclosed elements. Thus, if one embodiment comprises elements A, B, and C, and a second embodiment comprises elements B and D, then the inventive subject matter is also considered to include other remaining combinations of A, B, C, or D, even if not explicitly disclosed.
The embodiments of the devices, systems and methods described herein may be implemented in a combination of both hardware and software. These embodiments may be implemented on programmable computers, each computer including at least one processor, a data storage system (including volatile memory or non-volatile memory or other data storage elements or a combination thereof), and at least one communication interface.
Program code is applied to input data to perform the functions described herein and to generate output information. The output information is applied to one or more output devices. In some embodiments, the communication interface may be a network communication interface. In embodiments in which elements may be combined, the communication interface may be a software communication interface, such as those for inter-process communication. In still other embodiments, there may be a combination of communication interfaces implemented as hardware, software, and combination thereof.
Throughout the foregoing discussion, numerous references will be made regarding servers, services, interfaces, portals, platforms, or other systems formed from computing devices. It should be appreciated that the use of such terms is deemed to represent one or more computing devices having at least one processor configured to execute software instructions stored on a computer readable tangible, non-transitory medium. For example, a server can include one or more computers operating as a web server, database server, or other type of computer server in a manner to fulfill described roles, responsibilities, or functions.
The technical solution of embodiments may be in the form of a software product. The software product may be stored in a non-volatile or non-transitory storage medium, which can be a compact disk read-only memory (CD-ROM), a USB flash disk, or a removable hard disk. The software product includes a number of instructions that enable a computer device (personal computer, server, or network device) to execute the methods provided by the embodiments.
The embodiments described herein are implemented by physical computer hardware, including computing devices, servers, receivers, transmitters, processors, memory, displays, and networks. The embodiments described herein provide useful physical machines and particularly configured computer hardware arrangements.
Although the embodiments have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein.
Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification.
As can be understood, the examples described above and illustrated are intended to be exemplary only.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CA2021/050922 | 7/6/2021 | WO |
Number | Date | Country | |
---|---|---|---|
63048510 | Jul 2020 | US |