A method and system for calculating the planting area of ​​a hair follicle planting pen

Through visual sensing equipment and multi-dimensional analysis technology, the problem of inaccurate calculation of the area of ​​​​the hair follicle transplant pen's planting area is solved, and a more efficient and safe surgical effect is achieved.

CN117934582BActive Publication Date: 2024-09-10BEIJING DAMAI TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410096985.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-24
Publication Date
2024-09-10
Estimated Expiration
2044-01-24

AI Technical Summary

Technical Problem

The existing hair follicle transplant pen has low accuracy in calculating the area of ​​the transplanted area, resulting in unsatisfactory surgical results and low surgical safety.

Method used

Collect target image information through visual sensing equipment, perform regional rasterization and evaluation of planting-related factors, identify areas of interest, conduct multi-dimensional planting feature analysis and calculus calculations, accurately calculate the planting area area, and perform hair follicle planting based on the calculation results. Cultivation control of pen.

Benefits of technology

It improves the accuracy and efficiency of planting area calculation and ensures surgical effect and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117934582B
    Figure CN117934582B
Patent Text Reader

Abstract

The present invention discloses a method and system for calculating the planting area of ​​a hair follicle planting pen, and relates to the field of medical cosmetology technology. The method comprises: performing regional rasterization processing on target image information, obtaining target raster image information, and then evaluating the preliminary situation of the target user through planting related factor information, determining the patient's planting attribute characteristic information to identify and segment the target raster image information for the region of interest, and obtaining the target planting area information; performing multi-dimensional planting feature analysis based on the target planting area information, determining the planting demand characteristic information to perform calculus calculation, obtaining the planting area area calculation result, and performing hair follicle planting pen planting control based on the planting demand characteristic information and the planting area area calculation result. The method achieves the technical effect of realizing the accurate calculation of the planting area area of ​​the hair follicle planting pen through multi-dimensional planting feature analysis, improving the area calculation efficiency and calculation applicability, and thus ensuring the surgical effect and surgical safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical cosmetology technology, and in particular to a method and system for calculating the planting area of ​​a hair follicle planting pen. Background Art

[0002] As people's pursuit of beauty continues to improve, hair transplantation has become a common surgical procedure. Among them, the hair follicle transplant pen is an important surgical tool that can be used to transplant hair follicles on the scalp to increase hair volume and improve hair quality. However, the existing hair follicle transplant pen has low accuracy in calculating the planting area, resulting in unsatisfactory surgical results and low surgical safety. Summary of the invention

[0003] The present application provides a method and system for calculating the planting area of ​​a hair follicle planting pen, thereby solving the technical problem that the calculation accuracy of the planting area of ​​a hair follicle planting pen in the prior art is low, resulting in unsatisfactory surgical results and low surgical safety. The application achieves the technical effect of accurately calculating the planting area of ​​a hair follicle planting pen through multi-dimensional planting feature analysis, improving the area calculation efficiency and calculation applicability, and thus ensuring the surgical effect and surgical safety.

[0004] In view of the above problems, the present invention provides a method and system for calculating the planting area of ​​a hair follicle planting pen.

[0005] In the first aspect, the present application provides a method for calculating the planting area of ​​a hair follicle planting pen, the method comprising: acquiring target image information through a visual sensing device, performing regional rasterization processing on the target image information, and acquiring target raster image information; acquiring planting-related factor information, the planting-related factor information including physiological characteristics, degree of hair loss, location of hair loss, and hair quality; evaluating the preliminary situation of the target user through the planting-related factor information, and determining the patient's planting attribute characteristic information; identifying and segmenting the target raster image information based on the patient's planting attribute characteristic information, and acquiring target planting area information; performing multi-dimensional planting feature analysis based on the target planting area information, and determining planting demand characteristic information; performing calculus calculation on the planting demand characteristic information to obtain a planting area area calculation result, and performing hair follicle planting pen planting management and control based on the planting demand characteristic information and the planting area area calculation result.

[0006] On the other hand, the present application also provides a hair follicle planting pen planting area calculation system, the system comprising: a regional rasterization processing module, used to collect and acquire target image information through a visual sensing device, perform regional rasterization processing on the target image information, and acquire target raster image information; a planting-related factor acquisition module, used to acquire planting-related factor information, the planting-related factor information including physiological characteristics, degree of hair loss, location of hair loss, and hair quality; a planting attribute feature determination module, used to evaluate the preliminary situation of the target user through the planting-related factor information, and determine the patient's planting attribute feature information; an area of ​​interest identification module, used to identify and segment the area of ​​interest of the target raster image information based on the patient's planting attribute feature information, and acquire target planting area information; a multi-dimensional planting feature analysis module, used to perform multi-dimensional planting feature analysis based on the target planting area information, and determine the planting demand feature information; a planting pen control module, used to perform calculus calculation on the planting demand feature information, obtain a planting area area calculation result, and perform hair follicle planting pen planting control based on the planting demand feature information and the planting area area calculation result.

[0007] In a third aspect, the present application provides an electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, and the computer program, when executed by the processor, implements the steps of any one of the above methods.

[0008] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps in any one of the above-mentioned methods when executed by a processor.

[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0010] The target image information acquired by the visual sensing device is subjected to regional rasterization processing to obtain the target raster image information, and then the preliminary situation of the target user is evaluated through the planting-related factor information, and the patient's planting attribute characteristic information is determined to identify and segment the target raster image information for the region of interest, and obtain the target planting area information; then, a multi-dimensional planting feature analysis is performed based on the target planting area information, and the planting demand characteristic information is determined to perform calculus calculation to obtain the planting area area calculation result, and the technical solution for the hair follicle planting pen planting control is performed based on the planting demand characteristic information and the planting area area calculation result. Then, the technical effect of realizing the accurate calculation of the planting area area of ​​the hair follicle planting pen through multi-dimensional planting feature analysis is achieved, and the area calculation efficiency and calculation applicability are improved, thereby ensuring the surgical effect and surgical safety.

[0011] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A schematic diagram of the process of calculating the planting area of ​​a hair follicle planting pen in this application;

[0013] Figure 2 This is a schematic diagram of the process of obtaining target planting area information in a method for calculating the planting area of ​​a hair follicle planting pen in this application;

[0014] Figure 3 This is a structural schematic diagram of a hair follicle planting pen planting area calculation system for this application;

[0015] Figure 4 This is a schematic diagram of the structure of an exemplary electronic device of the present application.

[0016] Explanation of the reference numerals: regional rasterization processing module 11, planting related factor acquisition module 12, planting attribute feature determination module 13, region of interest identification module 14, multi-dimensional planting feature analysis module 15, planting pen management and control module 16, bus 1110, processor 1120, transceiver 1130, bus interface 1140, memory 1150, operating system 1151, application 1152 and user interface 1160. DETAILED DESCRIPTION

[0017] In the description of the present application, those skilled in the art should know that the present application can be implemented as a method, an apparatus, an electronic device, and a computer-readable storage medium. Therefore, the present application can be specifically implemented in the following forms: complete hardware, complete software (including firmware, resident software, microcode, etc.), a combination of hardware and software. In addition, in some embodiments, the present application can also be implemented in the form of a computer program product in one or more computer-readable storage media, and the computer-readable storage medium contains computer program code.

[0018] The above-mentioned computer-readable storage medium may adopt any combination of one or more computer-readable storage media. Computer-readable storage media include: electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media include: portable computer disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories, flash memories, optical fibers, optical disc read-only memories, optical storage devices, magnetic storage devices, or any combination of the above. In the present application, computer-readable storage media can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or device.

[0019] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws.

[0020] The present application describes the provided methods, devices, and electronic devices through flowcharts and / or block diagrams.

[0021] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, and these computer-readable program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified by the boxes in the flowchart and / or block diagram.

[0022] These computer-readable program instructions may also be stored in a computer-readable storage medium that enables a computer or other programmable data processing device to work in a specific manner. In this way, the instructions stored in the computer-readable storage medium produce an instruction device product including functions / operations specified in the blocks in the flowchart and / or block diagram.

[0023] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable data processing apparatus to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.

[0024] The present application is described below in conjunction with the drawings in the present application.

[0025] Embodiment 1

[0026] like Figure 1As shown, the present application provides a method for calculating the planting area of ​​a hair follicle planting pen, the method comprising:

[0027] Step S1: acquiring target image information through a visual sensing device, performing regional rasterization processing on the target image information, and acquiring target raster image information;

[0028] Step S2: Acquire information on factors associated with hair loss, wherein the information on factors associated with hair loss includes physiological characteristics, degree of hair loss, location of hair loss, and hair quality;

[0029] Step S3: Evaluate the preliminary situation of the target user through the implantation-related factor information to determine the patient's implantation attribute characteristic information;

[0030] Specifically, in order to realize intelligent calculation of the planting area of ​​the hair follicle planting pen, the target image information is first acquired through the visual sensing device, wherein the visual sensing device is used to perform high-precision image acquisition of the patient's scalp condition information, and can preferably be a CCD image sensor, a high-speed camera, etc. The target image information is the patient's overall scalp area condition information, including hair growth, scalp, hair color, distribution, etc. To facilitate rapid image processing, the target image information can be regionally rasterized by vector rasterization conversion and other methods, and the image can be converted into target raster image information in pixel form.

[0031] The planting-related factor information is formulated and obtained. The planting-related factor information is the influencing index associated with the patient's hair planting area, including physiological characteristics, such as gender, age, hair loss-related diseases, etc.; the degree of hair loss, that is, the area of ​​hair loss and the proportion of the number of hair loss, etc.; the location of hair loss, that is, the main hair loss area; hair quality, such as fine and soft hair, light color, etc. Through the planting-related factor information, a comprehensive assessment is made on the preliminary hair loss situation of the target user, and the corresponding patient planting attribute characteristic information of each planting-related factor is determined. The patient planting attribute characteristic information is the characteristic information of the patient's current hair planting situation, so as to fully grasp the patient's hair loss situation and provide a basis for determining the patient's hair planting area, thereby improving the accuracy of the planting area analysis.

[0032] Step S4: Based on the patient's implant attribute feature information, the target raster image information is identified and segmented to obtain target implant area information;

[0033] like Figure 2 As shown, further, the step of obtaining the target planting area information in this application also includes:

[0034] Performing grayscale conversion on the target raster image information by using a floating point algorithm to generate target raster grayscale image information;

[0035] Building an attention constraint module based on the patient's implant attribute feature information, performing region recognition on the target grid grayscale image information through the attention constraint module, and obtaining a plurality of implant regions of interest;

[0036] Perform boundary segmentation on the multiple planting regions of interest to determine multiple target planting regions of interest;

[0037] The multiple target planting regions of interest are enhanced and marked by the attention constraint module to determine the target planting region information.

[0038] Furthermore, the attention constraint module is constructed based on the patient's implant attribute feature information, and the steps of this application also include:

[0039] Performing a standard hair density simulation based on the patient's implantation attribute characteristic information to obtain a standard hair grayscale image of the patient;

[0040] Performing transplantation grayscale distribution recognition on the patient's standard hair grayscale image to determine the background characteristics of hair transplantation;

[0041] Setting a planting selection threshold according to the patient's standard hair grayscale image, and using a grayscale area less than the planting selection threshold as a hair planting prospect feature;

[0042] The attention constraint module is constructed based on the hair planting background features and the hair planting foreground features.

[0043] Specifically, the target raster image information is identified and segmented based on the patient's planting attribute feature information, that is, the analysis and determination of the patient's hair planting area is realized. First, the target raster image information is converted into a grayscale image by a floating point algorithm, wherein the floating point algorithm is an image grayscale conversion algorithm for converting a color space into a grayscale image, specifically: Gray = 0.3R + 0.59G + 0.11B, wherein R, G, and B are red, yellow, and blue, respectively, so as to generate the corresponding target raster grayscale image information. An attention constraint module is constructed based on the patient's planting attribute feature information, specifically, firstly, a standard hair density simulation is performed based on the patient's planting attribute feature information, that is, the scalp state of the patient under the condition of normal hair distribution is simulated, so as to obtain the patient's standard hair grayscale image. Then, the planting grayscale distribution of the patient's standard hair grayscale image is identified, and the grayscale image of the normal scalp state is determined as the background feature of hair planting. Then, a planting selection threshold is set according to the patient's standard hair grayscale image. The planting selection threshold is a grayscale value range for planting set according to a normal scalp state grayscale image. A grayscale value less than the threshold indicates a smaller grayscale value and a lighter scalp color, which is an area requiring hair planting.

[0044] The grayscale area less than the planting selection threshold is used as the foreground feature of hair planting, that is, the grayscale value less than the threshold is used as the grayscale feature of hair to be planted. Based on the hair planting background feature and the hair planting foreground feature, an attention constraint module is constructed, and the attention constraint module is used to identify and mark the hair planting area. The target grid grayscale image information is identified by the attention constraint module, and multiple foreground feature areas are marked, that is, multiple planting interest areas. Then, the boundary segmentation of the multiple planting interest areas is performed by edge detection and other algorithms, and each interest area in the image is segmented according to the edge contour, and multiple target planting interest areas are clearly determined. The multiple target planting interest areas are enhanced and marked by the attention constraint module, that is, the area where the patient needs to undergo hair planting is highlighted and marked, and the target planting area information is determined. Rapid identification and marking of the patient's planting area is achieved, the accuracy of specific identification of the planting area is improved, and the accuracy of calculating the area of ​​the planting area is improved.

[0045] Step S5: performing multi-dimensional planting feature analysis based on the target planting area information to determine planting demand feature information;

[0046] Furthermore, the steps of determining the planting demand characteristic information in this application also include:

[0047] Acquiring implant feature dimension information, wherein the implant feature dimension information includes hair follicle implant quantity, hair growth in donor area, morphological design, and effect requirements;

[0048] Performing a multi-dimensional demand characteristic analysis on the target planting area information through the planting characteristic dimension information to obtain a planting demand characteristic dimension analysis information set;

[0049] Performing a criticality analysis on each characteristic dimension in the planting characteristic dimension information to determine planting characteristic criticality allocation factor information;

[0050] The planting requirement feature dimension analysis information set is weighted and fused based on the planting feature criticality allocation factor information to generate the planting requirement feature information.

[0051] Furthermore, the step of obtaining the planting demand characteristic dimension analysis information set in this application also includes:

[0052] Performing data search and crawling based on the planting feature dimension information to obtain a planting feature analysis database, wherein the planting feature analysis database includes historical planting feature dimension data and planting density requirement data;

[0053] Using a deep learning network structure, clustering and dividing the planting feature analysis database is trained to obtain a set of planting demand feature function models;

[0054] The target planting area information is analyzed based on the planting demand feature function model set, and the planting demand feature dimension analysis information set is output.

[0055] Furthermore, the step of obtaining the terminal device access encryption parameter also includes:

[0056] Perform hair morphology marking based on the target planting area information to obtain hair morphology distribution feature point information;

[0057] Constructing a hair morphology design database, wherein the hair morphology design database includes patient hair morphology feature data and hair morphology design data;

[0058] The hair morphology design style information is determined based on the preferred matching of the hair morphology distribution feature point information and the hair morphology design database.

[0059] Specifically, a multi-dimensional planting feature analysis is performed based on the target planting area information. First, planting feature dimension information is formulated and obtained. The planting feature dimension information is an evaluation index associated with the patient's hair planting parameters, including the amount of hair follicles planted, that is, the number of transplantable hair follicles of the patient; the hair growth in the donor area, that is, the hair quality of the transplanted area of ​​the patient; the morphological design, that is, the hairstyle design of the patient after hair transplantation; and the effect demand, that is, the patient's expected planting effect. The target planting area information is analyzed for multi-dimensional demand characteristics through the planting feature dimension information. First, a massive data search and crawling is performed based on the planting feature dimension information to obtain a planting feature analysis database. The planting feature analysis database includes historical planting feature dimension data and corresponding planting density demand data. Then, the planting feature analysis database is clustered and divided using a deep learning network structure, that is, the planting feature analysis database is classified according to the planting feature dimension information, and data of the same dimension type is clustered into one category. Then, each cluster data is trained through a deep learning network structure to obtain a corresponding planting demand feature function model set. The planting demand feature function model set is a neural network model, which is used to perform planting density demand analysis based on each planting feature dimension information.

[0060] The target planting area information is analyzed based on the planting demand feature function model set, and the planting feature dimension data of the target planting area information is first determined based on the planting feature dimension information. Exemplarily, for the morphological design in the planting feature dimension information, the hair morphology is first marked based on the target planting area information, and the shape, distribution, and size are marked according to the patient's current hair morphology to obtain the corresponding hair morphology distribution feature point information. Then, a hair morphology design database is constructed through historical expert planting hairstyle design experience data. The hair morphology design database is historical hairstyle design data information with good planting effects, including patient hair morphology feature data and corresponding hair morphology design data. Based on the hair morphology distribution feature point information, the hair morphology design database is optimally matched to determine the hair morphology design style information. The hair morphology design style information is the planting hairstyle design information preferred according to the patient's current hair morphology, and then the various planting feature dimension data corresponding to the target planting area information are detected and obtained.

[0061] Based on the implantation requirement characteristic function model set, each implantation characteristic dimension data corresponding to the target implantation area information is analyzed, and an implantation requirement characteristic dimension analysis information set is output, and the implantation requirement characteristic dimension analysis information set is the implantation density requirement analysis result corresponding to the implantation characteristic dimension data of the patient. Then, a criticality analysis is performed on each characteristic dimension in the implantation characteristic dimension information, that is, the weight allocation information of each implantation characteristic dimension is determined, and the implantation characteristic dimension can be weighted and assigned by an expert subjective assignment method or an experience objective assignment method to obtain the corresponding implantation characteristic criticality allocation factor information, and the implantation characteristic criticality allocation factor information is the weight allocation result information of each implantation characteristic dimension. Based on the implantation characteristic criticality allocation factor information, the implantation requirement characteristic dimension analysis information set is weighted and fused, and the corresponding implantation requirement characteristic information is calculated and generated, and the implantation requirement characteristic information is the implantation density requirement information corresponding to each target implantation area information. Through multi-dimensional implantation characteristic analysis, the accuracy calculation of the implantation area area of ​​the hair follicle implantation pen is realized, the area calculation efficiency and calculation applicability are improved, and the implantation surgery effect is ensured.

[0062] Step S6: performing calculus calculation on the planting demand characteristic information to obtain a planting area calculation result, and performing hair follicle planting pen planting control based on the planting demand characteristic information and the planting area calculation result.

[0063] Furthermore, the hair follicle planting pen planting control based on the planting demand characteristic information and the planting area calculation result, the application steps also include:

[0064] Building a planting planning control network, wherein the planting planning control network is a three-dimensional control network, including a planting route planning control network, a planting angle planning control network, and a planting density planning control network;

[0065] The planting demand characteristic information and the planting area calculation result are analyzed through the planting planning control network to obtain planting route control parameters, planting angle control parameters and planting density control parameters;

[0066] The hair follicle planting pen is controlled and managed based on the planting route control parameter, the planting angle control parameter and the planting density control parameter.

[0067] Specifically, the planting demand characteristic information is subjected to calculus calculation to obtain the planting area area calculation result, and the planting area area calculation result is the planting area size corresponding to the actual density planting demand of each target planting area. And the hair follicle planting pen planting control is performed based on the planting demand characteristic information and the planting area area calculation result, specifically, the planting planning control network is built through the hair follicle planting pen control parameter historical data training, and the planting planning control network is a three-dimensional control network, which is used to analyze the patient's hair planting control parameters, including the planting route planning control network, the planting angle planning control network, and the planting density planning control network. The planting demand characteristic information and the planting area area calculation result are analyzed through the planting planning control network to obtain the planting route control parameters, planting angle control parameters and planting density control parameters of the applicable hair follicle planting pen. The hair follicle planting pen is controlled and controlled for hair planting surgery based on the planting route control parameters, planting angle control parameters and planting density control parameters. The comprehensiveness and accuracy of the hair follicle planting pen control parameter analysis are achieved, the operation control efficiency and control applicability are improved, and the surgical effect and surgical safety are ensured.

[0068] In summary, the method and system for calculating the planting area of ​​a hair follicle planting pen provided in this application have the following technical effects:

[0069] The target image information acquired by the visual sensing device is subjected to regional rasterization processing to obtain the target raster image information, and then the preliminary situation of the target user is evaluated through the planting-related factor information, and the patient's planting attribute characteristic information is determined to identify and segment the target raster image information for the region of interest, and obtain the target planting area information; then, a multi-dimensional planting feature analysis is performed based on the target planting area information, and the planting demand characteristic information is determined to perform calculus calculation to obtain the planting area area calculation result, and the technical solution for the hair follicle planting pen planting control is performed based on the planting demand characteristic information and the planting area area calculation result. Then, the technical effect of realizing the accurate calculation of the planting area area of ​​the hair follicle planting pen through multi-dimensional planting feature analysis is achieved, and the area calculation efficiency and calculation applicability are improved, thereby ensuring the surgical effect and surgical safety.

[0070] Embodiment 2

[0071] Based on the same inventive concept as the method for calculating the planting area of ​​a hair follicle planting pen in the aforementioned embodiment, the present invention also provides a system for calculating the planting area of ​​a hair follicle planting pen, such as Figure 3 As shown, the system comprises:

[0072] The regional rasterization processing module 11 is used to acquire target image information through a visual sensing device, perform regional rasterization processing on the target image information, and acquire target raster image information;

[0073] The implantation-related factor acquisition module 12 is used to acquire implantation-related factor information, wherein the implantation-related factor information includes physiological characteristics, degree of hair loss, location of hair loss, and hair quality;

[0074] The implant attribute characteristic determination module 13 is used to evaluate the preliminary situation of the target user through the implant related factor information and determine the implant attribute characteristic information of the patient;

[0075] An area of ​​interest identification module 14 is used to identify and segment the area of ​​interest of the target raster image information based on the patient's implant attribute feature information to obtain target implant area information;

[0076] A multi-dimensional planting feature analysis module 15 is used to perform multi-dimensional planting feature analysis based on the target planting area information to determine planting demand feature information;

[0077] The planting pen control module 16 is used to perform calculus calculation on the planting demand characteristic information to obtain a planting area calculation result, and perform hair follicle planting pen planting control based on the planting demand characteristic information and the planting area calculation result.

[0078] Furthermore, the system also includes:

[0079] A grayscale image conversion unit, used for performing grayscale image conversion on the target raster image information by a floating point algorithm to generate target raster grayscale image information;

[0080] A grayscale region recognition unit, used for constructing an attention constraint module based on the patient's implant attribute feature information, and performing region recognition on the target grid grayscale image information through the attention constraint module to obtain a plurality of implant regions of interest;

[0081] A region boundary segmentation unit, used for performing boundary segmentation on the plurality of planting regions of interest to determine a plurality of target planting regions of interest;

[0082] The region enhancement marking unit is used to enhance and mark the multiple target planting regions of interest through the attention constraint module to determine the target planting region information.

[0083] Furthermore, the system also includes:

[0084] A hair density simulation unit, used to simulate the standard hair density based on the patient's implantation attribute characteristic information to obtain a grayscale image of the patient's standard hair;

[0085] A background feature acquisition unit, used to identify the grayscale distribution of the patient's standard hair grayscale image and determine the background features of the hair transplantation;

[0086] A foreground feature acquisition unit, used to set a planting selection threshold according to the patient's standard hair grayscale image, and use a grayscale area less than the planting selection threshold as a hair planting foreground feature;

[0087] The attention constraint module construction unit is used to construct the attention constraint module based on the hair planting background feature and the hair planting foreground feature.

[0088] Furthermore, the system also includes:

[0089] An implantation feature dimension acquisition unit, used to acquire implantation feature dimension information, wherein the implantation feature dimension information includes the amount of hair follicles implanted, hair growth in the donor area, morphological design, and effect requirements;

[0090] a multi-dimensional demand feature analysis unit, configured to perform a multi-dimensional demand feature analysis on the target planting area information through the planting feature dimension information to obtain a planting demand feature dimension analysis information set;

[0091] A criticality analysis unit, used to perform criticality analysis on each characteristic dimension in the planting characteristic dimension information, and determine planting characteristic criticality allocation factor information;

[0092] The feature weighted fusion unit is used to perform weighted fusion on the planting demand feature dimension analysis information set based on the planting feature criticality allocation factor information to generate the planting demand feature information.

[0093] Furthermore, the system also includes:

[0094] A data search and crawling unit, used for performing data search and crawling based on the planting feature dimension information to obtain a planting feature analysis database, wherein the planting feature analysis database includes historical planting feature dimension data and planting density requirement data;

[0095] A clustering training unit, used to perform clustering training on the planting feature analysis database using a deep learning network structure to obtain a set of planting demand feature function models;

[0096] The planting requirement characteristic dimension analysis unit is used to analyze the target planting area information based on the planting requirement characteristic function model set and output the planting requirement characteristic dimension analysis information set.

[0097] Furthermore, the system also includes:

[0098] A hair morphology marking unit, used to mark the hair morphology based on the target planting area information to obtain hair morphology distribution feature point information;

[0099] A design database construction unit, used to construct a hair morphology design database, wherein the hair morphology design database includes patient hair morphology feature data and hair morphology design data;

[0100] The database optimal matching unit is used to optimally match the hair morphology design database based on the hair morphology distribution feature point information to determine the hair morphology design style information.

[0101] Furthermore, the system also includes:

[0102] A planting planning control network building unit, used to build a planting planning control network, wherein the planting planning control network is a three-dimensional control network, including a planting route planning control network, a planting angle planning control network, and a planting density planning control network;

[0103] A planting control parameter obtaining unit, used for analyzing the planting demand characteristic information and the planting area calculation result through the planting planning control network to obtain planting route control parameters, planting angle control parameters and planting density control parameters;

[0104] The implantation control unit is used to perform implantation control on the hair follicle implantation pen based on the implantation route control parameter, the implantation angle control parameter and the implantation density control parameter.

[0105] The foregoing Figure 1 The various variations and specific examples of the method for calculating the planting area of ​​a hair follicle planting pen in Example 1 are also applicable to a system for calculating the planting area of ​​a hair follicle planting pen in this embodiment. Through the above detailed description of the method for calculating the planting area of ​​a hair follicle planting pen, those skilled in the art can clearly know the implementation method of the system for calculating the planting area of ​​a hair follicle planting pen in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here.

[0106] In addition, the present application also provides an electronic device, including a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and run on the processor. The transceiver, the memory, and the processor are respectively connected via a bus. When the computer program is executed by the processor, each process of the above-mentioned method embodiment for controlling output data is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0107] Exemplary Electronic Devices

[0108] For details, see Figure 4 As shown, the present application also provides an electronic device, which includes a bus 1110 , a processor 1120 , a transceiver 1130 , a bus interface 1140 , a memory 1150 and a user interface 1160 .

[0109] In the present application, the electronic device further includes: a computer program stored in the memory 1150 and executable on the processor 1120, and when the computer program is executed by the processor 1120, each process of the above-mentioned method embodiment for controlling output data is implemented.

[0110] The transceiver 1130 is configured to receive and send data under the control of the processor 1120 .

[0111] In the present application, a bus architecture (represented by bus 1110 ) may include any number of interconnected buses and bridges, and bus 1110 connects various circuits including one or more processors represented by processor 1120 and a memory represented by memory 1150 .

[0112] Bus 1110 represents one or more of any of several types of bus structures, including a memory bus and memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. Such architectures include, by way of example and not limitation, an Industry Standard Architecture bus, a Micro Channel Architecture bus, an expansion bus, a Video Electronics Standards Association, a Peripheral Component Interconnect bus.

[0113] The processor 1120 may be an integrated circuit chip having signal processing capabilities. In the implementation process, each step of the above method embodiment may be completed by an integrated logic circuit of hardware in the processor or instructions in the form of software. The above processors include: a general-purpose processor, a central processing unit, a network processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, a complex programmable logic device, a programmable logic array, a microcontroller unit or other programmable logic device, a discrete gate, a transistor logic device, and a discrete hardware component. The various methods, steps, and logic block diagrams disclosed in this application may be implemented or executed. For example, the processor may be a single-core processor or a multi-core processor, and the processor may be integrated into a single chip or located on multiple different chips.

[0114] Processor 1120 may be a microprocessor or any conventional processor. The method steps disclosed in the present application may be directly executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a readable storage medium known in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, a register, etc. The readable storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0115] The bus 1110 may also connect various other circuits such as peripheral devices, voltage regulators or power management circuits, and the bus interface 1140 provides an interface between the bus 1110 and the transceiver 1130, which are well known in the art. Therefore, this application will not further describe them.

[0116] The transceiver 1130 may be one element or multiple elements, such as multiple receivers and transmitters, and provides a unit for communicating with various other devices on a transmission medium. For example, the transceiver 1130 receives external data from other devices, and the transceiver 1130 is used to send data processed by the processor 1120 to other devices. Depending on the nature of the computer device, a user interface 1160 may also be provided, such as a touch screen, a physical keyboard, a display, a mouse, a speaker, a microphone, a trackball, a joystick, or a stylus.

[0117] It should be understood that in the present application, the memory 1150 may further include a memory remotely arranged relative to the processor 1120, and these remotely arranged memories may be connected to the server through a network. One or more parts of the above network may be a self-organizing network, an intranet, an extranet, a virtual private network, a local area network, a wireless local area network, a wide area network, a wireless wide area network, a metropolitan area network, the Internet, a public switched telephone network, a plain old telephone service network, a cellular telephone network, a wireless network, a wireless fidelity network, and a combination of two or more of the above networks. For example, the cellular telephone network and the wireless network may be a global mobile communication device, a code division multiple access device, a global microwave interconnection access device, a general packet radio service device, a wideband code division multiple access device, a long term evolution device, a LTE frequency division duplex device, a LTE time division duplex device, an advanced long term evolution device, a universal mobile communication device, an enhanced mobile broadband device, a massive machine type communication device, an ultra-reliable low latency communication device, and the like.

[0118] It should be understood that the memory 1150 in the present application may be a volatile memory or a non-volatile memory, or may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory includes: a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, or a flash memory.

[0119] Volatile memory includes random access memory, which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory, dynamic random access memory, synchronous dynamic random access memory, double data rate synchronous dynamic random access memory, enhanced synchronous dynamic random access memory, synchronously linked dynamic random access memory, and direct memory bus random access memory. The memory 1150 of the electronic device described in the present application includes, but is not limited to, the above and any other suitable types of memory.

[0120] In the present application, the memory 1150 stores the following elements of the operating system 1151 and the application program 1152: executable modules, data structures, or subsets thereof, or extended sets thereof.

[0121] Specifically, the operating system 1151 includes various device programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 1152 includes various application programs, such as a media player and a browser, which are used to implement various application services. The program implementing the method of the present application may be included in the application 1152. The application 1152 includes applets, objects, components, logic, data structures, and other computer device executable instructions that perform specific tasks or implement specific abstract data types.

[0122] In addition, the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned method embodiment for controlling output data are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0123] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for calculating the planting area of ​​a hair follicle planting pen, characterized in that: The method comprises: Acquire target image information through visual sensing equipment, perform regional rasterization processing on the target image information, and acquire target raster image information; Acquiring information on factors associated with hair loss, wherein the information on factors associated with hair loss includes physiological characteristics, degree of hair loss, location of hair loss, and hair quality; Evaluate the preliminary situation of the target user through the implant-related factor information to determine the patient's implant attribute characteristic information; Based on the patient's implant attribute feature information, the target raster image information is identified and segmented to obtain target implant area information; Perform multi-dimensional planting feature analysis based on the target planting area information to determine planting demand feature information; Performing calculus calculation on the planting demand characteristic information to obtain a planting area calculation result, and performing hair follicle planting pen planting control based on the planting demand characteristic information and the planting area calculation result; The obtaining of target planting area information includes: Performing grayscale conversion on the target raster image information by using a floating point algorithm to generate target raster grayscale image information; Building an attention constraint module based on the patient's implant attribute feature information, performing region recognition on the target grid grayscale image information through the attention constraint module, and obtaining a plurality of implant regions of interest; Perform boundary segmentation on the multiple planting regions of interest to determine multiple target planting regions of interest; Enhance and mark the multiple target planting regions of interest by the attention constraint module to determine the target planting region information; The step of determining the planting requirement characteristic information includes: Acquiring implant feature dimension information, wherein the implant feature dimension information includes hair follicle implant quantity, hair growth in donor area, morphological design, and effect requirements; Performing a multi-dimensional demand feature analysis on the target planting area information through the planting feature dimension information to obtain a planting demand feature dimension analysis information set, wherein the planting demand feature dimension analysis information set is a planting density demand analysis result corresponding to the planting feature dimension data of the patient; Performing a criticality analysis on each characteristic dimension in the planting characteristic dimension information to determine planting characteristic criticality allocation factor information; The planting requirement feature dimension analysis information set is weighted and integrated based on the planting feature criticality allocation factor information to generate the planting requirement feature information, where the planting requirement feature information is the planting density requirement information corresponding to each target planting area information; The obtained planting demand characteristic dimension analysis information set includes: Performing data search and crawling based on the planting feature dimension information to obtain a planting feature analysis database, wherein the planting feature analysis database includes historical planting feature dimension data and planting density requirement data; The planting feature analysis database is clustered and trained by using a deep learning network structure to obtain a planting demand feature function model set, wherein the planting demand feature function model set is a neural network model for performing planting density demand analysis based on each planting feature dimension information; The target planting area information is analyzed based on the planting demand feature function model set, and the planting demand feature dimension analysis information set is output.

2. The method according to claim 1, characterized in that The attention constraint module is constructed based on the patient's implant attribute feature information, including: Performing a standard hair density simulation based on the patient's implantation attribute characteristic information to obtain a standard hair grayscale image of the patient; Performing transplantation grayscale distribution recognition on the patient's standard hair grayscale image to determine the background characteristics of hair transplantation; Setting a planting selection threshold according to the patient's standard hair grayscale image, and using a grayscale area less than the planting selection threshold as a hair planting prospect feature; The attention constraint module is constructed based on the hair planting background features and the hair planting foreground features.

3. The method according to claim 1, characterized in that The method comprises: Perform hair morphology marking based on the target planting area information to obtain hair morphology distribution feature point information; Constructing a hair morphology design database, wherein the hair morphology design database includes patient hair morphology feature data and hair morphology design data; The hair morphology design style information is determined based on the preferred matching of the hair morphology distribution feature point information and the hair morphology design database.

4. The method according to claim 1, characterized in that The hair follicle planting pen planting control based on the planting demand characteristic information and the planting area calculation result includes: Building a planting planning control network, wherein the planting planning control network is a three-dimensional control network, including a planting route planning control network, a planting angle planning control network, and a planting density planning control network; The planting demand characteristic information and the planting area calculation result are analyzed through the planting planning control network to obtain planting route control parameters, planting angle control parameters and planting density control parameters; The hair follicle planting pen is controlled based on the planting route control parameter, the planting angle control parameter and the planting density control parameter.

5. A hair follicle planting pen planting area calculation system, characterized in that: The system comprises: A regional rasterization processing module is used to acquire target image information through a visual sensing device, perform regional rasterization processing on the target image information, and acquire target raster image information; A planting-related factor acquisition module is used to acquire planting-related factor information, wherein the planting-related factor information includes physiological characteristics, degree of hair loss, location of hair loss, and hair quality; An implant attribute feature determination module, used to evaluate the preliminary situation of the target user through the implant-related factor information, and determine the patient's implant attribute feature information; An area of ​​interest identification module is used to identify and segment the area of ​​interest of the target raster image information based on the patient's implant attribute feature information to obtain target implant area information; A multi-dimensional planting feature analysis module, used to perform multi-dimensional planting feature analysis based on the target planting area information to determine planting demand feature information; A planting pen control module is used to perform calculus calculation on the planting demand characteristic information to obtain a planting area calculation result, and perform hair follicle planting pen planting control based on the planting demand characteristic information and the planting area calculation result; The obtaining of target planting area information includes: Performing grayscale conversion on the target raster image information by using a floating point algorithm to generate target raster grayscale image information; Building an attention constraint module based on the patient's implant attribute feature information, performing region recognition on the target grid grayscale image information through the attention constraint module, and obtaining a plurality of implant regions of interest; Perform boundary segmentation on the multiple planting regions of interest to determine multiple target planting regions of interest; Enhance and mark the multiple target planting regions of interest by the attention constraint module to determine the target planting region information; The step of determining the planting requirement characteristic information includes: Acquiring implant feature dimension information, wherein the implant feature dimension information includes hair follicle implant quantity, hair growth in donor area, morphological design, and effect requirements; Performing a multi-dimensional demand feature analysis on the target planting area information through the planting feature dimension information to obtain a planting demand feature dimension analysis information set, wherein the planting demand feature dimension analysis information set is a planting density demand analysis result corresponding to the planting feature dimension data of the patient; Performing a criticality analysis on each characteristic dimension in the planting characteristic dimension information to determine planting characteristic criticality allocation factor information; The planting requirement feature dimension analysis information set is weighted and integrated based on the planting feature criticality allocation factor information to generate the planting requirement feature information, where the planting requirement feature information is the planting density requirement information corresponding to each target planting area information; The obtained planting demand characteristic dimension analysis information set includes: Performing data search and crawling based on the planting feature dimension information to obtain a planting feature analysis database, wherein the planting feature analysis database includes historical planting feature dimension data and planting density requirement data; The planting feature analysis database is clustered and trained by using a deep learning network structure to obtain a planting demand feature function model set, wherein the planting demand feature function model set is a neural network model for performing planting density demand analysis based on each planting feature dimension information; The target planting area information is analyzed based on the planting demand feature function model set, and the planting demand feature dimension analysis information set is output.

6. An electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, wherein: When the computer program is executed by the processor, the steps in the method for calculating the planting area of ​​a hair follicle planting pen as described in any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the steps in the method for calculating the planting area of ​​a hair follicle planting pen as described in any one of claims 1 to 4 are implemented.