Morphological identification method and system for fungi in traditional Chinese medicinal materials
By using a morphological identification method for fungi in Chinese medicinal materials and employing a small ball impaction technique to identify fungal hyphae, the problem of distinguishing between the surface texture of Chinese medicinal materials and fungal hyphae has been solved, improving the accuracy and efficiency of identification and ensuring the quality of medicinal materials and the safety of medication.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG HUISONG PHARMA
- Filing Date
- 2025-12-15
- Publication Date
- 2026-05-05
AI Technical Summary
The surface texture of Chinese medicinal materials caused by physical damage during processing, transportation, and storage is difficult to distinguish from fungal hyphae, resulting in a high misjudgment rate in traditional microscopic examination, which affects the quality of Chinese medicinal materials and the safety of medication.
The method of fungal morphology identification of Chinese medicinal materials was adopted. By marking suspected fungal areas, local image information was obtained, the baseline hyphal curve was analyzed, and the hyphal curve deformation diagram was generated by combining the fixed parameters of the medicinal materials and the ball impact scheme to identify the location of fungal hyphae.
It can effectively distinguish between the collision texture on the surface of Chinese medicinal materials and fungal hyphae, reduce the misjudgment rate, improve the accuracy and efficiency of fungal contamination identification, and ensure the quality of medicinal materials and the safety of medication.
Smart Images

Figure CN121978097A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of quality testing of Chinese medicinal materials, and in particular to a method and system for fungal morphological identification of Chinese medicinal materials. Background Technology
[0002] As an important carrier of traditional medicine, the quality of Chinese medicinal materials directly affects clinical efficacy and medication safety. Fungal contamination is one of the core issues affecting the quality of Chinese medicinal materials: harmful fungi (such as Aspergillus flavus and Penicillium) can cause mold growth and produce toxins, while the morphological integrity of medicinal fungi (such as Poria cocos and Cordyceps sinensis) is directly related to efficacy. Therefore, accurate identification of the location and type of fungi is crucial for quality control.
[0003] During the processing, transportation, and storage of Chinese medicinal materials, surface physical damage is inevitably caused by mutual collisions or external forces, forming collision textures such as cracks, wrinkles, and depressions. The morphology of these physical textures is visually highly similar to fungal hyphae.
[0004] Regarding the aforementioned technologies, inspectors rely on optical microscopes and experience to determine whether the surface of medicinal materials is covered with hyphae. The microscopic features of collision texture and hyphae overlap significantly, especially in the complex matrix of Chinese medicinal materials and the early stages of fungal growth. The overlap between the two is far greater than expected, making it difficult to distinguish between physical damage and biological hyphae, resulting in a high misjudgment rate. Summary of the Invention
[0005] To effectively distinguish between collision textures on the surface of Chinese medicinal materials and fungal hyphae, this invention provides a method and system for the morphological identification of fungi in Chinese medicinal materials.
[0006] In a first aspect, the present invention provides a method for morphological identification of fungi in traditional Chinese medicinal materials, employing the following technical solution: A method for morphological identification of fungi in traditional Chinese medicinal materials, comprising: Step 1: Mark the suspected fungal areas according to the preset criteria to determine the location for hyphal curve analysis; Step 2: Obtain local image information corresponding to the mycelial curve analysis location; Step 3: Analyze local image information to determine the baseline hyphal curve; Step 4: Determine the fixed parameters of the medicinal material based on the position of the mycelial curve analysis. The fixed parameters of the medicinal material include the fixed coordinates and the fixed angle of the medicinal material. The fixed parameters of the medicinal material make the position of the mycelial curve analysis face the direction of the ball impact. Step 5: Generate a ball impact scheme based on fixed parameters of the medicinal material, wherein the ball impact scheme includes the impact point and the impact velocity; Step 6: Perform the ball impact operation according to the ball impact scheme, and determine the current mycelial curve diagram based on the position of the mycelial curve analysis after the ball impact operation; Step 7: Determine the mycelial curve deformation diagram based on the current mycelial curve diagram and the baseline mycelial curve diagram; Step 8: Determine the hyphal deformation characteristics based on the hyphal curve deformation diagram, and analyze the hyphal deformation characteristics to output the hyphal position.
[0007] By employing the aforementioned technical solution, through suspected fungal region marking, local image acquisition, and baseline hyphal curve analysis, combined with precise control of fixed parameters on the medicinal material, the hyphal curve analysis position is oriented to receive small ball impacts. After impact, a deformation map is generated by comparing the current hyphal curve with the baseline hyphal curve, thereby extracting hyphal deformation features and outputting hyphal positions. This method effectively distinguishes the collision texture on the surface of Chinese medicinal materials from the morphological differences of fungal hyphae, solving the misjudgment problem caused by the overlap of physical damage and microscopic features of biological hyphae in traditional microscopic examination, and significantly improving the accuracy and efficiency of fungal contamination identification.
[0008] Optionally, the specific method for generating the ball impact scheme includes: Step 50: Obtain an image of the surface of the medicinal material to determine its type; Step 51: Based on the type of medicinal material, search for the safe impact force range corresponding to the medicinal material type in the preset medicinal material feature library; Step 52: Determine the ball's impact speed according to the preset ball mass and safe impact force range; Step 53: Determine the ball impact point based on the fixed parameters of the medicinal material, and determine the ball impact scheme according to the ball impact point and the ball impact velocity.
[0009] By employing the above technical solution, the type of medicinal material is determined by acquiring images of its surface. A corresponding safe impact force range is retrieved from a pre-set medicinal material feature library. A suitable impact velocity is calculated based on the mass of the small ball. Then, the impact point is precisely located according to fixed parameters of the medicinal material, ultimately generating a scientifically sound small ball impact scheme. This scheme fully considers the physical characteristics of different medicinal materials, ensuring that irreversible damage to the medicinal material is avoided while effectively stimulating hyphal deformation, providing a reliable data foundation for subsequent hyphal location analysis.
[0010] Optionally, methods for determining the ball impact point based on fixed parameters of the medicinal material include: Step 530: Analyze the surface image of the medicinal material to identify raised hyphal regions and sunken hyphal regions; Step 531: Obtain the height of the raised surface when there are raised hyphae; Step 532: Determine the impact point of the ball based on the height of the raised surface and the preset height compensation formula; Step 533: Obtain the diameter of the depression opening when a depression hyphae region exists; Step 534: When the diameter of the concave opening is greater than the preset diameter of the ball, determine the impact point of the ball according to the fixed parameters of the medicinal material; Step 535: Obtain the coordinates of the dense hyphae zone at the edge of the depression opening when the diameter of the depression opening is smaller than the diameter of the ball; Step 536: When there are coordinates of the dense hyphae zone at the edge of the concave opening, determine the impact point of the ball according to the coordinates of the dense hyphae zone at the edge of the concave opening.
[0011] By employing the above technical solution and meticulously analyzing images of the medicinal material surface, the system can accurately identify raised and recessed hyphal regions. For raised hyphae, the system measures their surface height and uses a preset height compensation formula to precisely calculate the impact point of the small ball, ensuring that the impact is accurately applied to the hyphal region. For recessed hyphae, the system flexibly selects the impact point based on the comparison between the diameter of the recessed opening and the diameter of the small ball: if the diameter of the recessed opening is larger than the diameter of the small ball, the impact point is directly determined based on the fixed parameters of the medicinal material; if the diameter of the recessed opening is smaller than the diameter of the small ball, the coordinates of the dense hyphal area at the edge of the recessed opening are further obtained as the precise location for the small ball impact. This ensures that the impact of the small ball can maximize the stimulation of hyphal deformation.
[0012] Optional, also includes: Step 5320: Analyze the image of the medicinal material surface to determine the adjacent raised areas corresponding to the raised hyphae areas; Step 5321: Obtain the coordinates of the raised hyphae region and the coordinates of adjacent raised regions; Step 5322: Determine the current horizontal distance based on the coordinates of adjacent raised areas and the coordinates of raised hyphae areas; Step 5323: When the current horizontal distance is less than the diameter of the ball, redetermine the ball's impact point based on the current horizontal distance; Step 5324: Execute step 532 when the current horizontal distance is greater than the diameter of the ball.
[0013] By employing the above technical solution, after analyzing the surface image of the medicinal material to determine the raised hyphal region and its adjacent raised regions, the current horizontal distance is calculated. When this distance is less than the diameter of the ball, it indicates that the distance between the two raised regions is too close. If the original method is followed, the ball may simultaneously impact multiple regions, affecting the accuracy of deformation detection. In this case, the system dynamically adjusts the ball's impact point based on the current horizontal distance to ensure that the impact is precisely applied to the target hyphal region. When the horizontal distance is greater than the diameter of the ball, it indicates that the distance between the two raised regions is sufficient and will not interfere with the impact effect. The system then continues to execute step 532, that is, determining the ball's impact point based on the height of the raised surface and a preset height compensation formula. This dynamic adjustment mechanism significantly improves the adaptability of the impact scheme, ensuring accurate impact under different surface characteristics of medicinal materials.
[0014] Optionally, it also includes a method for determining the ball impact scheme when there are no coordinates of the dense hyphae zone at the edge of the concave opening, the method comprising: Step 537: Obtain the coordinates of the center of the depression opening; Step 538: Determine the corrected ball impact point based on the center coordinates of the concave opening; Step 539: Determine the maximum safe impact force based on the safe impact force range, and use it as a correction for the ball's impact velocity; Step 540: Form a ball impact scheme based on the corrected ball impact point and the corrected ball impact velocity.
[0015] By adopting the above technical solution, when there is no dense mycelial area at the edge of the concave opening on the surface of the medicinal material, the system determines the coordinates of the corrected impact point by obtaining the coordinates of the center of the concave opening. Simultaneously, based on the upper limit of the safe impact force range corresponding to the type of medicinal material, a corrected impact velocity parameter is set to ensure sufficient deformation excitation energy. Through stress transmission of the impact force in the medicinal material matrix, reliable induction of mycelial deformation characteristics can still be achieved even without a clearly defined dense mycelial area, providing effective data support for subsequent deformation analysis.
[0016] Optionally, methods for analyzing hyphal deformation characteristics to output hyphal location include: Step 80: Determine the expected physical deformation curve trend based on the baseline mycelial curve, fixed parameters of the medicinal material, and the ball impact scheme. The physical deformation curve trend includes the expected extension direction, the expected bending angle range, and the expected curvature fluctuation threshold. Step 81: Determine the current trend of the mycelial curve based on the mycelial curve deformation diagram; Step 82: Determine the mycelial position when the current mycelial curve trend and the physical deformation curve trend are inconsistent; Step 83: When the current hyphal curve trend and the physical deformation curve trend are consistent, output a preset collision trace signal.
[0017] By employing the above technical solution, a dynamic comparison is made between the pre-calculated physical deformation curve trend and the actual hyphal curve trend after impact. When there is a significant difference between the two, the deformation can be determined to originate from the elastic response of the biological hyphae; when the trends are highly consistent, it is determined to be mechanical deformation caused by physical collision. This dual verification mechanism effectively eliminates the risk of misjudgment caused by texture similarity in traditional methods, significantly improving the specificity of fungal contamination detection.
[0018] Optionally, it also includes a method for not outputting collision trace signals when the current hyphal curve trend and the physical deformation curve trend are consistent, the method comprising: Step 840: Continuously acquire the current hyphal curve trend to determine the rate of change of hyphal curve length; Step 841: Determine the hyphal position when the rate of change of hyphal curve length is not 0; Step 842: Identify abnormal hyphae when the hyphal curve length change rate is 0; Step 843: When abnormal hyphae are present, determine the staining area, and perform the preset staining operation according to the staining area to obtain the staining result; Step 844: Determine the hyphal location when the staining result is a continuous fluorescent network or tubular fluorescent structure; Step 845: Output collision trace signal when the staining result is not a continuous fluorescent network or tubular fluorescent structure.
[0019] By employing the above technical solution, when the actual hyphal curve trend matches the expected physical deformation trend, the system initiates a secondary verification process: by real-time monitoring of the hyphal curve length change rate, it distinguishes between static physical damage and dynamic biological growth. If a continuous change in length is detected, it is determined to be metabolic activity of fungal hyphae; if the length remains stable, it is marked as an abnormal area and a fluorescent staining procedure is triggered. After staining, if a fungal-specific fluorescent network structure is observed, the presence of hyphae is confirmed; if non-specific fluorescence is displayed, it is determined to be collision traces. This multi-level verification mechanism, through dual confirmation by morphological analysis and biochemical characteristic detection, effectively solves the false positive problem of single detection methods and significantly improves the accuracy of fungal contamination determination.
[0020] Optionally, before continuously acquiring the current mycelial curve trend, the following may also be included: Step 846: Determine the current hyphal curve features based on local image information; Step 847: Analyze hyphal curve characteristics to determine tubular structure features and branching trace features; Step 848: Determine the location of hyphae when both tubular structural features and branching traces are present; Step 849: If tubular structure features or branch trace features are present, proceed to steps 840 to 845; Step 850: Output a preset signal indicating that hyphae do not exist when there are no tubular structure features or branching trace features.
[0021] By adopting the above technical solution, before initiating the dynamic monitoring process, the system first performs static feature analysis on local images. When both complete tubular structures and multi-level branching features are detected simultaneously, it is directly identified as fungal hyphae. If only a single type of feature exists, the system proceeds to the dynamic monitoring process for secondary verification. When neither type of feature is detected, the system immediately outputs a signal indicating the absence of hyphae. This hierarchical judgment strategy, through the organic combination of static morphological screening and dynamic growth monitoring, avoids the risk of misjudgment based on simple features and ensures the reliability of the detection results through a multimodal verification mechanism. It is particularly suitable for rapid screening of fungal contamination in complex matrix environments of traditional Chinese medicine materials.
[0022] Optionally, it also includes a method for determining the efficacy target rate after determining the mycelial location, the method including: Step 851: Acquire microscopic images corresponding to the locations of mycelia; Step 852: Determine hyphae morphological characteristic parameters based on microscopic images, including hyphae density, branch integrity, and morphological integrity rate; Step 853: Input mycelial morphology parameters into the preset prediction model to determine the predicted value of effective components; Step 854: Based on the type of medicinal material, find the standard value of the effective component corresponding to the type of medicinal material described in the Chinese Pharmacopoeia (2025 edition); Step 855: Determine the efficacy attainment rate based on the predicted value and standard value of the effective ingredient, and output the efficacy attainment rate.
[0023] By employing the aforementioned technical solution, after determining the location of the hyphae, the system acquires microscopic images of the corresponding area using high-precision microscopic imaging technology, and then extracts key morphological parameters such as hyphal density, branch integrity, and morphological integrity rate. These parameters are input into a prediction model built based on machine learning algorithms. This model, trained with massive amounts of historical data, can accurately correlate hyphal morphological characteristics with the content of effective components. Subsequently, the system automatically retrieves the standard values of the effective components of the corresponding medicinal materials from the Chinese Pharmacopoeia (2025 edition), and calculates the efficacy compliance rate by comparing the predicted values with the standard values. This evaluation system transforms traditional experience-based judgments into quantitative indicators, not only providing a scientific basis for the quality grading of medicinal materials, but also achieving accurate prediction of the efficacy potential of Chinese medicinal materials by dynamically monitoring the hyphal growth status, effectively solving the technical problem of insufficient correlation between morphological characteristics and efficacy in traditional detection methods.
[0024] Secondly, this invention provides a morphological identification system for fungi in traditional Chinese medicinal materials, employing the following technical solution: A morphological identification system for fungi in traditional Chinese medicinal materials, comprising: The acquisition module is used to acquire local image information and the type of medicinal material; A memory for storing a program for a method of fungal morphological identification of Chinese medicinal materials as described above; The processor loads and executes programs from memory.
[0025] By adopting the above technical solution, the system acquires local images of the surface of Chinese medicinal materials through an acquisition module, transmits the image data to a memory for storage, and the processor retrieves the identification method program from the memory to perform operations such as marking suspected fungal areas, analyzing baseline hyphal curves, adjusting fixed parameters of the medicinal materials, generating and executing a small ball impact scheme, generating hyphal curve deformation diagrams and analyzing deformation characteristics. Finally, it outputs the hyphal position or collision trace signal. The system achieves automated and intelligent fungal morphological identification, effectively solving the problem of misjudgment caused by the overlap of physical damage and microscopic features of biological hyphae in traditional microscopic examination, and significantly improving the accuracy and efficiency of fungal contamination identification.
[0026] In summary, the present invention has at least one of the following beneficial technical effects: 1. This invention addresses the high misjudgment rate caused by the overlap between physical damage and the microscopic morphology of fungal hyphae in traditional manual microscopic examination. By comparing the impact deformation trend, it can accurately identify real fungal hyphae and reduce the misjudgment rate of hyphae identification. 2. Adapts to various complex mycelial regions on the surface of Chinese medicinal materials, such as protrusions, depressions, and adjacent protrusions. Automatically adjusts the impact point and impact parameters of the ball for different structures. It can cover areas that are difficult to reach by traditional methods, such as the inside of depressions and the sides of protrusions, and can automatically match safe impact parameters through the medicinal material feature library. 3. Fungal testing is completed without damaging the medicinal material matrix or causing excessive mycelial shedding, ensuring that the medicinal material still has usability after testing. At the same time, it covers scenarios that traditional methods are prone to missing, such as dead mycelia and mycelia inside depressions, eliminating detection blind spots and ensuring the comprehensiveness of fungal contamination identification of Chinese medicinal materials, avoiding the impact of missed detection on medication safety. Attached Figure Description
[0027] Figure 1 This is a flowchart of a method for morphological identification of fungi in traditional Chinese medicinal materials, as described in an embodiment of this application. Figure 2 This is a flowchart of a method in this application embodiment for not outputting collision trace signals when the current hyphal curve trend and the physical deformation curve trend are consistent. Detailed Implementation
[0028] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0029] This invention discloses a method for morphological identification of fungi in traditional Chinese medicinal materials. (Refer to...) Figure 1 A method for morphological identification of fungi in traditional Chinese medicinal materials includes: Step 1: Mark the pre-defined suspected fungal areas to determine the location for hyphal curve analysis.
[0030] Suspected fungal areas refer to areas with filamentous or tubular morphologies observed on the surface of medicinal materials by inspectors using an optical microscope. These areas are defined based on the morphological appearance under the microscope. The observed suspected textures could be either target fungal hyphae or hyphae-like textures formed by physical damage such as collisions or cracks. Especially in complex matrices of medicinal materials (such as surface wrinkles, natural crystals, and porous structures) or in the early stages of fungal growth (when hyphae are short, thin, and incompletely formed), the overlap of microscopic features between the two types of textures is far greater than expected. Microscopic examination alone is insufficient to distinguish between physical damage and biological hyphae, leading to a high risk of misjudgment based solely on morphological appearance. The marked suspected fungal areas are areas on the surface of the medicinal material that inspectors have pre-determined through optical microscope examination and experience to identify the potential presence of fungi. This is used to quickly acquire images containing fungi. It is necessary to determine the relative position of the fungi to the surface of the medicinal material for subsequent determination of fixed parameters. The relative position is determined by first setting the center point of the medicinal material surface as a reference plane, and then calculating the offset of the suspected fungal area relative to the reference plane using the image coordinate system.
[0031] Hyphae curve analysis locations refer to representative local points selected within a suspected fungal region as the analysis objects. These locations must reflect the overall morphological characteristics of the suspected region. Specifically, points of convergence, branching initiation, or morphological abrupt change in the suspected hyphae should be prioritized as analysis locations. These locations exhibit significant morphological changes, making it easier to generate distinguishable deformation features through subsequent impact experiments. When multiple independent texture clusters exist within a suspected region, the analysis location for each cluster should be individually marked to ensure coverage of the entire area where fungal hyphae may exist. The coordinate parameters of the hyphae curve analysis locations are recorded using an image coordinate system.
[0032] The image coordinate system mentioned above refers to a two-dimensional rectangular coordinate system established with the imaging plane of the optical microscope as the reference. This coordinate system takes the upper left corner of the image as the origin, the horizontal direction as the positive X-axis, and the vertical direction as the positive Y-axis. The coordinate unit is pixels. Through the calibration parameters of the microscope imaging system, the image coordinates can be converted into the physical coordinates of the actual medicinal material surface. Specifically, by first taking an image of the medicinal material with suspected fungal areas, the coordinate position of the medicinal material on the worktable is determined. Then, the position of the mycelial curve analysis is determined by the relative position. Since the position of the mycelial curve analysis may be a very small area relative to the medicinal material, and considering that the proportion of the area corresponding to the medicinal material and the mycelial curve analysis position is too large, the relative position is needed to further determine the position of the mycelial curve analysis.
[0033] Step 2: Obtain local image information corresponding to the mycelial curve analysis location.
[0034] Local image information refers to image data containing the target texture and its surrounding microenvironment, captured by a microscope imaging system with the hyphal curve analysis location as the center.
[0035] Step 3: Analyze local image information to determine the baseline hyphal curve.
[0036] The baseline hyphal curve refers to the basic outline of hyphal morphology extracted using image processing algorithms under conditions of no external interference. The process involves preprocessing the local image to filter background noise and enhance hyphal edge features; secondly, a curve fitting algorithm (specifically, a B-spline curve) is used to convert discrete edge points into a continuous and smooth baseline curve; finally, the baseline hyphal curve is converted to a vector graphic format for storage and associated with the image coordinate parameters of the hyphal curve analysis location.
[0037] Step 4: Determine the fixed parameters of the medicinal material based on the position of the mycelial curve analysis. The fixed parameters of the medicinal material include the fixed coordinates and fixed angles of the medicinal material.
[0038] Fixed parameters for medicinal materials refer to the set of parameters required for spatial positioning of Chinese medicinal materials during the experiment to ensure that subsequent ball impact operations can accurately act on the position for mycelial curve analysis.
[0039] The fixed coordinates of medicinal materials refer to the spatial coordinates of the Chinese medicinal materials set on the experimental platform to fix their position. They are determined by the mapping relationship between the image coordinate system and the mechanical coordinate system of the experimental platform: First, the image coordinates (X0, Y0) of the mycelial curve analysis position are input into the pre-calibrated coordinate transformation model. This model takes into account the microscope imaging magnification (e.g., 40×, 100×), objective lens working distance and experimental platform displacement accuracy (±0.01mm), and outputs the absolute coordinates (X1, Y1, Z1) of the medicinal materials on the three-dimensional experimental platform. The Z-axis coordinate is calibrated in real time by a laser rangefinder to compensate for the surface undulations of the medicinal materials.
[0040] The fixed angle of the medicinal material refers to adjusting its spatial posture according to the surface morphology of the medicinal material so that the position of the mycelial curve analysis is directly opposite the direction of the ball impact. This is achieved through a dual-axis rotary table with a built-in angle sensor (resolution 0.01°). The rotation table adjusts the posture of the medicinal material according to the local tangent direction of the mycelial curve analysis position: when the reference mycelial curve shows that the local tangent makes an angle of θ with the horizontal axis, the rotary table automatically rotates by an angle of θ so that the tangent direction of the mycelial curve analysis position forms an angle of 90°-θ with the direction of the ball impact (vertically downward), ensuring that the impact force is maximized along the normal component of the mycelium.
[0041] Step 5: Generate a ball impact scheme based on the fixed parameters of the medicinal material. The ball impact scheme includes the impact point and the impact velocity.
[0042] The ball impact scheme refers to the set of specific parameters for ball impact calculated by an algorithmic model based on fixed parameters of the medicinal material. The impact point is the precise location where the ball contacts the surface of the medicinal material. The impact velocity is the instantaneous velocity of the ball upon impact with the surface of the medicinal material. The ball impact scheme will be introduced later and will not be elaborated upon here.
[0043] Step 6: Perform the ball impact operation according to the ball impact scheme, and determine the current mycelial curve diagram based on the position of the mycelial curve analysis after the ball impact operation.
[0044] The ball impact operation refers to driving a ball from a specified height (Z2) with a calculated velocity (v) to vertically impact a preset position (X2, Y2) on the surface of the Chinese medicinal material.
[0045] The current hyphal curve refers to the local image information of the hyphal curve analysis position obtained again by the microscope imaging system after the ball impact operation is completed, and it goes through the same image processing process as step 3, which will not be described in detail here.
[0046] Step 7: Determine the mycelial curve deformation diagram based on the current mycelial curve diagram and the baseline mycelial curve diagram.
[0047] A hyphal deformation graph is a visualization chart generated by comparing hyphal morphology data before and after an impact. This chart uses a baseline hyphal curve as a reference coordinate system, calculating the vector difference between the coordinates of each control point on the current hyphal curve and the corresponding point on the baseline curve to generate a two-dimensional graph containing the deformation direction, deformation amplitude, and deformation curvature.
[0048] Step 8: Determine the hyphal deformation characteristics based on the hyphal curve deformation diagram, and analyze the hyphal deformation characteristics to output the hyphal position.
[0049] Hyphae deformation characteristics refer to the set of core parameters extracted and quantified based on the hyphal curve deformation diagram, which is a two-dimensional deformation difference diagram between the hyphal impact and before the impact. Hyphae location refers to the ability of the system to accurately locate the actual fungal hyphae areas on the surface of Chinese medicinal materials by analyzing hyphal deformation characteristics.
[0050] The specific methods for generating the ball impact scheme include: Step 50: Obtain an image of the surface of the medicinal material to determine the type of medicinal material.
[0051] A medicinal herb surface image refers to a full-view image of the surface of a Chinese medicinal herb acquired using a high-resolution microscope. Medicinal herb type refers to the classification of Chinese medicinal herbs based on their appearance, tissue structure, and surface texture characteristics. Different types of medicinal herbs have significantly different physical properties, directly affecting the selection of safe impact force.
[0052] Step 51: Based on the type of medicinal material, search for the safe impact force range corresponding to the type of medicinal material in the preset medicinal material feature library.
[0053] A medicinal herb characteristic database is a pre-established database containing the physical properties and safety parameters of different types of Chinese medicinal herbs. This database is constructed through a combination of experimental measurements and literature reviews, recording mechanical parameters such as density, hardness, and elastic modulus for each medicinal herb, as well as safety thresholds such as the maximum impact force that the surface can withstand and the allowable deformation range.
[0054] The safe impact force range refers to a dynamic impact force range pre-set based on the mycelial shedding force recorded in the medicinal material characteristic database for different types of Chinese medicinal materials, combined with physical property parameters. Mycelial shedding force refers to the minimum static tensile force required for the target medicinal fungal mycelium to separate from the surface of the Chinese medicinal material matrix. Specifically, it is obtained by multiplying the contact area between the mycelium and the medicinal material matrix by the mycelial peel strength, i.e., mycelial shedding force = contact area × mycelial peel strength. Here, the contact area refers to the contact area between the mycelium and the medicinal material matrix, and the mycelial peel strength refers to the force required per unit area to peel the mycelium from the surface of the medicinal material matrix. The safe impact force range is not directly equal to the mycelial shedding force; it is only calculated using the mycelial shedding force as the primary factor.
[0055] Step 52: Determine the ball impact speed according to the preset ball mass and safe impact force range.
[0056] The mass of the ball refers to the mass of a standard material sphere used in the experiment, which is determined by measurement using a precision balance.
[0057] The ball impact velocity refers to the instantaneous velocity of the ball before it contacts the surface of the medicinal material in the experiment. Its core is to first determine the safe impact force range that will not cause the mycelium to fall off based on the mycelium shedding force, and then combine the fixed ball mass and the collision contact time calibrated in the experiment to derive the velocity range by reverse derivation through a simplified mechanical model.
[0058] Since the safe impact force is a range between the upper and lower limits, rather than a fixed value, and the mass of the ball and the collision contact time are fixed, the corresponding derived speed is also a range; the speed is set according to this range before the experiment.
[0059] Step 53: Determine the ball impact point based on the fixed parameters of the medicinal material, and determine the ball impact scheme according to the ball impact point and the ball impact velocity.
[0060] The specific process for confirming the impact point of the small ball is as follows: First, the fixed coordinates (X1, Y1, Z1) of the medicinal material are input into the system. The system combines the local image features of the small ball diameter and the hyphal curve analysis position to determine the optimal impact point directly above the hyphal curve analysis position (Z-axis direction).
[0061] The impact point of the ball is combined with the impact velocity of the ball, and finally the impact point and impact velocity are integrated into the ball impact scheme, which is output in the form of three-dimensional coordinates (X2,Y2,Z2) and velocity value (v). (X2,Y2) coincides with the fixed coordinates (X1,Y1) of the medicinal material on the horizontal plane, Z2 is the initial height of the ball, and the velocity value v includes a horizontal component (automatically calculated after the angle of the rotary table is adjusted) and a vertical component (directly determined by the impact velocity).
[0062] Among them, the methods for determining the impact point of the ball based on fixed parameters of the medicinal material include: Step 530: Analyze the surface image of the medicinal material to identify raised hyphal regions and sunken hyphal regions.
[0063] Raised hyphal regions refer to areas on the surface of medicinal materials that are higher than their surrounding reference surfaces and contain suspected hyphae. The surrounding reference surfaces are the smooth surfaces of the medicinal materials surrounding the raised areas. If there are no smooth surfaces, the plane containing the lowest point of the raised area is used as the reference. Recessed hyphal regions refer to areas on the surface of medicinal materials that are lower than their surrounding reference surfaces and contain suspected hyphae. The surrounding reference surfaces are also the smooth surfaces of the medicinal materials surrounding the recessed areas. By performing 3D reconstruction and height analysis on the images of the medicinal material surface, raised and recessed hyphal regions can be accurately identified.
[0064] Step 531: Obtain the height of the raised surface when there is a raised hyphae area.
[0065] The height of the raised surface refers to the vertical distance of the highest point in the raised hyphal region relative to the surrounding reference surface. This height data is obtained through laser scanning or micro-interferometry techniques, with an accuracy down to the micrometer level.
[0066] Step 532: Determine the impact point of the ball based on the height of the raised surface and the preset height compensation formula.
[0067] The height compensation formula is a formula used to calculate the z-axis coordinate of the ball impact point corresponding to the mycelial region of the raised surface based on the height of the raised surface. Its core is to make the impact point fall accurately in the suspected dense mycelial area of the raised surface by adjusting the coordinates, so as to avoid impacting the non-mycelial area at the top of the raised surface or the non-mycelial area at the bottom.
[0068] The formula for height compensation is: Zcollision = Zbase + Hconvexity × k, where: Z_collision is the z-axis coordinate of the point where the ball impacts, which is the initial height of the ball and corresponds to Z2 in three-dimensional coordinates.
[0069] Z-base is the z-axis coordinate of the reference surface surrounding the raised hyphae region, which is the reference Z value in the fixed coordinate system of medicinal materials.
[0070] H_convex is the height of the convex surface obtained in step 531.
[0071] k is a preset compensation coefficient. Its value must be such that the impact point is located in the suspected dense hyphae area on the convex surface. The value of the compensation coefficient k is not a fixed value, but is dynamically adjusted based on the curvature characteristics of the convex and the local height ratio of the hyphae curve analysis position. The core is to make the value of k match the shape of the side of the convex to ensure that the Z-impact accurately matches the height of the dense hyphae area.
[0072] Since the raised surface gradually bulges from the reference surface to the top, the suspected dense hyphae area is mostly located in the middle and upper part of the raised side, so the compensation coefficient k is between 0.7 and 0.9.
[0073] Step 533: Obtain the diameter of the depression opening when there is a depression hyphal region.
[0074] The diameter of the depression opening refers to the maximum span of the horizontal projection outline of the depression hyphae region on the surface of the medicinal material, that is, the longest straight-line distance between two points on the edge of the depression opening, which is determined by image recognition algorithms, such as edge recognition algorithms.
[0075] Step 534: When the diameter of the concave opening is greater than the preset diameter of the ball, determine the impact point of the ball according to the fixed parameters of the medicinal material.
[0076] The diameter of the ball refers to the diameter of the ball used in the experiment. When the diameter of the depression opening is larger than the diameter of the ball, it means that the space size of the depression opening is sufficient to allow the ball to completely enter the depression. The ball will not be stuck by the edge of the depression opening and has the space conditions to contact the suspected hyphal area inside the depression. At this time, the impact point is determined based on the fixed parameters of the medicinal material, which can ensure that the ball can accurately enter the depression and act on the suspected dense hyphal area inside.
[0077] Step 535: Obtain the coordinates of the dense mycelial area at the edge of the depression opening when the diameter of the depression opening is smaller than the diameter of the ball.
[0078] The coordinates of the densely populated hyphal region at the edge of the concave opening refer to the coordinates of this region when the diameter of the concave opening is smaller than the diameter of the sphere. Because the space within the concave opening is limited, the sphere cannot fully enter the concave interior. To maximize hyphal deformation, it is necessary to obtain the coordinates of this densely populated hyphal region at the edge of the concave opening. These coordinates are determined using image analysis techniques, combining the distribution characteristics and density of hyphae at the edge of the concave opening. Specifically, images of the concave area are first acquired using a high-resolution microscope. Then, image processing algorithms are used to identify the areas where hyphae aggregate at the edge of the concave opening, and the center coordinates or other representative coordinate points of these areas are determined as the coordinates of the densely populated hyphal region at the edge of the concave opening.
[0079] Step 536: When there are coordinates of the dense hyphae zone at the edge of the concave opening, determine the impact point of the ball according to the coordinates of the dense hyphae zone at the edge of the concave opening.
[0080] When the coordinates of a densely mycelial region at the edge of the concave opening are present, it indicates that the diameter of the concave opening is insufficient for the ball to fully enter the concave interior. However, by setting the impact point at the densely mycelial region at the edge of the concave opening, the deformation of the mycelium can be maximized. In this case, the system will calculate the specific impact point of the ball based on the previously obtained coordinates of the densely mycelial region at the edge of the concave opening.
[0081] This also includes: Step 5320: Analyze the image of the medicinal material surface to determine the adjacent raised areas corresponding to the raised hyphae areas.
[0082] Adjacent raised areas refer to other raised areas on the surface of medicinal materials that are spatially adjacent to the raised hyphal area and have surface protrusions. Through image analysis technology, the system can identify other raised areas adjacent to the target raised hyphal area.
[0083] Step 5321: Obtain the coordinates of the raised hyphae region and the coordinates of adjacent raised regions.
[0084] The coordinates of the raised hyphae region refer to the position coordinates of the raised hyphae region in the image coordinate system after extracting image data containing the raised hyphae region and its surrounding microenvironment, centered on the hyphae curve analysis position. The coordinates of adjacent raised regions refer to the position coordinates of adjacent raised regions in the image coordinate system. The system uses image recognition algorithms to accurately extract the boundary information of the raised hyphae region and adjacent raised regions, thereby determining their coordinate positions in the image. Converting pixels to coordinates is a common technique and will not be elaborated upon here.
[0085] Step 5322: Determine the current horizontal distance based on the coordinates of adjacent raised areas and the coordinates of raised hyphae areas.
[0086] The current horizontal distance refers to the straight-line distance in the horizontal direction between the raised hyphal region and the adjacent raised region. This distance is obtained by calculating the difference between the coordinates of the two regions on the horizontal axis, that is, the x-axis and the y-axis. The Pythagorean theorem is used for the calculation here, which will not be elaborated on.
[0087] Step 5323: When the current horizontal distance is less than the diameter of the ball, redetermine the ball's impact point based on the current horizontal distance.
[0088] If the current horizontal distance is less than the diameter of the ball, it indicates that the two raised areas are too close in the horizontal direction. If the impact proceeds as planned, the ball may simultaneously affect adjacent raised areas, thus interfering with the accurate analysis of the target raised mycelial region. Therefore, it is necessary to redetermine the ball's impact point based on the current horizontal distance. The process of redetermining the ball's impact point is as follows: First, the system adjusts the horizontal position of the impact point according to the ratio between the current horizontal distance and the ball's diameter to ensure that the ball does not touch adjacent raised areas during the impact. Specifically, the system shifts the impact point away from adjacent raised areas, and the shift distance is determined based on the difference between the current horizontal distance and the ball's diameter to ensure that the ball only acts on the target raised mycelial region. After the ball's horizontal position is adjusted, step 532 is executed to calculate the z-axis coordinate of the ball's impact point according to the height compensation formula.
[0089] Step 5324: Execute step 532 when the current horizontal distance is greater than the diameter of the ball.
[0090] If the current horizontal distance is greater than the diameter of the ball, it means that the two raised areas have sufficient spacing in the horizontal direction. When the ball impacts the target raised hyphal region, it will not be disturbed by the adjacent raised areas. Therefore, the system will calculate the z-axis coordinate of the ball's impact point according to the previously determined height compensation formula.
[0091] It also includes a method for determining the ball impact scheme when there are no coordinates of the dense hyphae zone at the edge of the concave opening, the method comprising: Step 537: Obtain the coordinates of the center of the depression opening.
[0092] The center coordinates of the concave opening refer to the coordinates of the center point of the horizontal projection outline of the concave mycelial region onto the surface of the medicinal material. These coordinates can be obtained by locating and analyzing the edges of the concave opening using image recognition algorithms. For example, an edge detection algorithm can be used to determine the edge points of the concave opening, and then the geometric center of these edge points can be calculated to obtain the center coordinates of the concave opening.
[0093] Step 538: Determine the corrected ball impact point based on the center coordinates of the concave opening.
[0094] The corrected impact point refers to the impact point that ensures the impact force is accurately transmitted to the mycelial zone inside the depression. Specifically, the coordinate parameters of this impact point are: the horizontal coordinate completely coincides with the center coordinate of the depression opening, and the z-axis coordinate is consistent with the z-axis coordinate of the reference surface surrounding the depression.
[0095] Step 539: Determine the maximum safe impact force based on the safe impact force range, and use it as a correction for the ball's impact velocity.
[0096] The maximum safe impact force refers to the maximum dynamic impact force allowed to be applied given the current type of Chinese medicinal material and its mycelial characteristics, without causing excessive damage or detachment of the mycelium. The corrected ball impact velocity refers to the instantaneous velocity of the ball, derived by inversely from the ball's mass, collision contact time, and the maximum safe impact force, where the dynamic impact force generated at the corrected impact point is exactly equal to the maximum safe impact force. The maximum safe impact force was chosen here to ensure that the impact force can be transmitted to the mycelial region within the depression.
[0097] Step 540: Formulate a ball impact scheme based on the corrected ball impact point and the corrected ball impact velocity.
[0098] Methods for analyzing hyphal deformation characteristics to output hyphal location include: Step 80: Determine the expected physical deformation curve trend based on the baseline mycelial curve, fixed parameters of medicinal materials, and small ball impact scheme. The physical deformation curve trend includes the expected extension direction, the expected bending angle range, and the expected curvature fluctuation threshold.
[0099] The predicted physical deformation curve trend refers to the deformation pattern that the physical texture should exhibit after impact, which is pre-calculated through mechanical simulation based on the baseline mycelial curve before impact, fixed parameters of the medicinal material, and the small ball impact scheme. Specifically, it includes the predicted extension direction, the predicted bending angle range, and the predicted curvature fluctuation threshold.
[0100] The expected extension direction is the main extension direction of the texture after impact, calculated based on the impact force direction and the initial extension trajectory of the physical texture. The expected bending angle range is the bending angle interval of the physical texture near the impact point, calculated based on the hardness, elastic modulus, and impact force of the medicinal material. The expected curvature fluctuation threshold reflects the uniformity of the physical texture deformation, i.e., the curvature change gradient from the impact point to the edge.
[0101] Step 81: Determine the current trend of the mycelial curve based on the mycelial curve deformation diagram.
[0102] The current hyphal curve trend refers to the extraction of observed hyphal extension direction, bending angle, and curvature changes by comparing the hyphal curve deformation diagram after impact with the baseline hyphal curve diagram before impact. These hyphal extension direction, bending angle, and curvature changes correspond to the expected extension direction, expected bending angle range, and expected curvature fluctuation threshold.
[0103] Step 82: Determine the mycelial position when the current mycelial curve trend and the physical deformation curve trend are inconsistent.
[0104] If the current trend of the hyphal curve and the trend of the physical deformation curve are inconsistent, it indicates that there is a significant deviation between the observed suspected texture deformation characteristics and the theoretical mechanical deformation law of physical damage. The core reason for this deviation is that physical textures do not have the toughness and deformation resistance unique to biological tissues, and their deformation completely follows the laws of mechanics; while fungal hyphae, as biological tissues, have naturally tough cell walls and a stable attachment relationship with the medicinal matrix. Under safe impact force, the actual deformation will be caused by the deformation resistance characteristics of biological structures, which cannot conform to the trend deduced by physical laws, resulting in a significant deviation.
[0105] Step 83: Output the preset collision trace signal when the current mycelial curve trend and the physical deformation curve trend are consistent.
[0106] Collision trace signal refers to a signal that determines that the suspected texture area is not fungal hyphae, but a hyphae-like texture formed by physical damage such as collisions and cracks.
[0107] If the current trend of the hyphal curve is consistent with the trend of the physical deformation curve, it means that the suspected texture deformation features observed are highly consistent with the theoretical mechanical deformation law of physical damage. Therefore, it can be determined that the texture change in this area is completely caused by external force impact and has nothing to do with the biological characteristics of the hyphae. So, the collision trace signal is output.
[0108] Reference Figure 2 It also includes a method for not outputting collision trace signals when the current hyphal curve trend and the physical deformation curve trend are consistent, the method including: Step 840: Continuously acquire the current hyphal curve trend to determine the rate of change of hyphal curve length.
[0109] The rate of change of hyphal curve length refers to the magnitude of change in hyphal curve length per unit time by comparing the hyphal curve deformation graphs at adjacent time points during continuous monitoring of the current hyphal curve trend.
[0110] Step 841: Determine the hyphal position when the rate of change of hyphal curve length is not 0.
[0111] When the rate of change of hyphal length is not 0, it indicates that the hyphae are exhibiting biological growth behavior. Based on this characteristic, they can be identified as hyphae, thus determining their location.
[0112] Step 842: Identify abnormal hyphae when the hyphal curve length change rate is 0.
[0113] Abnormal hyphae refer to textured structures on the surface of Chinese medicinal materials that resemble hyphae but are identified as lacking biological activity. When the hyphae curve length change rate is 0, it indicates that the hyphae have not produced biological characteristics of growth, which may be due to dead hyphae or curves corresponding to collision marks, thus identifying abnormal hyphae.
[0114] Step 843: When abnormal hyphae are present, determine the staining area and perform the preset staining operation according to the staining area to obtain the staining result.
[0115] The staining area refers to a specific detection area defined by the spatial distribution characteristics of abnormal hyphae and the three-dimensional coordinates (X1, Y1, Z1) of the hyphae curve analysis position, used to accurately distinguish dead hyphae from physical texture.
[0116] Staining refers to the precise staining of designated areas using a chitin-specific staining agent. This staining agent specifically binds to the chitin component unique to the cell wall of fungal hyphae and emits fluorescence. Physical textures contain no chitin and will not produce a staining reaction. The specific procedure is as follows: Using a high-precision micro-dosing device, the diluted dye is evenly applied to the entire stained area. The area is allowed to stand and react according to the dye instructions, and then the residual dye is gently rinsed off with deionized water. The stained area is observed under a fluorescence microscope. If a fluorescence signal is observed and it is continuous or reticularly distributed, the area is determined to be dead hyphae. If no fluorescence signal is observed, it is determined to be physical texture.
[0117] Step 844: Determine the hyphal location when the staining result is a continuous fluorescent network or tubular fluorescent structure.
[0118] When the staining result is a continuous fluorescent network or tubular fluorescent structure, it indicates that there is a complete fungal cell wall structure in the area. Chitin components form a characteristic fluorescent pattern through the staining agent, which can be used to determine whether the area is a distribution area of living or dead fungal hyphae.
[0119] Step 845: Output collision trace signal when the staining result is not a continuous fluorescent network or tubular fluorescent structure.
[0120] When the staining result is not a continuous fluorescent network or tubular fluorescent structure, it indicates that there is no complete fungal cell wall structure in the area, and the chitin component does not form a characteristic fluorescent pattern. Therefore, the area can be determined to be a physical texture or non-fungal damage, and thus a collision trace signal is output.
[0121] This includes, before continuously acquiring the current mycelial curve trend, the following: Step 846: Determine the current hyphal curve features based on local image information.
[0122] The current hyphal curve features refer to the set of core parameters extracted from the current hyphal curve deformation map after the impact, which are based on the local image information of the hyphal curve analysis position and quantify the suspected texture structure attributes and morphological details. Specifically, they include the actual length, diameter and diameter uniformity, extension direction, bending angle, curvature change value of the suspected texture, as well as the continuity of the texture (such as whether there is a break or branch) and other quantifiable features. The above parameters are all obtained by mature existing technologies in the fields of machine vision or image processing, and will not be elaborated on here.
[0123] Step 847: Analyze hyphal curve characteristics to determine tubular structure characteristics and branching trace characteristics.
[0124] Tubular structure features refer to the typical tubular morphological attributes of fungal hyphae extracted based on the current hyphal curve features and local image information. Specifically, they are characterized by smooth and complete tube wall outlines resembling textures, and a continuous, unbroken state along the extension direction. This is the core morphological identifier that distinguishes fungal hyphae from irregular physical textures. It should be noted that hyphae that are not continuous along the extension direction may also be fungal hyphae.
[0125] Branch trace features refer to the unique branching morphology of fungal hyphae identified based on the current hyphal curve features and local image information. Specifically, it includes the presence or absence of branching points, the number of branches, and the fact that the branch diameter does not have obvious abrupt changes in thickness and the branch segments still maintain a tubular structure. Its regular branching pattern is significantly different from the chaotic branching or non-branching features of physical texture.
[0126] Step 848: Determine the location of hyphae when both tubular structural features and branching trace features are present.
[0127] When both tubular structural features and branching traces are present, it indicates that the currently observed suspected texture possesses both the typical tubular morphology and unique branching pattern of fungal hyphae. Therefore, the region can be identified as a fungal hyphae distribution area, thus determining the location of the hyphae.
[0128] Step 849: If tubular structure features or branch trace features are present, proceed to steps 840 to 845.
[0129] When tubular structural features or branching traces are present, it indicates that the currently observed suspected texture has some morphological features of fungal hyphae, but it cannot be directly identified as a fungal hyphae distribution area. This is because a single feature may correspond to dead hyphae, residual hyphae fragments, or similar structures in physical texture. Therefore, it is necessary to perform secondary verification by combining the hyphae curve length change rate and staining operation. At this time, the system automatically jumps to steps 840 to 845 to eliminate non-biological interference by dynamically monitoring the deformation trend and chemical staining results.
[0130] Step 850: Output a preset signal indicating that hyphae do not exist when there are no tubular structure features or branching trace features.
[0131] The absence of hyphae signal indicates that fungal hyphae are absent in a suspected fungal region, hence the system outputs a hyphae absence signal. When tubular structural features and branching traces are absent, it means that the observed suspected texture lacks both the typical tubular morphology of fungal hyphae and a unique branching pattern. Therefore, it can be determined that fungal hyphae are absent in this region, and a hyphae absence signal is output.
[0132] This includes a method for determining the efficacy rate after identifying the mycelial location, which includes: Step 851: Collect microscopic images corresponding to the locations of mycelia.
[0133] Microscopic imaging refers to the acquisition of multi-dimensional images of a confirmed hyphal region using high-resolution microscopic imaging equipment, obtaining detailed microscopic image data including hyphal morphology, cell structure, and hyphal density distribution. During the acquisition process, it is essential to ensure the consistency of imaging parameters (such as magnification, light intensity, and focal length) to avoid image distortion caused by differences in equipment.
[0134] Step 852: Determine hyphae morphological characteristic parameters based on microscopic images. The hyphae morphological characteristic parameters include hyphae density, branch integrity, and morphological integrity rate.
[0135] Mycelial morphology parameters are core indicators extracted from microscopic images using image analysis techniques, quantifying the growth status and structural integrity of mycelia. Mycelial density refers to the number of mycelia distributed per unit area, calculated by the pixel percentage of mycelia or the ratio of actual length to area in a statistical image. This parameter directly reflects the density of mycelia and is closely related to the accumulation of effective components in medicinal materials. Branch integrity refers to the completeness of the mycelial branch structure, assessed by calculating the number of branch points, the ratio of branch length to trunk length, and whether branches are broken or missing. This parameter reflects the growth vitality and metabolic capacity of mycelia. Morphological integrity rate refers to the overall integrity of the mycelial morphology. By comparing with standard mycelial morphology models, indices such as mycelial curvature, twisting, and surface smoothness are calculated to assess whether external factors (such as pests, diseases, and mechanical damage) have caused morphological abnormalities in the mycelia.
[0136] Step 853: Input mycelial morphology parameters into the preset prediction model to determine the predicted value of effective components.
[0137] A predictive model is a mathematical model built based on machine learning algorithms to correlate mycelial morphology with the content of active ingredients in medicinal materials. Trained on extensive experimental data, this model can automatically calculate and output predicted values of active ingredients in corresponding medicinal materials based on input parameters such as mycelial density, branch integrity, and morphological integrity rate. The predicted value of active ingredients refers to the estimated content of active ingredients in the medicinal material corresponding to the current mycelial position, calculated by the predictive model. This predicted value is presented as milligrams and a percentage of active ingredients per unit mass of medicinal material.
[0138] Step 854: Based on the type of medicinal material, find the standard value of the effective component corresponding to the type of medicinal material in the Chinese Pharmacopoeia (2025 edition).
[0139] The standard value of effective ingredients refers to the range of effective ingredient content (including minimum and maximum limits) specified in the Chinese Pharmacopoeia (2025 edition) for a specific type of Chinese medicinal material. The system automatically matches the standard value of effective ingredients for the corresponding variety by searching the pharmacopoeia database by the name of the medicinal material. This range of values serves as the core basis for determining the quality of the medicinal material.
[0140] Step 855: Determine the efficacy attainment rate based on the predicted value and standard value of the effective ingredient, and output the efficacy attainment rate.
[0141] The efficacy compliance rate refers to the probability that the actual effective component content of a medicinal material meets the legal standards, calculated by comparing the predicted effective component value with the corresponding standard effective component value specified in the Chinese Pharmacopoeia (2025 edition). The calculation process for the efficacy compliance rate is as follows: first, calculate the difference between the predicted effective component value and the lower limit of the standard effective component value; then divide by the width of the standard value range (upper limit minus lower limit); finally, convert it into a percentage form.
[0142] Based on the same inventive concept, this invention provides a system for the morphological identification of fungi in traditional Chinese medicinal materials.
[0143] One of the systems for identifying fungal morphology in traditional Chinese medicinal materials includes: The acquisition module is used to acquire local image information and the type of medicinal material; A memory for storing a program for controlling a method of fungal morphological identification of traditional Chinese medicinal materials; The processor loads and executes programs from memory.
[0144] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A method for morphological identification of fungi in traditional Chinese medicinal materials, characterized in that: include Step 1: Mark the suspected fungal areas according to the preset criteria to determine the location for hyphal curve analysis; Step 2: Obtain local image information corresponding to the mycelial curve analysis location; Step 3: Analyze local image information to determine the baseline hyphal curve; Step 4: Determine the fixation parameters of the medicinal material based on the position analysis of the mycelial curve. The fixation parameters of the medicinal material include the fixation coordinates and the fixation angle of the medicinal material. Step 5: Generate a ball impact scheme based on fixed parameters of the medicinal material, wherein the ball impact scheme includes the impact point and the impact velocity; Step 6: Perform the ball impact operation according to the ball impact scheme, and determine the current mycelial curve diagram based on the position of the mycelial curve analysis after the ball impact operation; Step 7: Determine the mycelial curve deformation diagram based on the current mycelial curve diagram and the baseline mycelial curve diagram; Step 8: Determine the hyphal deformation characteristics based on the hyphal curve deformation diagram, and analyze the hyphal deformation characteristics to output the hyphal position.
2. The method for morphological identification of fungi in traditional Chinese medicinal materials according to claim 1, characterized in that, The specific method for generating the ball impact scheme includes: Step 50: Obtain an image of the surface of the medicinal material to determine its type; Step 51: Based on the type of medicinal material, search for the safe impact force range corresponding to the medicinal material type in the preset medicinal material feature library; Step 52: Determine the ball's impact speed according to the preset ball mass and safe impact force range; Step 53: Determine the ball impact point based on the fixed parameters of the medicinal material, and determine the ball impact scheme according to the ball impact point and the ball impact velocity.
3. The method for morphological identification of fungi in traditional Chinese medicinal materials according to claim 2, characterized in that, Methods for determining the impact point of a small ball based on fixed parameters of medicinal materials include: Step 530: Analyze the surface image of the medicinal material to identify raised hyphal regions and sunken hyphal regions; Step 531: Obtain the height of the raised surface when there are raised hyphae; Step 532: Determine the impact point of the ball based on the height of the raised surface and the preset height compensation formula; Step 533: Obtain the diameter of the depression opening when a depression hyphae region exists; Step 534: When the diameter of the concave opening is greater than the preset diameter of the ball, determine the impact point of the ball according to the fixed parameters of the medicinal material; Step 535: Obtain the coordinates of the dense hyphae zone at the edge of the depression opening when the diameter of the depression opening is smaller than the diameter of the ball; Step 536: When there are coordinates of the dense hyphae zone at the edge of the concave opening, determine the impact point of the ball according to the coordinates of the dense hyphae zone at the edge of the concave opening.
4. The method for morphological identification of fungi in traditional Chinese medicinal materials according to claim 3, characterized in that, Also includes: Step 5320: Analyze the image of the medicinal material surface to determine the adjacent raised areas corresponding to the raised hyphae areas; Step 5321: Obtain the coordinates of the raised hyphae region and the coordinates of adjacent raised regions; Step 5322: Determine the current horizontal distance based on the coordinates of adjacent raised areas and the coordinates of raised hyphae areas; Step 5323: When the current horizontal distance is less than the diameter of the ball, redetermine the ball's impact point based on the current horizontal distance; Step 5324: Execute step 532 when the current horizontal distance is greater than the diameter of the ball.
5. The method for morphological identification of fungi in traditional Chinese medicinal materials according to claim 3, characterized in that, It also includes a method for determining the ball impact scheme when there are no coordinates of the dense hyphae zone at the edge of the concave opening, the method comprising: Step 537: Obtain the coordinates of the center of the depression opening; Step 538: Determine the corrected ball impact point based on the center coordinates of the concave opening; Step 539: Determine the maximum safe impact force based on the safe impact force range, and use it as a correction for the ball's impact velocity; Step 540: Form a ball impact scheme based on the corrected ball impact point and the corrected ball impact velocity.
6. The method for morphological identification of fungi in traditional Chinese medicinal materials according to claim 1, characterized in that, Methods for analyzing hyphal deformation characteristics to output hyphal location include: Step 80: Determine the expected physical deformation curve trend based on the baseline mycelial curve, fixed parameters of the medicinal material, and the ball impact scheme. The physical deformation curve trend includes the expected extension direction, the expected bending angle range, and the expected curvature fluctuation threshold. Step 81: Determine the current trend of the mycelial curve based on the mycelial curve deformation diagram; Step 82: Determine the mycelial position when the current mycelial curve trend and the physical deformation curve trend are inconsistent; Step 83: When the current hyphal curve trend and the physical deformation curve trend are consistent, output a preset collision trace signal.
7. The method for morphological identification of fungi in traditional Chinese medicinal materials according to claim 6, characterized in that, It also includes a method for not outputting collision trace signals when the current hyphal curve trend and the physical deformation curve trend are consistent, the method comprising: Step 840: Continuously acquire the current hyphal curve trend to determine the rate of change of hyphal curve length; Step 841: Determine the hyphal position when the rate of change of hyphal curve length is not 0; Step 842: Identify abnormal hyphae when the hyphal curve length change rate is 0; Step 843: When abnormal hyphae are present, determine the staining area, and perform the preset staining operation according to the staining area to obtain the staining result; Step 844: Determine the hyphal location when the staining result is a continuous fluorescent network or tubular fluorescent structure; Step 845: Output collision trace signal when the staining result is not a continuous fluorescent network or tubular fluorescent structure.
8. The method for morphological identification of fungi in traditional Chinese medicinal materials according to claim 7, characterized in that, Before continuously obtaining the current mycelial curve trend, the following steps are also included: Step 846: Determine the current hyphal curve features based on local image information; Step 847: Analyze hyphal curve characteristics to determine tubular structure features and branching trace features; Step 848: Determine the location of hyphae when both tubular structural features and branching traces are present; Step 849: If tubular structure features or branch trace features are present, proceed to steps 840 to 845; Step 850: Output a preset signal indicating that hyphae do not exist when there are no tubular structure features or branching trace features.
9. The method for morphological identification of fungi in traditional Chinese medicinal materials according to claim 8, characterized in that, It also includes a method for determining the efficacy rate after identifying the mycelial location, which includes: Step 851: Acquire microscopic images corresponding to the locations of mycelia; Step 852: Determine hyphae morphological characteristic parameters based on microscopic images, including hyphae density, branch integrity, and morphological integrity rate; Step 853: Input mycelial morphology parameters into the preset prediction model to determine the predicted value of effective components; Step 854: Based on the type of medicinal material, find the standard value of the effective component corresponding to the type of medicinal material described in the Chinese Pharmacopoeia (2025 edition); Step 855: Determine the efficacy attainment rate based on the predicted value and standard value of the effective ingredient, and output the efficacy attainment rate.
10. A morphological identification system for fungi in traditional Chinese medicinal materials, characterized in that, include: The acquisition module is used to acquire local image information and the type of medicinal material; A memory for storing a program of a control method for a fungal morphological identification method for traditional Chinese medicinal materials as described in any one of claims 1 to 9; The processor loads and executes programs from memory.