A method for identifying adulteration of Pinellia ternata slices

By fitting the texture curve function of Pinellia ternata pieces, calculating the difference coefficient, and identifying adulteration, the problem of low identification efficiency and high misjudgment rate of Pinellia ternata pieces in the existing technology is solved, and high-precision adulteration identification is achieved.

CN118298202BActive Publication Date: 2024-08-30SICHUAN NEAUTUS TRADITIONAL CHINESE MEDICINE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410725544.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-08-30
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

In the existing technology, the authenticity identification of Pinellia ternata pieces is inefficient and highly subjective, making it difficult for conventional visual recognition algorithms to identify counterfeit products, and the manual identification method has a high misjudgment rate.

Method used

By taking cross-section images of Pinellia ternata, extract texture features, fit texture curve functions, calculate difference coefficients, evaluate the adulteration of the samples to be inspected, use network texture features to construct multiple curve functions for comparison, and identify adulteration and Proportion.

Benefits of technology

It greatly improves the accuracy of adulteration identification of Pinellia Pinellia decoction pieces, promotes the development of the field of adulteration identification, and improves the identification efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118298202B
    Figure CN118298202B
Patent Text Reader

Abstract

The present invention discloses a method for identifying adulteration of Pinellia ternata slices, which belongs to the field of identification of Chinese medicine slices, and comprises S1: photographing the cross-sectional image of Pinellia ternata slices, processing the cross-sectional image, extracting the texture features in the cross-sectional image, and fitting the texture curve function; S2: randomly selecting a number of samples to be tested from the purchased Pinellia ternata slices, photographing the cross-sectional images of all the samples to be tested, executing step S1, obtaining the texture curve function of each sample to be tested, matching the texture curve function of the sample to be tested with the fitted texture curve function, calculating the coefficient of difference, and evaluating the adulteration of the sample to be tested; S3: obtaining the adulteration ratio in the purchased Pinellia ternata slices. The present invention utilizes visual recognition technology to identify adulterated slices in Pinellia ternata slices, fully utilizing the characteristics of the reticular texture on the cross-sectional surface of Pinellia ternata slices, greatly improving the recognition accuracy in the field of adulteration identification of Pinellia ternata slices, and promoting the development of the field of adulteration identification of Pinellia ternata slices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of identification of Chinese herbal medicine slices, and in particular to a method for identifying adulteration of pinellia slices. Background Art

[0002] Pinellia is the dried tuber of the plant Pinellia of the Araceae family. It is dug in summer and autumn, washed, the outer skin and fibrous roots are removed, and dried. It is distributed in Northeast China, North China, and the Yangtze River Basin. It has the effects of drying dampness and resolving phlegm, reducing adverse reactions and stopping vomiting, and eliminating lumps and dispersing knots. In the prior art, most of the Pinellia is made into Pinellia slices, which are easy to use, convenient for purchasers to identify the authenticity, and convenient for combination with other Chinese medicines. Pinellia slices also provide convenience for various adulteration methods. In the process of purchasing authenticity identification, the prior art mostly adopts manual identification methods, which are inefficient, highly subjective, and have a high rate of misjudgment. With the development of artificial intelligence, more and more Chinese medicine slices use computer vision technology to distinguish the authenticity, but the authenticity identification of Pinellia slices is difficult, and conventional visual recognition algorithms are difficult to identify the imitations of Pinellia slices from the perspective of color, shape, etc. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, the present invention provides a method for identifying adulteration of Pinellia ternata slices to solve the above-mentioned technical defects in the prior art.

[0004] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is:

[0005] Provided is a method for identifying adulteration of Pinellia ternata slices, comprising the following steps:

[0006] S1: Take the cross-sectional image of the Pinellia ternata slices, process the cross-sectional image, extract the texture features in the cross-sectional image, and fit the texture curve function;

[0007] S2: randomly select a number of samples to be tested from the purchased Pinellia ternata slices, and take cross-sectional images of all the samples to be tested, execute step S1, obtain the texture curve function of each sample to be tested, match the texture curve function of the sample to be tested with the fitted texture curve function, calculate the difference coefficient, and evaluate the adulteration of the sample to be tested;

[0008] S3: Obtain the adulteration rate of purchased Pinellia slices.

[0009] Further, step S1 includes:

[0010] S11: photographing the cross-sectional image of the Pinellia ternata slices, and grayscale processing the cross-sectional image to obtain a cross-sectional grayscale image, and setting a grayscale reference value of the pixel of the reticular texture on the Pinellia ternata slices in the cross-sectional grayscale image. H ;

[0011] S12: Extract the grayscale value of each pixel on the cross-section grayscale image h With pixel coordinates , calculate the gray value h Grayscale reference value H The difference ;

[0012] S13: Set grayscale value h Grayscale reference value H Difference threshold ,like , then it is determined that the pixel is not on the mesh texture. If , then the pixel is determined to be the pixel where the mesh texture is located;

[0013] S14: Obtain the coordinate data of the mesh texture pixel according to the pixel coordinates corresponding to the pixel where each mesh texture is located , n is the number of pixels on the mesh texture, and filters out the two pixel coordinates with the farthest distance , , , For coordinate data The maximum distance between any two coordinates in , They are the numbers of the two pixels that are farthest apart;

[0014] S15: In pixel coordinates , For the two end points, in the coordinate data Select several coordinates in turn as the coordinate data on the texture curve between the two end points , when screening, start from the two end points and screen towards the middle of the texture curve in sequence, and satisfy;

[0015] ;

[0016] in, R is the theoretical width of the texture curve in the grayscale image;

[0017] S16: Constructing a fitting function model for texture curves , and using coordinate data Fitting function model Perform fitting to obtain the fitted texture curve function ;

[0018] S17: Coordinate data From coordinate data Eliminate it and get the new coordinate data , , w For the new coordinate data The number of pixel coordinates in ;

[0019] S18: Return to step S14, and convert the coordinate data Replace with coordinate data , and repeat steps S14-S16, and continue to fit the texture curve function with the coordinates of the remaining mesh texture pixels until a set number of N Texture curve function .

[0020] Further, step S16 includes:

[0021] S161: Constructing a fitting function model for texture curves :

[0022] ;

[0023] in, is the coefficient matrix, is a linear basis function, i is the node number, For the i The coefficient matrix corresponding to the nodes is For the i The linear basis function corresponding to the nodes is m is the number of nodes, x is the node data;

[0024] S162: The coordinate data on the texture curve As node data x , using the fitting function model Perform fitting; , , calculate the coefficient matrix , that is, the texture curve function after fitting is obtained .

[0025] Further, step S2 includes:

[0026] S21: Randomly select a number of samples to be tested from the purchased Pinellia ternata slices, take cross-sectional images of all the samples to be tested, and execute steps S11-S18 to obtain the texture curve function of each sample to be tested. , M is the number of texture curve functions of a sample to be tested;

[0027] S22: The texture curve function of the sample to be tested Texture curve function with fitting The two texture curves are extracted into a two-dimensional error coordinate system to obtain the number of intersections of the two texture curves. , according to the texture curve function All peak points on the corresponding texture curve A With peak F A , valley point B and valley value F B , calculate the coefficient of difference between the two ;

[0028] S23: Traversing texture curve function All the texture curve functions in the sample are compared, and step S22 is performed to calculate each texture curve function and the texture curve function of the sample to be tested. The corresponding coefficient of difference is obtained to obtain the coefficient of difference data set ;

[0029] S24: Filter out the coefficient of difference data group The minimum value in As a function of the texture curve of the sample to be tested The optimal difference coefficient obtained by matching;

[0030] S25: Repeat steps S22-S24 to obtain the optimal difference coefficients matched by all texture curve functions of the sample to be tested , calculate the total coefficient of variation :

[0031] ;

[0032] in, The optimal difference coefficient Middle I The optimal coefficient of variation, I is the number of the optimal difference coefficient;

[0033] S26: Set the standard value of the coefficient of variation ,like , then the sample to be tested is judged to be the authentic Pinellia ternata slices. , then the sample to be tested is determined to be an imitation of Pinellia slices.

[0034] Furthermore, the coefficient of variation The calculation method is:

[0035] ;

[0036] in, a 1 , a 2 is the texture curve function The corresponding texture curve is located at the peak point A The peak points on both sides, The peak pointa 1 , a 2 The corresponding peak value, b 1 , b 2 is the texture curve function The corresponding texture curve is located at the valley point B The valley points on both sides, The valley point b 1 , b 2 The corresponding valley value, E is the texture curve function The number of peak points on the corresponding texture curve, J is the texture curve function The number of valley points on the corresponding texture curve, k 1 is the weight of the influence of peak difference on texture curve difference, k 2 is the weight of the influence of valley value difference on texture curve difference, k 3 The weight of the influence of texture curve intersection on texture curve difference.

[0037] Further, step S3 includes:

[0038] S31: Repeat steps S21-S26 to screen out all the imitations of Pinellia ternata slices in the samples to be tested, and weigh the weight of the adulterated Pinellia ternata slices q , and the total weight of several samples to be tested Q , calculate the adulteration ratio of Pinellia ternata slices e : ;

[0039] S32: Error threshold in the process of matching the difference of the texture curve of the sample to be tested , evaluate the quality of the purchased Pinellia slices, if , then the adulteration rate of the purchased Pinellia ternata slices is judged to be low. , it is determined that the adulteration rate of the purchased Pinellia slices is high.

[0040] The beneficial effects of the present invention are as follows: the present invention utilizes visual recognition technology to identify adulterated pieces in the Pinellia slices, utilizes the characteristics of the reticular texture on the surface of the cut surface of the Pinellia slices, constructs multiple curve functions within the reticular texture characteristics, and performs fitting. Then, a number of samples are extracted from the purchased Pinellia slices for visual recognition, and multiple curve functions of the samples are constructed in the same way. The multiple curve functions of the authentic products are used to compare with the curve functions of the samples, and the conclusion of whether there are the same curves or reticular patterns as those on the cut surface of the authentic products is obtained based on the difference in the curve functions, thereby evaluating the adulteration situation and proportion in the purchased Pinellia slices. The present invention greatly improves the recognition accuracy in the field of adulteration recognition of Pinellia slices, and promotes the development of the field of adulteration recognition of Pinellia slices. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a flow chart of the method for identifying adulteration of Pinellia ternata slices.

[0042] Figure 2 This is a slice image of Pinellia ternata slices. DETAILED DESCRIPTION

[0043] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.

[0044] like Figure 1 As shown, a method for identifying adulteration of Pinellia ternata slices comprises the following steps:

[0045] S1: Take a cross-sectional image of the Pinellia tuber slices, process the cross-sectional image, extract the texture features in the cross-sectional image, and fit the texture curve function. Figure 2 As shown, the surface of the cross-section image of the Pinellia slices has rich reticular texture features. The present invention splits the surface reticular texture into multiple curve features, fits the curve functions of the multiple curve features, and uses them to compare the cross-section texture features of the Pinellia slices samples to identify the adulteration of the Pinellia slices.

[0046] Step S1 specifically includes:

[0047] S11: photographing the cross-sectional image of the Pinellia ternata slices, and grayscale processing the cross-sectional image to obtain a cross-sectional grayscale image, and setting a grayscale reference value of the pixel of the reticular texture on the Pinellia ternata slices in the cross-sectional grayscale image. H ;

[0048] S12: Extract the grayscale value of each pixel on the cross-section grayscale imageh With pixel coordinates , calculate the gray value h Grayscale reference value H The difference ;

[0049] S13: Set grayscale value h Grayscale reference value H Difference threshold ,like , then it is determined that the pixel is not on the mesh texture. If , then the pixel is determined to be the pixel where the mesh texture is located;

[0050] S14: Obtain the coordinate data of the mesh texture pixel according to the pixel coordinates corresponding to the pixel where each mesh texture is located , n is the number of pixels on the mesh texture, and filters out the two pixel coordinates with the farthest distance , , , For coordinate data The maximum distance between any two coordinates in , They are the numbers of the two pixels that are farthest apart;

[0051] S15: In pixel coordinates , For the two end points, in the coordinate data Select several coordinates in turn as the coordinate data on the texture curve between the two end points , when screening, start from the two end points and screen towards the middle of the texture curve in sequence, and satisfy;

[0052] ;

[0053] in, R is the theoretical width of the texture curve in the grayscale image;

[0054] Pixel coordinates , As the two endpoints of a complete texture curve, by calculating the distance between two adjacent coordinates in sequence, the main requirement is R , it serves as the pixel point on the texture curve.

[0055] S16: Constructing a fitting function model for texture curves , and using coordinate data Fitting function model Perform fitting to obtain the fitted texture curve function ; Step S16 specifically includes:

[0056] S161: Constructing a fitting function model for texture curves :

[0057] ;

[0058] in, is the coefficient matrix, is a linear basis function, i is the node number, For the i The coefficient matrix corresponding to the nodes is For the i The linear basis function corresponding to the nodes is m is the number of nodes, x is the node data;

[0059] S162: The coordinate data on the texture curve As node data x , using the fitting function model Perform fitting; , , calculate the coefficient matrix , that is, the texture curve function after fitting is obtained .

[0060] S17: Coordinate data From coordinate data Eliminate it and get the new coordinate data , , w For the new coordinate data The number of pixel coordinates in ;

[0061] S18: Return to step S14, and convert the coordinate data Replace with coordinate data , and repeat steps S14-S16, and continue to fit the texture curve function with the coordinates of the remaining mesh texture pixels until a set number of N Texture curve function .

[0062] By repeatedly fitting the texture curve function, multiple texture curve functions can be obtained. In theory, the first texture curve is the longest. As the number of fitting rounds increases, the coordinate data The number of pixel coordinates in the texture curve is getting smaller and smaller, and the length of the texture curve is getting shorter and shorter. Once the set number of texture curves are fitted, the fitting process can be stopped. The pixel coordinates can be obtained according to the pixel coordinate system.

[0063] S2: Randomly select a number of samples to be tested from the purchased Pinellia ternata slices, and take cross-sectional images of all the samples to be tested, execute step S1, obtain the texture curve function of each sample to be tested, use the same fitting method as the texture curve function of the authentic Pinellia ternata slices, match the texture curve function of the sample to be tested with the fitted texture curve function, calculate the coefficient of difference, and evaluate the adulteration of the sample to be tested. Step S2 specifically includes:

[0064] S21: Randomly select a number of samples to be tested from the purchased Pinellia ternata slices, take cross-sectional images of all the samples to be tested, and execute steps S11-S18 to obtain the texture curve function of each sample to be tested. , M is the number of texture curve functions of a sample to be tested;

[0065] S22: The texture curve function of the sample to be tested Texture curve function with fitting The two texture curves can be extracted into a two-dimensional error coordinate system. The two texture curves can be rotated and moved to have a high degree of overlap. The number of intersections is sufficient, and the endpoints at both ends are located on the same vertical axis. The number of intersections of the two texture curves is obtained. , according to the texture curve function All peak points on the corresponding texture curve A With peak F A , valley point B and valley value F B , calculate the coefficient of difference between the two ; Coefficient of variation The calculation method is:

[0066] ;

[0067] in, a 1 , a 2 is the texture curve function The corresponding texture curve is located at the peak point A The peak points on both sides, The peak point a 1 , a 2 The corresponding peak value, b 1 , b 2 is the texture curve function The corresponding texture curve is located at the valley point B The valley points on both sides, The valley point b1 , b 2 The corresponding valley value, E is the texture curve function The number of peak points on the corresponding texture curve, J is the texture curve function The number of valley points on the corresponding texture curve, k 1 is the weight of the influence of peak difference on texture curve difference, k 2 is the weight of the influence of valley value difference on texture curve difference, k 3 is the influence weight of the intersection of texture curves on the difference of texture curves. The difference between the peak and valley values ​​of two texture curves represents the degree of similarity. The larger the difference coefficient, the greater the difference. The more intersection points, the smaller the difference between the two.

[0068] S23: Traversing texture curve function All the texture curve functions in the sample are compared, and step S22 is performed to calculate each texture curve function and the texture curve function of the sample to be tested. The corresponding coefficient of difference is obtained to obtain the coefficient of difference data set ;

[0069] S24: Filter out the coefficient of difference data group The minimum value in As a function of the texture curve of the sample to be tested The optimal difference coefficient obtained by matching;

[0070] S25: Repeat steps S22-S24 to obtain the optimal difference coefficients matched by all texture curve functions of the sample to be tested , calculate the total coefficient of variation :

[0071] ;

[0072] in, The optimal difference coefficient Middle I The optimal coefficient of variation, I is the number of the optimal difference coefficient;

[0073] S26: Set the standard value of the coefficient of variation ,like , then the sample to be tested is judged to be the authentic Pinellia ternata slices. , then the sample to be tested is determined to be an imitation of Pinellia slices.

[0074] S3: Obtaining the adulteration ratio of the purchased Pinellia tuber slices. Step S3 specifically includes:

[0075] S31: Repeat steps S21-S26 to screen out all the imitations of Pinellia ternata slices in the samples to be tested, and weigh the weight of the adulterated Pinellia ternata slices q , and the total weight of several samples to be tested Q , calculate the adulteration ratio of Pinellia ternata slices e : ;

[0076] S32: Error threshold in the process of matching the difference of the texture curve of the sample to be tested , evaluate the quality of the purchased Pinellia slices, if , then the adulteration rate of the purchased Pinellia ternata slices is judged to be low. , it is determined that the adulteration rate of the purchased Pinellia slices is high.

[0077] The present invention utilizes visual recognition technology to identify adulterated pieces in the Pinellia slices, utilizes the characteristics of the reticular texture on the cut surface of the Pinellia slices, constructs multiple curve functions within the reticular texture characteristics, and performs fitting. Then, a number of samples are extracted from the purchased Pinellia slices for visual recognition, and multiple curve functions of the samples are constructed in the same way. The multiple curve functions of the authentic products are used to compare with the curve functions of the samples, and the conclusion of whether there are the same curves or reticular patterns as those on the cut surface of the authentic products is obtained based on the difference in the curve functions, thereby evaluating the adulteration situation and proportion in the purchased Pinellia slices. The present invention greatly improves the recognition accuracy in the field of adulteration recognition of Pinellia slices, and promotes the development of the field of adulteration recognition of Pinellia slices.

Claims

1. A method for identifying adulteration of Pinellia ternata slices, It is characterized in that The following steps are involved: S1: Take the cross-sectional image of the Pinellia ternata slices, process the cross-sectional image, extract the texture features in the cross-sectional image, and fit the texture curve function; S2: randomly select a number of samples to be tested from the purchased Pinellia ternata slices, and take cross-sectional images of all the samples to be tested, execute step S1, obtain the texture curve function of each sample to be tested, match the texture curve function of the sample to be tested with the fitted texture curve function, calculate the difference coefficient, and evaluate the adulteration of the sample to be tested; S3: Obtain the adulteration rate of purchased Pinellia ternata slices; The step S1 comprises: S11: photographing a cross-sectional image of the Pinellia ternata slices, and gray-processing the cross-sectional image to obtain a cross-sectional gray-scale image, and setting a gray-scale reference value H of a pixel of a reticular texture on the Pinellia ternata slices in the cross-sectional gray-scale image; S12: extracting the gray value h and pixel coordinates (x, y) of each pixel on the cross-section gray image, and calculating the difference Δh=Hh between the gray value h and the gray reference value H; S13: Setting the threshold Δh of the difference between the grayscale value h and the grayscale reference value H 阈值 , if Δh>Δh 阈值 , then the pixel is determined not to be on the mesh texture, if Δh≤Δh 阈值 , then the pixel is determined to be the pixel where the mesh texture is located; S14: Obtain the coordinate data of the mesh texture pixel according to the pixel coordinates corresponding to each pixel where the mesh texture is located [(x 1 ,y 1 ), (x 2 ,y 2 ),…,(x n ,y n )], n is the number of pixels on the mesh texture, and the two pixel coordinates with the farthest distance are selected. d max is the coordinate data [(x 1 ,y 1 ), (x 2 ,y 2 ),…,(xn,yn)], i 1 、i 2 They are the numbers of the two pixels that are farthest apart; S15: In pixel coordinates For the two end points, in the coordinate data [(x 1 ,y 1 ), (x 2 ,y 2 ),…,(x n ,y n )] selects several coordinates in turn as the coordinate data on the texture curve between the two end points When screening, start from the two end points and screen towards the middle of the texture curve in sequence, and satisfy; Where R is the theoretical width of the texture curve in the grayscale image; S16: Construct a fitting function model f(x) of the texture curve and use the coordinate data Fitting the fitting function model f(x) to obtain the fitted texture curve function f′(x); S17: Coordinate data From the coordinate data [(x 1 ,y 1 ), (x 2 ,y 2 ),…,(x n ,y n )] to get the new coordinate data [(x 1 ,y 1 ),(x 2 ,y 2 ),…,(x w ,y w )],w=n-(i 2 -i 1 ), w is the new coordinate data [(x 1 ,y 1 ),(x 2 ,y 2 ),…,(x w ,y w )]; S18: Return to step S14, and convert the coordinate data [(x 1 ,y 1 ), (x 2 ,y 2 ),…,(x n ,y n )] is replaced by the coordinate data [(x 1 ,y 1 ),(x 2 ,y 2 ),…,(x w ,y w )], and repeat steps S14-S16, and continue to fit the texture curve function with the coordinates of the remaining mesh texture pixels, until a set number N of texture curve functions [f 1 ′(x),f 2 ′(x),…,f N ′(x)].

2. The method for identifying adulteration of Pinellia tuber slices according to claim 1, It is characterized in that The step S16 comprises: S161: Constructing a fitting function model f(x) of a texture curve: Among them, α(x) is the coefficient matrix, K(x) is the linear basis function, i is the node number, α i (x) is the coefficient matrix corresponding to the i-th node, K i (x) is the linear basis function corresponding to the i-th node, m is the number of nodes, and x is the node data; S162: The coordinate data on the texture curve As node data x, use the fitting function model f(x) for fitting; let m = i 2 -i 1 , K i (x)=[1,x i ,y i ] T , i∈[i 1 ,i 2 ], calculate the coefficient matrix α i (x), that is, the fitted texture curve function f′(x) is obtained.

3. The method for identifying adulteration of Pinellia tuber slices according to claim 2, It is characterized in that The step S2 comprises: S21: Randomly select a number of samples to be tested from the purchased Pinellia ternata slices, take cross-sectional images of all the samples to be tested, and execute steps S11-S18 to obtain the texture curve function [f 1 ′(x),f 2 ′(x),…,f M ′(x)], M is the number of texture curve functions of a sample to be tested; S22: The texture curve function f of the sample to be tested M ′(x) and the fitted texture curve function f N ′(x) are extracted into the two-dimensional error coordinate system to obtain the number of intersection points ε of the two texture curves. According to the texture curve function f N All peak points A and peak F on the texture curve corresponding to ′(x) A , valley point B and valley value F B , calculate the difference coefficient ζ between the two N ; S23: Traversing texture curve function [f 1 ′(x),f 2 ′(x),…,f N ′(x)], execute step S22 to calculate the texture curve function of each texture curve function and the texture curve function of the sample to be tested f M ′(x) corresponding to the difference coefficient, and obtain the difference coefficient data set (ζ 1 ,ζ 2 ,…,ζ N ); S24: Filter out the difference coefficient data group (ζ 1 ,ζ 2 ,…,ζ N ) in the minimum value ζ min As the texture curve function f of the sample to be tested M ′(x) is the optimal difference coefficient matched; S25: Repeat steps S22-S24 to obtain the optimal difference coefficient (ζ) obtained by matching all texture curve functions of the sample to be tested. 1min ,ζ 2min ,…,ζ Mmin ), calculate the total coefficient of variation Among them, Imin is the optimal difference coefficient (ζ 1min ,ζ 2min ,…,ζ Mmin ) is the Ith optimal difference coefficient, where I is the number of the optimal difference coefficient; S26: Set the standard value of the coefficient of variation like If The sample to be tested is determined to be an imitation of the Pinellia slices.

4. The method for identifying adulteration of Pinellia tuber slices according to claim 3, It is characterized in that The coefficient of variation ζ N The calculation method is: Among them, a 1 、a 2 is the texture curve function f M The peak points on both sides of the peak point A on the texture curve corresponding to ′(x) are The peak point a 1 、a 2 The corresponding peak value, b 1 、b 2 is the texture curve function f M The valley points on both sides of the valley point B on the texture curve corresponding to ′(x) are is the valley point b 1 、b 2 The corresponding valley value, E is the texture curve function f N ′(x) corresponds to the number of peak points on the texture curve, J is the texture curve function f N The number of valley points on the texture curve corresponding to ′(x), k 1 is the influence weight of the peak difference on the texture curve difference, k 2 is the weight of the influence of valley value difference on texture curve difference, k 3 The weight of the influence of texture curve intersection on texture curve difference.

5. The method for identifying adulteration of Pinellia tuber slices according to claim 4, It is characterized in that The step S3 comprises: S31: Repeat steps S21-S26 to screen out all the imitations of Pinellia ternata slices from several samples to be tested, weigh the weight q of the adulterated Pinellia ternata slices, and the total weight Q of several samples to be tested, and calculate the adulteration ratio e of the Pinellia ternata slices: S32: Evaluate the quality of the purchased Pinellia slices according to the error threshold γ of the sample to be tested in the process of difference matching of the texture curve. If γ≥e, it is determined that the adulteration ratio of the purchased Pinellia slices is low. If γ<e, it is determined that the adulteration ratio of the purchased Pinellia slices is high.

Citation Information

Patent Citations

  • Method for detecting number of medicine bags in medicine box based on machine vision

    CN113284095A

  • Online quality monitoring method for traditional Chinese medicine decoction pieces

    CN116630317A