Target laser information acquisition method, electronic device and storage medium

By identifying the combination of the laser information list by identifying the model and the size, the best laser information of the target abnormal object is determined, the depth of laser effect in the existing technology and complex border control in the existing technology, and the more efficient and secure abnormal object treatment.

CN118334418BActive Publication Date: 2025-01-24SHANGHAI PRECILASERS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, it is difficult to accurately control the depth and boundaries of the laser when dealing with abnormal objects, and different types of laser pulses have limitations in penetration depth and energy management.

Method used

By obtaining the image and the output information of the target anomalous object and the identification model, determine the target type laser (energy centralized or uniform energy), and specify the laser information list based on the size, obtain a list of similar sizes and abnormal conditions, choose to produce at least abnormal conditions Laser information is processed as a target laser information.

Benefits of technology

By determining the target laser information, the number of abnormalities generated by the target type laser is reduced, the risk of abnormal conditions is reduced, and the accuracy and security of treatment are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118334418B_ABST
    Figure CN118334418B_ABST
Patent Text Reader

Abstract

The present invention provides a method for acquiring target laser information, an electronic device and a storage medium, and relates to the field of use of laser pulses. The method comprises the following steps: acquiring a target abnormal object image of a target user, inputting the target abnormal object image into a target abnormal object recognition model, acquiring a target abnormal object information list and a corresponding target type laser list of the target user, acquiring a size-specified laser information list, acquiring a preset similar size list similar to the target abnormal object and a similar abnormal number list corresponding to the preset similar size list based on the target size of the target abnormal object, acquiring the minimum similar abnormal number, and using the first specified laser information or the second specified laser information corresponding to the minimum similar abnormal number as the target laser information, and using the target type laser of the target laser information to process the target abnormal object, thereby reducing the risk of abnormal situations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the application field of laser pulses, and in particular to a method for acquiring target laser information, electronic equipment and a storage medium. Background Art

[0002] In the prior art, bell-shaped or rectangular laser pulse types are often used to treat abnormal objects. Patent CN111345893 (Laser medical method and equipment) provides a method for using laser to treat abnormal objects. Bell-shaped laser pulses are also called Gaussian laser pulses. Bell-shaped laser pulses have a gradually increasing rising edge and a decreasing falling edge, which helps to reduce the thermal effect shock caused by the peak power, thereby reducing thermal damage to surrounding tissues, but this also makes it more complicated to accurately control the depth or boundary of action; rectangular laser pulses have uniform energy distribution, and the power remains constant throughout the pulse width, which makes it easier to perform precise energy management and control, but the penetration depth of rectangular laser pulses is limited. Therefore, after determining which type of laser pulse to use, more detailed laser information (such as peak value) is often required to better handle abnormal objects. Summary of the invention

[0003] In view of the above technical problems, the technical solution adopted by the present invention is: a method for obtaining target laser information, the method uses the type of laser corresponding to the laser information to process the target abnormal object, the method comprising the following steps:

[0004] S001, obtaining a target abnormal object image of a target user;

[0005] S002: Input the target abnormal object image into the target abnormal object recognition model to obtain the target abnormal object information list A of the target user = {A1, A2, ..., A i , …, A m} and the target type laser list C corresponding to A = {C1, C2, ..., C i , …, C m},A i is the information of the i-th target abnormal object, C i Yes A i The corresponding target type laser, i ranges from 1 to m, m is the number of target abnormal objects, and the target abnormal object information at least includes the size B of the target abnormal object i , and B1>B2>…>B i >…>B m ;

[0006] The target type laser is a first type laser or a second type laser; wherein the first type laser is a laser of a type with concentrated energy, and the second type laser is a laser of a type with even energy distribution;

[0007] S003, obtain the size specified laser information list Q = {Q1, Q2, ..., Q a , …, Q b}, the ath dimension specifies the laser information Q a ={MQ a , FQ a , SQ a , F.A. a ,SA a}, MQ a is the ath preset size of the abnormal object, FQ a It is MQ a The corresponding abnormal object uses the first designated laser information of the first type of laser, SQ a It is MQ a The corresponding abnormal object uses the second designated laser information of the second type of laser, FA a It is MQ a The number of first abnormal situations of the corresponding abnormal object using the first type of laser of the first designated laser information, SA a It is MQ a The number of second abnormal situations in which the corresponding abnormal object uses the second type of laser of the second designated laser information;

[0008] The first designated laser information includes a first duration T1 and a first peak value R1;

[0009] The second designated laser information includes a second duration T2 and a second peak value R2;

[0010] S004, traverse A, for A i , based on A i Target size B i and MQ a , get and B i Similar presets Similar size list

[0011] NQ={NQ1,…,NQ c ,…,NQ d}, NQ c is the cth and B i Similar preset similar size, c value range is 1 to

[0012] d, d is and B i Similar presets with similar size quantities;

[0013] S005, based on A i Corresponding target type laser C i and size specified laser information list Q, obtain the abnormal situation quantity list AQ corresponding to NQ = {AQ1, AQ2, ..., AQc , …, AQ d}, NQ c The corresponding target abnormal situation quantity AQ c It’s FA1, FA2,…,FA a ,…,FA b or SA1, SA2, …, SA a 、…、SA b one of the;

[0014] S006, obtain AQ0=min{AQ1, AQ2, ..., AQ c , …, AQ d} and based on Q, obtain the first designated laser information or the second designated laser information corresponding to AQ0 as the target laser information;

[0015] S007, target type laser C using target laser information i Process the target abnormal objects.

[0016] According to another aspect of the present invention, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the aforementioned method.

[0017] According to yet another aspect of the present invention, an electronic device is provided, comprising a processor and the aforementioned non-transitory computer-readable storage medium.

[0018] The present invention has at least the following beneficial effects: In summary, a target abnormal object image of a target user is obtained, the target abnormal object image is input into a target abnormal object recognition model, a target abnormal object information list and a corresponding target type laser list of the target user are obtained, a size specified laser information list is obtained, based on the target size of the target abnormal object, a preset similar size list similar to the target abnormal object and a similar abnormal number list corresponding to the preset similar size list are obtained, the minimum number of similar abnormalities is obtained, and the first specified laser information or the second specified laser information corresponding to the minimum number of similar abnormalities is used as the target laser information, and the target abnormal object is processed using the target type laser of the target laser information. The present invention determines the target laser information through the size specified laser information list, so that the number of abnormalities generated by the target type laser corresponding to the target laser information is smaller, thereby reducing the risk of abnormal situations. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A flow chart of a method for acquiring target laser information provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0022] The embodiment of the present invention provides a method for obtaining target laser information, wherein the method uses a type of laser corresponding to the laser information to process a target abnormal object, such as Figure 1 As shown, the method comprises the following steps:

[0023] S001, obtaining a target abnormal object image of a target user.

[0024] S002: Input the target abnormal object image into the target abnormal object recognition model to obtain the target abnormal object information list A of the target user = {A1, A2, ..., A i , …, A m} and the target type laser list C corresponding to A = {C1, C2, ..., C i , …, C m},A i is the information of the i-th target abnormal object, C i Yes A i The corresponding target type laser, i ranges from 1 to m, m is the number of target abnormal objects, and the target abnormal object information at least includes the size B of the target abnormal object i , and B1>B2>…>B i >…>B m .

[0025] The target type laser is a first type laser or a second type laser; wherein the first type laser is a type laser with concentrated energy, and the second type laser is a type laser with even energy distribution.

[0026] Specifically, the first type of laser is a bell-shaped laser; the second type of laser is a rectangular laser.

[0027] Furthermore, the first type of laser is a bell-shaped titanium laser; and the second type of laser is a rectangular titanium laser.

[0028] Specifically, those skilled in the art know that any model in the prior art for identifying a target abnormal object based on an image of the target abnormal object falls within the protection scope of the present invention and will not be described in detail herein.

[0029] Specifically, the target abnormal object information also includes: the location of the target abnormal object.

[0030] S003, obtain the size specified laser information list Q = {Q1, Q2, ..., Q a , …, Q b}, the ath dimension specifies the laser information Q a ={MQ a , FQ a , SQ a , F.A. a ,SA a}, MQ a is the ath preset size of the abnormal object, FQ a It is MQ a The corresponding abnormal object uses the first designated laser information of the first type of laser, SQ a It is MQ a The corresponding abnormal object uses the second designated laser information of the second type of laser, FA a It is MQ a The number of first abnormal situations of the corresponding abnormal object using the first type of laser of the first designated laser information, SA a It is MQ a The corresponding abnormal object uses the second abnormality number of the second type of laser of the second designated laser information.

[0031] Specifically, the first designated laser information includes a first duration T1 and a first peak R1, and the first duration is the duration of a pulse of the first type of laser.

[0032] Specifically, the second designated laser information includes a second duration T2 and a second peak R2, and the second duration is the duration of a pulse of the second type of laser.

[0033] S004, traverse A, for A i , based on A i Target size B i and MQ a , get and B i Similar presets Similar size list

[0034] NQ={NQ1,…,NQc ,…,NQ d}, NQ c is the cth and B i Similar preset similar size, c value range is 1 to

[0035] d, d is and B i Similar presets have similar size quantities.

[0036] Specifically, it can be understood that the target abnormal object may be irregular, and therefore, there may be more than one preset size similar to the target abnormal object.

[0037] Furthermore, those skilled in the art know that any method in the prior art for obtaining a similar size based on the size of an abnormal object falls within the protection scope of the present invention and will not be described in detail herein.

[0038] S005, based on A i Corresponding target type laser C i and size specified laser information list Q, obtain the abnormal situation quantity list AQ corresponding to NQ = {AQ1, AQ2, ..., AQ c , …, AQ d}, NQ c The corresponding target abnormal situation quantity AQ c It’s FA1, FA2,…,FA a ,…,FA b or SA1, SA2, …, SA a 、…、SA b one of the.

[0039] S006, obtain AQ0=min{AQ1, AQ2, ..., AQ c , …, AQ d} and based on Q, obtain the first designated laser information or the second designated laser information corresponding to AQ0 as the target laser information.

[0040] S007, target type laser C using target laser information i Process the target abnormal objects.

[0041] In summary, the target abnormal object image of the target user is obtained, the target abnormal object image is input into the target abnormal object recognition model, the target abnormal object information list and the corresponding target type laser list of the target user are obtained, the size specified laser information list is obtained, based on the target size of the target abnormal object, a preset similar size list similar to the target abnormal object and a similar abnormal number list corresponding to the preset similar size list are obtained, the minimum number of similar abnormalities is obtained, and the first specified laser information or the second specified laser information corresponding to the minimum number of similar abnormalities is used as the target laser information, and the target abnormal object is processed using the target type laser of the target laser information. The present invention determines the target laser information through the size specified laser information list, so that the target type laser corresponding to the target laser information generates fewer abnormalities, thereby reducing the risk of abnormal situations.

[0042] Specifically, S007 also includes, when the target type laser C i For the second type of laser, perform the following steps:

[0043] S071, acquiring target laser average power PW2 based on target laser information.

[0044] Specifically, the target laser average power PW2 = λ / p2 / y2×(T2×R2), λ is the speed of light, p2 is the refractive index of the laser in the specific medium of the second laser, and y2 is the distance the laser propagates in the second laser. The second laser is a laser that emits a second type of laser pulse to process the target abnormal object.

[0045] It can be understood that when the target type laser is a rectangular laser, T2×R2 is the area of ​​a pulse, and λ / p / y×(T2×R2) is the average power of the target laser.

[0046] S072, obtaining the target size MQ0 corresponding to AQ0.

[0047] S073 , based on the size-specified laser information list Q, obtain the first specified laser information FQ0 corresponding to MQ0 and obtain the second average power PW1 based on FQ0 .

[0048] Specifically, the second average power p1 is the refractive index of the laser in the specific medium of the first laser, and y1 is the distance of the laser propagating in the first laser. The first laser is a laser that emits a first type of laser pulse to process the target abnormal object.

[0049] It can be understood that the average power of the bell-shaped laser under the target size is obtained as the second average power.

[0050] S074, obtaining a power difference DQ=PW2-PW1, and adjusting the target laser information based on the power difference DQ to obtain final laser information, wherein the average power of the target type laser corresponding to the final laser information is PW1.

[0051] Specifically, the second type of laser generally has a lower average power than the first type of laser and cannot achieve the same effect as the first type of laser. Therefore, when using the second type of laser, the target laser information is adjusted based on the power difference of the target size to obtain the final laser information.

[0052] S075, target type laser C using final laser information i Process the target abnormal objects.

[0053] In summary, when the target type laser is the second type laser, the target laser average power is obtained based on the target laser information, and the target size is obtained, based on the size specified laser information list, the second specified laser information corresponding to the target size is obtained, and the second average power is obtained based on the second specified laser information, so as to obtain the power difference, adjust the target laser information based on the power difference, obtain the final laser information, and process the target abnormal object based on the target type laser of the final laser information, so as to more accurately process the target abnormal object.

[0054] Specifically, S003 also includes the following steps:

[0055] S031, obtain the first preset laser information list FK = {FK1, FK2, ..., FK e , …, FK h} and the second preset laser information list SK={SK1,SK2,…,SK e , …, SK h}, FK e is the e-th first preset laser information corresponding to the first type of laser, SK e It is the e-th second preset laser information corresponding to the second type of laser, the value range of e is 1 to h, and h is the number of preset laser information.

[0056] S032, obtain the abnormal object data list P for training = {P1, P2, ..., P a ,…,P b}, training abnormal object data P of size a a ={FP a , S.P. a}, FP a ={FP a1 , FP a2 , …, FP ae , …, FP ah}, SP a ={SP a1 , S.P. a2 ,…,SP ae ,…,SP ah}.

[0057] FP ae is the number of abnormal situations obtained by processing the training abnormal object of the ath size using the first type of laser of the eth first preset laser information, SP ae is the number of abnormal situations obtained by processing the training abnormal object of the ath size using the second type of laser of the eth second preset laser information, where a ranges from 1 to b, and b is the number of sizes of the training abnormal objects.

[0058] Specifically, the dimensions of abnormal situations can be manually defined. When the first type of laser of the e-th first preset laser information is used for processing, if one abnormal situation occurs, the number of abnormal situations is recorded as 1; if α abnormal situations occur, the number of abnormal situations is recorded as α; when the second type of laser of the e-th second preset laser information is used for processing, if one abnormal situation occurs, the number of abnormal situations is recorded as 1; if β abnormal situations occur, the number of abnormal situations is recorded as β.

[0059] S033, based on the training abnormal data list P, obtain the size specified laser information list Q.

[0060] It can be understood that the first preset laser information or the second preset laser information with a small number of abnormal situations is used as the designated laser information of the size.

[0061] In summary, the first preset laser information list and the second preset laser information list are obtained, the training abnormal object data list is obtained, and based on the training abnormal data list P, the size specified laser information list is obtained.

[0062] Further, in S002, the target type laser list corresponding to A is obtained by the following steps:

[0063] S300, when B i >B0, determine the first type of laser as the target type laser C i Otherwise, determine that the second type of laser is the target type laser C i ; Thus, the target type laser list C = {C1, C2, ..., C i , …, C m}, wherein B0 is a preset size of the abnormal object, the first type of laser is a type of laser with concentrated energy, and the second type of laser is a type of laser with even energy distribution.

[0064] Specifically, the preset size is used to distinguish target abnormal objects of different sizes using the first type of laser or the second type of laser.

[0065] Specifically, the first type of laser is a bell-shaped laser; the second type of laser is a rectangular laser.

[0066] Furthermore, the first type of laser is a bell-shaped titanium laser; and the second type of laser is a rectangular titanium laser.

[0067] S400 is based on target type laser list C, using target type laser C i A i The corresponding target abnormal objects are processed.

[0068] In summary, an image of a target abnormal object of a target user is obtained, the image of the target abnormal object is input into a target abnormal object recognition model, an information list of the target abnormal object of the target user is obtained, and based on the size of the target abnormal object, the first type of laser or the second type of laser is determined to be the target type laser corresponding to the target abnormal object, the target abnormal object is processed based on the target type laser, and based on the size of the target abnormal object, the first type of laser or the second type of laser is selected for processing, thereby realizing the selection of the first type of laser and the second type of laser, giving full play to the advantages of the first type of laser having more concentrated energy and the second type of laser having high working efficiency, so as to better process the target abnormal object.

[0069] Specifically, B0 is obtained through the following steps:

[0070] S310, obtain a sample abnormality list F = {F1, F2, ..., F g , …, F z}, F g is the gth sample abnormality generated by using the first type of laser or the second type of laser to process the abnormal object, the value range of g is 1 to z, and z is the number of sample abnormalities generated by using the first type of laser or the second type of laser to process the abnormal object.

[0071] Specifically, the sample abnormality is an abnormality caused by a preset abnormal object using the first type of laser or the second type of laser, which can be understood as a problem caused by the sample abnormal object using the first type of laser or the second type of laser.

[0072] S320, obtain a sample abnormal object data list D = {D1, D2, ..., D j , …, D n}, D j ={FD j , S.D. j}, FD j ={FD j1 , F.D.j2 , …, FD jr , …, FD js}, SD j ={SD j1 , S.D. j2 , …, SD jr ,…,SD js}, FD jr is the number of abnormal cases where the rth sample abnormal object of the jth sample abnormal object size is processed using the first type of laser, SD jr is the number of abnormal situations in which the rth sample abnormal object of the jth sample abnormal object size is processed using the second type of laser, j ranges from 1 to n, n is the number of sample abnormal object sizes, r ranges from 1 to s, s is the number of sample abnormal objects; wherein the size BD of the sample abnormal object j The following conditions are met: BD1>BD2>…>BD j >…BD n , wherein the number of abnormal situations is obtained based on a sample abnormal situation list F.

[0073] The number of abnormal situations is obtained based on the sample abnormal situation list F, specifically including:

[0074] Get the result list FF of the rth sample abnormal object with the jth sample abnormal object size processed using the first type of laser jr ={FF jr1 , FF jr2 , …, FF jrg , …, FF jrz}, FF jrg The rth sample abnormal object of the jth sample abnormal object size is processed using the first type of laser at F g Specifically, when the rth sample abnormal object of the jth sample abnormal object size is processed by the first type of laser at F g When there is a problem with the above results, FF jrg =1; otherwise, FF jrg = 0. Get FD jr =∑ z g=1 FF jrg .

[0075] Get the result list SF of the rth sample abnormal object with the jth sample abnormal object size processed by the second type of laser jr ={SF jr1 , S.F. jr2 ,…,SF jrg ,…,SF jrz}, SFjrg The rth sample abnormal object with the size of the jth sample abnormal object is processed using the second type of laser at F g Specifically, when the rth sample abnormal object of the jth sample abnormal object size is processed by the second type of laser at F g When there is a problem with the results above, SF jrg =1; otherwise, SF jrg = 0. Get SD jr =∑ z g=1 SF jrg .

[0076] S330, obtaining the abnormal situation quantity difference value Y j =(∑ z r=1 FD jr ) / z-(∑ z r=1 SD jr ) / z, and based on the sample coordinates (BD j , Y j ) to obtain the abnormal quantity difference curve.

[0077] Specifically, the difference between the number of abnormalities of the sample abnormal object using the first type of laser and the second type of laser is obtained, and the size BD of the sample abnormal object is j As the horizontal axis, BD j The corresponding abnormal situation quantity difference is used as the vertical coordinate to construct the abnormal situation quantity difference curve.

[0078] Furthermore, those skilled in the art know that any method of making a curve based on coordinate points in the prior art falls within the protection scope of the present invention and will not be described in detail herein.

[0079] S340, obtaining a list of inflection points of the abnormal situation quantity difference curve G = {G1, G2, ..., G x , …, G q}, G x is the xth inflection point, x ranges from 1 to q, q is the number of inflection points and q≤n.

[0080] Specifically, those skilled in the art know that any method for obtaining the inflection point of a curve in the prior art falls within the protection scope of the present invention and will not be described in detail herein.

[0081] S350, get the turning point G x The difference in the number of abnormal situations H x , thereby obtaining the abnormal situation quantity difference list H = {H1, H2, ..., H x , …, H q}, get H0 = max{H1, H2, ..., H x , …, H q}.

[0082] S360, based on the abnormal situation quantity difference curve, the horizontal coordinate corresponding to H0 is used as B0.

[0083] Specifically, H0 = max{H1, H2, ..., H x , …, H q}, it can be understood that the largest difference in the number of abnormal situations in the inflection point is selected, and the horizontal coordinate with the largest difference in the number of abnormal situations in the inflection point is used as the preset size B0, thereby better selecting the preset size B0.

[0084] In summary, a list of sample abnormal situations is obtained, a list of sample abnormal object data is obtained, the difference in the number of abnormal situations is obtained, and the size of the sample abnormal object is used as the horizontal coordinate, the difference in the number of abnormal situations is used as the vertical coordinate, an abnormal situation number difference curve is obtained, an inflection point list of the abnormal situation number difference curve is obtained, the abnormal situation difference corresponding to the inflection point is obtained, the maximum abnormal situation difference corresponding to the inflection point is obtained as a preset size, and based on the abnormal situation number difference curve, the preset size is obtained, and the use of the first type of laser and the second type at different sizes is distinguished, so as to achieve that the number of abnormal situations generated by the abnormal object at this size is smaller.

[0085] Furthermore, S350 also includes obtaining B0 through the following steps:

[0086] S351, obtain the inflection point G x The nearest sample coordinate list is obtained and the inflection point difference list of the sample coordinate list is obtained {Y x ,Y x+1 ,……,Y n}.

[0087] Specifically, it can be understood as obtaining the inflection point G x The coordinates of all the nearest samples (BD x , Y x ) and (BD x , Y x ) as the sample coordinate list, and obtain the inflection point difference list of the sample coordinate list {Y x ,Y x+1 ,……,Y n}.

[0088] S352, obtain inflection point G x The corresponding score E x =(H x -H min ) / (H0-H min)+(L x -L min ) / (L max -L min )-(M x -M min ) / (M max -M min ), thereby obtaining the score list E corresponding to the inflection point list G = {E1, E2, ..., E x , …, E q}.

[0089] Among them, H min = min{H1, H2, ..., H x , …, H q},L min =min{L1, L2, ..., L x , …, L q}, L max =max{L1, L2, ..., L x , …, L q},M min =min{M1, M2, ..., M x , …, M q},M max =max{M1, M2, ..., M x , …, M q},L x =(H x+1 -H x ) / (H x -H x-1 ),M x =Var(Y x ,Y x+1 ,……,Y n ),Var() is the variance function.

[0090] Specifically, (H x -H min ) / (H0-H min ) is the normalization of Hx; (L x -L min ) / (L max -L min ), L min =min{L1, L2, ..., L x , …, L q}, L max =max{L1, L2, ..., L x , …, L q}, L x =(H x+1 -H x) / (H x -H x-1 ) can be understood as finding a point with the largest slope change; M min =min{M1, M2, ..., M x , …, M q},M max =max{M1, M2, ..., M x , …, M q},L x =(H x+1 -H x ) / (H x -H x-1 ),M x =Var(Y x ,Y x+1 ,……,Y n ),-(M x -M min ) / (M max -M min ) is to calculate the fluctuation of the sample coordinate points after Gx corresponding to Gx. Therefore, it can be understood that Ex comprehensively considers the three dimensions of the maximum difference in the number of abnormal situations, the maximum slope before and after the inflection point, and the fluctuation coefficient after the inflection point.

[0091] S353, Get E max =max{E1, E2, ..., E x , …, E q}, E max The corresponding inflection point G max The horizontal axis is taken as B0.

[0092] In summary, we can obtain the inflection point G x Get the closest sample coordinate list and the inflection point difference list of the sample coordinate list to get the inflection point G x The corresponding score E x , thereby obtaining the score list E corresponding to the inflection point list G, obtaining the horizontal coordinate of the inflection point with the largest score as the preset size, and obtaining the preset size more accurately.

[0093] An embodiment of the present invention also provides a non-transitory computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing a method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the method provided in the above embodiment.

[0094] An embodiment of the present invention further provides an electronic device, comprising a processor and the aforementioned non-transitory computer-readable storage medium.

[0095] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.

Claims

1. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded by the processor and executes the following steps: S001, obtaining a target abnormal object image of a target user; S002: Input the target abnormal object image into the target abnormal object recognition model to obtain the target abnormal object information list A of the target user = {A1, A2, ..., A i , …, A m } and the target type laser list C corresponding to A = {C1, C2, ..., C i , …, C m },A i is the information of the i-th target abnormal object, C i Yes A i The corresponding target type laser, i ranges from 1 to m, m is the number of target abnormal objects, and the target abnormal object information at least includes the size B of the target abnormal object i , and B1>B2>…>B i >…>B m ; The target type laser is a first type laser or a second type laser; wherein the first type laser is a laser of a type with concentrated energy, and the second type laser is a laser of a type with even energy distribution; S003, obtain the size specified laser information list Q = {Q1, Q2, ..., Q a , …, Q b }, the ath dimension specifies the laser information Q a ={MQ a , FQ a , SQ a , F.A. a ,SA a }, MQ a is the ath preset size of the anomaly object, FQ a It is MQ a The corresponding abnormal object uses the first designated laser information of the first type of laser, SQ a It is MQ a The corresponding abnormal object uses the second designated laser information of the second type of laser, FA a It is MQ a The number of first abnormal situations of the corresponding abnormal object using the first type of laser of the first designated laser information, SA a It is MQ a The number of second abnormal situations in which the corresponding abnormal object uses the second type of laser of the second designated laser information; The first designated laser information includes a first duration T1 and a first peak value R1; The second designated laser information includes a second duration T2 and a second peak value R2; S004, traverse A, for A i , based on A i Target size B i and MQ a , get and B i Similar preset similar size list NQ = {NQ1, ..., NQ c ,…,NQ d }, NQ c is the cth and B i Similar preset similar size, c value range is 1 to d, d is the same as B i Similar presets with similar size quantities; S005, based on A i Corresponding target type laser C i and size specified laser information list Q, obtain the abnormal situation quantity list AQ corresponding to NQ = {AQ1, AQ2, ..., AQ c , …, AQ d }, NQ c The corresponding target abnormal situation quantity AQ c It’s FA1, FA2,…,FA a ,…,FA b or SA1, SA2, …, SA a 、…、SA b one of the; S006, obtain AQ0=min{AQ1, AQ2, ..., AQ c , …, AQ d } and based on Q, obtain the first designated laser information or the second designated laser information corresponding to AQ0 as the target laser information; S007, target type laser C using target laser information i Process the target abnormal objects.

2. The non-transitory computer-readable storage medium according to claim 1, wherein: S007 also includes, when the target type laser C i For the second type of laser, perform the following steps: S071, obtaining target laser average power PW2 based on target laser information; S072, obtaining the target size MQ0 corresponding to AQ0; S073, based on the size specified laser information list Q, obtain the first specified laser information FQ0 corresponding to MQ0 and obtain the second average power PW1 based on FQ0; S074, obtaining a power difference DQ=PW2-PW1, and adjusting the target laser information based on the power difference DQ to obtain final laser information, wherein the average power of the target type laser corresponding to the final laser information is PW1; S075, target type laser C using final laser information i Process the target abnormal objects.

3. The non-transitory computer-readable storage medium according to claim 1, wherein: S003 also includes the following steps: S031, obtain the first preset laser information list FK = {FK1, FK2, ..., FK e , …, FK h } and the second preset laser information list SK={SK1,SK2,…,SK e , …, SK h }, FK e is the e-th first preset laser information corresponding to the first type of laser, SK e is the e-th second preset laser information corresponding to the second type of laser, where the value of e ranges from 1 to h, and h is the number of preset laser information; S032, obtain the abnormal object data list P for training = {P1, P2, ..., P a ,…,P b }, training abnormal object data P of size a a ={FP a , S.P. a }, FP a ={FP a1 , FP a2 , …, FP ae , …, FP ah }, SP a ={SP a1 , S.P. a2 ,…,SP ae ,…,SP ah }; FP ae is the number of abnormal situations obtained by processing the training abnormal object of the ath size using the first type of laser of the eth first preset laser information, SP ae is the number of abnormal situations obtained by processing the training abnormal object of the ath size using the second type of laser of the eth second preset laser information, where a ranges from 1 to b, and b is the number of sizes of the training abnormal objects; S033, based on the training abnormal data list P, obtain the size specified laser information list Q.

4. The non-transitory computer-readable storage medium according to claim 1, wherein: The first type of laser is a bell-shaped laser.

5. The non-transitory computer-readable storage medium according to claim 1, wherein: The second type of laser is a rectangular laser.

6. The non-transitory computer-readable storage medium according to claim 2, wherein: The target laser average power PW2 = λ / p2 / y2×(T2×R2), λ is the speed of light, p2 is the refractive index of the laser in the specific medium of the second laser, y2 is the distance the laser propagates in the second laser, and the second laser is a laser that emits a second type of laser pulse to process the target abnormal object.

7. The non-transitory computer-readable storage medium according to claim 2, wherein: The second average power λ is the speed of light, p1 is the refractive index of the laser in the specific medium of the first laser, y1 is the distance the laser travels in the first laser, and the first laser is a laser that emits a first type of laser pulse to process the target abnormal object.

8. The non-transitory computer-readable storage medium according to claim 4, wherein: The first type of laser is a bell-shaped titanium laser.

9. An electronic device, characterized in that: The invention comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 1.

Citation Information

Patent Citations

  • Laser medical method and equipment

    CN111345893A

  • Method and device for repairing short circuit of printed circuit board

    CN116156778A