CN113230545A - Laser random dotting method and system - Google Patents

Laser random dotting method and system Download PDF

Info

Publication number
CN113230545A
CN113230545A CN202110550995.9A CN202110550995A CN113230545A CN 113230545 A CN113230545 A CN 113230545A CN 202110550995 A CN202110550995 A CN 202110550995A CN 113230545 A CN113230545 A CN 113230545A
Authority
CN
China
Prior art keywords
random
laser
coordinate
dotting
coordinate point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110550995.9A
Other languages
Chinese (zh)
Other versions
CN113230545B (en
Inventor
任旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yimei Yundong Photoelectric Technology Co ltd
Original Assignee
Beijing Yimei Yundong Photoelectric Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yimei Yundong Photoelectric Technology Co ltd filed Critical Beijing Yimei Yundong Photoelectric Technology Co ltd
Priority to CN202110550995.9A priority Critical patent/CN113230545B/en
Publication of CN113230545A publication Critical patent/CN113230545A/en
Application granted granted Critical
Publication of CN113230545B publication Critical patent/CN113230545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N5/00Radiation therapy
    • A61N5/06Radiation therapy using light
    • A61N5/0613Apparatus adapted for a specific treatment
    • A61N5/0616Skin treatment other than tanning
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N5/00Radiation therapy
    • A61N5/06Radiation therapy using light
    • A61N2005/0626Monitoring, verifying, controlling systems and methods

Landscapes

  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Pathology (AREA)
  • Biophysics (AREA)
  • Radiology & Medical Imaging (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Laser Beam Processing (AREA)

Abstract

The application discloses laser random dotting method and system, the method firstly defines array characteristic value of dotting area of laser beauty equipment, then determines coordinate point to be processed without repetition and at random in the array characteristic value, and finally carries out coordinate deviation on the coordinate point to be processed to obtain random coordinate point, and carries out laser dotting according to the random coordinate point, thereby realizing the purpose of carrying out random position laser dotting on the dotting area of the laser beauty equipment, avoiding the situation that the laser beauty equipment only carries out laser dotting on fixed position of the dotting area, avoiding obvious beauty trace possibly caused by laser dotting on the fixed area of the laser beauty equipment, and reducing the risk of local thermal damage. In addition, the laser random dotting method obtains the random coordinate point by performing coordinate offset on the coordinate point to be processed, and has the advantages of small calculation amount and easiness in implementation compared with a mode of directly obtaining the random coordinate point in a random mode.

Description

Laser random dotting method and system
Technical Field
The application relates to the field of medical instruments, in particular to a laser random dotting method and a laser random dotting system.
Background
Currently, the existing laser beauty equipment usually achieves the purpose of skin beauty by outputting laser on skin, and when the laser beauty equipment is used, the laser beauty equipment needs to be positioned on skin, and beauty is performed on the skin by outputting laser at different positions of the skin (which can also be called as laser dotting).
However, in the practical application process, the existing laser beauty equipment has poor beauty effect on the skin.
Disclosure of Invention
In order to solve the technical problem, the application provides a laser random dotting method and a laser random dotting system so as to solve the problem that the cosmetic effect of laser cosmetic equipment on skin is poor.
In order to achieve the technical purpose, the embodiment of the application provides the following technical scheme:
a laser random dotting method is applied to laser beauty equipment and comprises the following steps:
determining a dotable area of the laser cosmetic equipment, and establishing a coordinate system in the dotable area;
defining an array characteristic value of the dotting area, wherein the array characteristic value stores the abscissa values of two end points of each row of the dotting area;
determining coordinate points to be processed from the array characteristic values in a non-repeated and random manner;
and carrying out coordinate offset on the coordinate points to be processed to obtain random coordinate points, and carrying out laser dotting according to the random coordinate points.
Optionally, the defining the array feature values of the dotable region includes:
dividing the dotable area into a plurality of rows, and calculating the abscissa values of two end points of each row boundary;
storing the abscissa values of the two end points of each line boundary into a coordinate array;
and defining a row number of each row of the dotable area, and storing the row number into a row number array.
Optionally, the determining the coordinate point to be processed non-repeatedly and randomly from the array feature values includes:
randomly determining a row number in the row number array by using a random function;
determining the vertical coordinate of the coordinate point to be processed according to the randomly determined row number;
calculating the number of pixel points of the row of the dotable area corresponding to the randomly determined row number;
according to the number of the pixel points, the abscissa of the coordinate point to be processed is randomly determined;
judging whether the random coordinate point corresponding to the coordinate point to be processed is subjected to laser dotting or not, if so, returning to the step of randomly determining the abscissa of the coordinate point to be processed according to the number of the pixel points when the residual pixel points in the row corresponding to the randomly determined row number are not subjected to laser dotting, when all the pixel points in the row corresponding to the randomly determined row number are subjected to laser dotting, eliminating the randomly determined row number in the row number array, judging whether the row number array is empty or not, if so, ending the laser dotting process, and if not, returning to the step of randomly determining the row number in the row number array by using a random function;
if not, performing coordinate offset on the coordinate point to be processed to obtain a random coordinate point, and performing laser dotting according to the random coordinate point.
Optionally, the performing coordinate offset on the coordinate point to be processed to obtain a random coordinate point includes:
determining an offset abscissa and an offset ordinate by using a random function within a preset length, wherein the preset length is one N of the distance between adjacent pixel points in the dotable region, and N is an integer greater than 1;
and carrying out coordinate offset on the coordinate point to be processed according to the offset abscissa and the offset ordinate so as to obtain the random coordinate point.
Optionally, the performing coordinate offset on the coordinate point to be processed according to the offset abscissa and the offset ordinate to obtain the random coordinate point includes:
substituting the offset abscissa, the offset ordinate and the coordinate point to be processed into a preset formula to calculate and obtain the random coordinate point;
the preset formula comprises:
Figure BDA0003075319100000031
wherein y represents the offset abscissa, x represents the offset ordinate, and RandomX tableAnd displaying the abscissa of the coordinate point to be processed, and RandomY represents the ordinate of the coordinate point to be processed.
A laser random dotting system is applied to laser cosmetic equipment and comprises:
the area determining module is used for determining a dotable area of the laser beauty equipment and establishing a coordinate system in the dotable area;
the array defining module is used for defining array characteristic values of the dotting areas, and the array characteristic values store abscissa values of two end points of each row of the dotting areas;
the grid division module is used for determining coordinate points to be processed from the array characteristic values in a non-repeated and random manner;
and the random offset module is used for carrying out coordinate offset on the coordinate point to be processed so as to obtain a random coordinate point, and carrying out laser dotting according to the random coordinate point.
Optionally, the array definition module is specifically configured to divide the dotable region into multiple rows, and calculate abscissa values of two end points of each row boundary;
storing the abscissa values of the two end points of each line boundary into a coordinate array;
and defining a row number of each row of the dotable area, and storing the row number into a row number array.
Optionally, the mesh division module is specifically configured to randomly determine a row number in the row number array by using a random function;
determining the vertical coordinate of the coordinate point to be processed according to the randomly determined row number;
calculating the number of pixel points of the row of the dotable area corresponding to the randomly determined row number;
according to the number of the pixel points, the abscissa of the coordinate point to be processed is randomly determined;
judging whether the random coordinate point corresponding to the coordinate point to be processed is subjected to laser dotting or not, if so, returning to the step of randomly determining the abscissa of the coordinate point to be processed according to the number of the pixel points when the residual pixel points in the row corresponding to the randomly determined row number are not subjected to laser dotting, when all the pixel points in the row corresponding to the randomly determined row number are subjected to laser dotting, eliminating the randomly determined row number in the row number array, judging whether the row number array is empty or not, if so, ending the laser dotting process, and if not, returning to the step of randomly determining the row number in the row number array by using a random function;
if not, performing coordinate offset on the coordinate point to be processed to obtain a random coordinate point, and performing laser dotting according to the random coordinate point.
Optionally, the random offset module is specifically configured to determine an offset abscissa and an offset ordinate using a random function within a preset length, where the preset length is one N-th of a distance between adjacent pixel points in the dotable region, and N is an integer greater than 1;
and carrying out coordinate offset on the coordinate point to be processed according to the offset abscissa and the offset ordinate so as to obtain the random coordinate point.
A laser random dotting system comprises a memory and a processor; wherein the content of the first and second substances,
the memory is stored with a program code, the processor is used for calling the program code, and the program code executes any one of the laser random dotting methods when being called.
It can be seen from the foregoing technical solutions that the present application provides a laser random dotting method and system, where the laser random dotting method firstly defines an array characteristic value of a dotable region of a laser cosmetic apparatus, then determines a coordinate point to be processed from the array characteristic value without repetition and at random, and finally performs coordinate offset on the coordinate point to be processed to obtain a random coordinate point, and performs laser dotting according to the random coordinate point, so as to achieve the purpose of performing laser dotting at a random position on the dotable region of the laser cosmetic apparatus, avoid a situation that the laser cosmetic apparatus performs laser dotting only on a fixed position of the dotable region, avoid an obvious cosmetic trace that may be caused by laser dotting on the fixed region by the laser cosmetic apparatus, and reduce a risk of local thermal damage.
In addition, the laser random dotting method obtains the random coordinate point by performing coordinate offset on the coordinate point to be processed, and has the advantages of small calculation amount and easiness in implementation compared with a mode of directly obtaining the random coordinate point in a random mode.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of a laser beauty treatment apparatus in a dotting position in a dotting area;
fig. 2 is a schematic flowchart of a laser random dotting method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a laser cosmetic apparatus applying the laser random dotting method provided in the embodiment of the present application to perform laser dotting in a dotable area;
fig. 4 is a schematic flowchart of a laser random dotting method according to another embodiment of the present application;
fig. 5 is a schematic flowchart of a laser random dotting method according to another embodiment of the present application;
fig. 6 is a schematic flowchart of a laser random dotting method according to yet another embodiment of the present application;
fig. 7 is a schematic flowchart of a laser random dotting method according to an alternative embodiment of the present application.
Detailed Description
As described in the background art, the existing laser cosmetic device has poor cosmetic effect, and the inventor finds, through research, that the main problem is that the positions of the laser output (dotting) of the existing laser cosmetic device are all fixed areas, and referring to fig. 1, fig. 1 is a schematic diagram of the positions of the existing laser cosmetic device dotting on the dotable area, and the laser dotting mode of the fixed positions enables some positions of the dotable area to be subjected to repetitive laser cosmetic treatment, while other positions are not subjected to the laser cosmetic treatment all the time, so that the skin of a user in a recovery period has obvious cosmetic traces, the appearance looks unnatural, and the laser dotting is repeatedly performed at the same position with the risk of thermal damage, and the overall cosmetic effect is poor.
In view of this, an embodiment of the present application provides a laser random dotting method, which is applied to a laser cosmetic device, and the laser random dotting method includes:
determining a dotable area of the laser cosmetic equipment, and establishing a coordinate system in the dotable area;
defining an array characteristic value of the dotting area, wherein the array characteristic value stores the abscissa values of two end points of each row of the dotting area;
determining coordinate points to be processed from the array characteristic values in a non-repeated and random manner;
and carrying out coordinate offset on the coordinate points to be processed to obtain random coordinate points, and carrying out laser dotting according to the random coordinate points.
The laser random dotting method comprises the steps of firstly defining an array characteristic value of a dotable area of the laser cosmetic equipment, then determining a coordinate point to be processed unrepeatedly and randomly from the array characteristic value, finally carrying out coordinate offset on the coordinate point to be processed to obtain a random coordinate point, and carrying out laser dotting according to the random coordinate point, so that the purpose of carrying out laser dotting on random positions of the dotable area of the laser cosmetic equipment is achieved, the situation that the laser cosmetic equipment only carries out laser dotting on fixed positions of the dotable area is avoided, obvious cosmetic traces possibly caused by laser dotting of the laser cosmetic equipment on the fixed area are avoided, and the risk of local thermal damage is reduced.
In addition, the laser random dotting method obtains the random coordinate point by performing coordinate offset on the coordinate point to be processed, and has the advantages of small calculation amount and easiness in implementation compared with a mode of directly obtaining the random coordinate point in a random mode.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a laser random dotting method, as shown in fig. 2, applied to laser cosmetic equipment, and the laser random dotting method includes:
s101: determining a dotable area of the laser cosmetic device, and establishing a coordinate system in the dotable area.
S102: defining an array characteristic value of the dotable area, wherein the array characteristic value stores abscissa values of two end points of each row of the dotable area.
S103: and determining coordinate points to be processed from the array characteristic values in a non-repeated and random manner.
S104: and carrying out coordinate offset on the coordinate points to be processed to obtain random coordinate points, and carrying out laser dotting according to the random coordinate points.
In this embodiment, since the cross section of the laser beam output by the laser cosmetic apparatus is generally a point, the process of outputting laser light by the laser cosmetic apparatus is referred to as laser dotting.
Referring to fig. 3, fig. 3 shows a schematic position diagram of a laser cosmetic apparatus applying the laser random dotting method provided by the embodiment of the present application to perform multiple laser dotting on a dotable area, and compared with a fixed position dotting method, the laser random dotting method provided by the embodiment of the present application can achieve the purpose of performing random position laser dotting on the dotable area of the laser cosmetic apparatus, avoid a situation that the laser cosmetic apparatus only performs laser dotting on a fixed position of the dotable area, avoid an obvious cosmetic trace that may be caused by laser dotting on the fixed area by the laser cosmetic apparatus, and reduce a risk of local thermal damage.
In addition, the laser random dotting method obtains the random coordinate point by performing coordinate offset on the coordinate point to be processed, and has the advantages of small calculation amount and easiness in implementation compared with a mode of directly obtaining the random coordinate point in a random mode.
The dotting area of the laser cosmetic device is a working area of the laser cosmetic device or is called an area where the laser cosmetic device can output laser, the coordinate system established in the dotting area can be established by taking any vertex of the dotting area as an origin, or can be established by taking a central point of the dotting area as the origin, and the coordinate system is not limited by the application and is determined according to actual conditions.
A description is given below of possible implementation manners of each step of the laser random dotting method provided in the embodiment of the present application.
Optionally, referring to fig. 4, the defining the array feature values of the dotable region includes:
s1021: and dividing the dotable area into a plurality of rows, and calculating the abscissa values of two end points of each row boundary.
In the process of dividing the dotable region into a plurality of rows, the dotable region may be divided by the width of one pixel as the width of one row, or may be divided by the widths of a plurality of pixels as the width of one row, and the smaller the width of one row is, the higher the laser dot density at the final dotting is, which is not limited in this application.
S1022: storing the abscissa values of the two end points of each row boundary into a coordinate array.
The coordinate Array may be named Boundary _ Array [ N ] [2 ]. The value range of the abscissa point of each row of pixel points can be determined by the abscissa values of the two end points of each row boundary in the coordinate numbers.
S1023: and defining a row number of each row of the dotable area, and storing the row number into a row number array.
The row number Array may be named Vertical _ Array [ N ] ═ {1,2,3 … N }.
Optionally, as shown in fig. 5, the determining the coordinate point to be processed from the array feature values without repetition and at random includes:
s1031: and randomly determining the row number in the row number array by using a random function.
S1032: and determining the vertical coordinate of the coordinate point to be processed according to the randomly determined line number.
In step S1032, the line number corresponds to a line of pixels when the dotable region is divided, and when a coordinate system is established, the width of a line of pixels may be defined as a unit length of a Y axis, so that the ordinate of a line of pixels may be an integer, which is beneficial to simplifying the subsequent calculation process.
S1033: and calculating the number of pixel points of the row of the dotable area corresponding to the randomly determined row number.
S1034: and randomly determining the abscissa of the coordinate point to be processed according to the number of the pixel points.
S1035: judging whether the random coordinate point corresponding to the coordinate point to be processed is subjected to laser dotting or not, if so, returning to the step of randomly determining the abscissa of the coordinate point to be processed according to the number of the pixel points when the residual pixel points in the row corresponding to the randomly determined row number are not subjected to laser dotting, when all the pixel points in the row corresponding to the randomly determined row number are subjected to laser dotting, eliminating the randomly determined row number in the row number array, judging whether the row number array is empty or not, if so, ending the laser dotting process, and if not, returning to the step of randomly determining the row number in the row number array by using a random function;
if not, performing coordinate offset on the coordinate point to be processed to obtain a random coordinate point, and performing laser dotting according to the random coordinate point.
Optionally, referring to fig. 6, the performing coordinate offset on the coordinate point to be processed to obtain a random coordinate point includes:
s1041: determining an offset abscissa and an offset ordinate by using a random function within a preset length, wherein the preset length is one N of the distance between adjacent pixel points in the dotable region, and N is an integer greater than 1;
s1042: and carrying out coordinate offset on the coordinate point to be processed according to the offset abscissa and the offset ordinate so as to obtain the random coordinate point.
Specifically, as shown in fig. 7, the performing coordinate offset on the coordinate point to be processed according to the offset abscissa and the offset ordinate to obtain the random coordinate point includes:
s10421: substituting the offset abscissa, the offset ordinate and the coordinate point to be processed into a preset formula to calculate and obtain the random coordinate point;
the preset formula comprises:
Figure BDA0003075319100000091
wherein y represents the offset abscissa, x represents the offset ordinate, RandomX represents the abscissa of the coordinate point to be processed, and RandomY represents the ordinate of the coordinate point to be processed.
The laser random dotting system provided in the embodiments of the present application is described below, and the laser random dotting system described below and the laser random dotting method described above may be referred to in correspondence.
Correspondingly, the embodiment of the present application provides a laser random dotting system, which is applied to laser cosmetic equipment, and the laser random dotting system includes:
the area determining module is used for determining a dotable area of the laser beauty equipment and establishing a coordinate system in the dotable area;
the array defining module is used for defining array characteristic values of the dotting areas, and the array characteristic values store abscissa values of two end points of each row of the dotting areas;
the grid division module is used for determining coordinate points to be processed from the array characteristic values in a non-repeated and random manner;
and the random offset module is used for carrying out coordinate offset on the coordinate point to be processed so as to obtain a random coordinate point, and carrying out laser dotting according to the random coordinate point.
Optionally, the array definition module is specifically configured to divide the dotable region into multiple rows, and calculate abscissa values of two end points of each row boundary;
storing the abscissa values of the two end points of each line boundary into a coordinate array;
and defining a row number of each row of the dotable area, and storing the row number into a row number array.
Optionally, the mesh division module is specifically configured to randomly determine a row number in the row number array by using a random function;
determining the vertical coordinate of the coordinate point to be processed according to the randomly determined row number;
calculating the number of pixel points of the row of the dotable area corresponding to the randomly determined row number;
according to the number of the pixel points, the abscissa of the coordinate point to be processed is randomly determined;
judging whether the random coordinate point corresponding to the coordinate point to be processed is subjected to laser dotting or not, if so, returning to the step of randomly determining the abscissa of the coordinate point to be processed according to the number of the pixel points when the residual pixel points in the row corresponding to the randomly determined row number are not subjected to laser dotting, when all the pixel points in the row corresponding to the randomly determined row number are subjected to laser dotting, eliminating the randomly determined row number in the row number array, judging whether the row number array is empty or not, if so, ending the laser dotting process, and if not, returning to the step of randomly determining the row number in the row number array by using a random function;
if not, performing coordinate offset on the coordinate point to be processed to obtain a random coordinate point, and performing laser dotting according to the random coordinate point.
Optionally, the random offset module is specifically configured to determine an offset abscissa and an offset ordinate using a random function within a preset length, where the preset length is one N-th of a distance between adjacent pixel points in the dotable region, and N is an integer greater than 1;
and carrying out coordinate offset on the coordinate point to be processed according to the offset abscissa and the offset ordinate so as to obtain the random coordinate point.
Correspondingly, the embodiment of the application also provides a laser random dotting system, which comprises a memory and a processor; wherein, the memory stores program codes, the processor is used for calling the program codes, and the program codes realize the laser random dotting method of any one of the above embodiments when being executed.
To sum up, the embodiment of the present application provides a laser random dotting method and system, wherein, the laser random dotting method firstly defines an array characteristic value of a dotting area of a laser cosmetic device, then determines a coordinate point to be processed from the array characteristic value without repetition and at random, and finally performs coordinate offset on the coordinate point to be processed to obtain a random coordinate point, and performs laser dotting according to the random coordinate point, so as to achieve the purpose of performing random position laser dotting on the dotting area of the laser cosmetic device, avoid the situation that the laser cosmetic device performs laser dotting only on a fixed position of the dotting area, avoid the laser cosmetic device performing laser dotting on the fixed area and obvious cosmetic traces that may result, and reduce the risk of local thermal damage.
In addition, the laser random dotting method obtains the random coordinate point by performing coordinate offset on the coordinate point to be processed, and has the advantages of small calculation amount and easiness in implementation compared with a mode of directly obtaining the random coordinate point in a random mode.
Features described in the embodiments in the present specification may be replaced with or combined with each other, each embodiment is described with a focus on differences from other embodiments, and the same and similar portions among the embodiments may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A laser random dotting method is characterized by being applied to laser cosmetic equipment and comprising the following steps:
determining a dotable area of the laser cosmetic equipment, and establishing a coordinate system in the dotable area;
defining an array characteristic value of the dotting area, wherein the array characteristic value stores the abscissa values of two end points of each row of the dotting area;
determining coordinate points to be processed from the array characteristic values in a non-repeated and random manner;
and carrying out coordinate offset on the coordinate points to be processed to obtain random coordinate points, and carrying out laser dotting according to the random coordinate points.
2. The method of claim 1, wherein the defining the array of eigenvalues for the dotable region comprises:
dividing the dotable area into a plurality of rows, and calculating the abscissa values of two end points of each row boundary;
storing the abscissa values of the two end points of each line boundary into a coordinate array;
and defining a row number of each row of the dotable area, and storing the row number into a row number array.
3. The method of claim 2, wherein the non-repeating and randomly determining the coordinate points to be processed from the array of feature values comprises:
randomly determining a row number in the row number array by using a random function;
determining the vertical coordinate of the coordinate point to be processed according to the randomly determined row number;
calculating the number of pixel points of the row of the dotable area corresponding to the randomly determined row number;
according to the number of the pixel points, the abscissa of the coordinate point to be processed is randomly determined;
judging whether the random coordinate point corresponding to the coordinate point to be processed is subjected to laser dotting or not, if so, returning to the step of randomly determining the abscissa of the coordinate point to be processed according to the number of the pixel points when the residual pixel points in the row corresponding to the randomly determined row number are not subjected to laser dotting, when all the pixel points in the row corresponding to the randomly determined row number are subjected to laser dotting, eliminating the randomly determined row number in the row number array, judging whether the row number array is empty or not, if so, ending the laser dotting process, and if not, returning to the step of randomly determining the row number in the row number array by using a random function;
if not, performing coordinate offset on the coordinate point to be processed to obtain a random coordinate point, and performing laser dotting according to the random coordinate point.
4. The method of claim 1, wherein the coordinate shifting the coordinate points to be processed to obtain random coordinate points comprises:
determining an offset abscissa and an offset ordinate by using a random function within a preset length, wherein the preset length is one N of the distance between adjacent pixel points in the dotable region, and N is an integer greater than 1;
and carrying out coordinate offset on the coordinate point to be processed according to the offset abscissa and the offset ordinate so as to obtain the random coordinate point.
5. The method of claim 4, wherein the coordinate shifting the coordinate point to be processed according to the shift abscissa and the shift ordinate to obtain the random coordinate point comprises:
substituting the offset abscissa, the offset ordinate and the coordinate point to be processed into a preset formula to calculate and obtain the random coordinate point;
the preset formula comprises:
Figure FDA0003075319090000021
wherein y represents the offset abscissa, x represents the offset ordinate, RandomX represents the abscissa of the coordinate point to be processed, and RandomY represents the ordinate of the coordinate point to be processed.
6. A laser random dotting system is characterized by being applied to a laser cosmetic device and comprising:
the area determining module is used for determining a dotable area of the laser beauty equipment and establishing a coordinate system in the dotable area;
the array defining module is used for defining array characteristic values of the dotting areas, and the array characteristic values store abscissa values of two end points of each row of the dotting areas;
the grid division module is used for determining coordinate points to be processed from the array characteristic values in a non-repeated and random manner;
and the random offset module is used for carrying out coordinate offset on the coordinate point to be processed so as to obtain a random coordinate point, and carrying out laser dotting according to the random coordinate point.
7. The system of claim 6, wherein the array definition module is specifically configured to divide the dotable region into a plurality of rows, and calculate abscissa values of two end points of each row boundary;
storing the abscissa values of the two end points of each line boundary into a coordinate array;
and defining a row number of each row of the dotable area, and storing the row number into a row number array.
8. The system of claim 7, wherein the meshing module is specifically configured to randomly determine a row number in the row number array using a random function;
determining the vertical coordinate of the coordinate point to be processed according to the randomly determined row number;
calculating the number of pixel points of the row of the dotable area corresponding to the randomly determined row number;
according to the number of the pixel points, the abscissa of the coordinate point to be processed is randomly determined;
judging whether the random coordinate point corresponding to the coordinate point to be processed is subjected to laser dotting or not, if so, returning to the step of randomly determining the abscissa of the coordinate point to be processed according to the number of the pixel points when the residual pixel points in the row corresponding to the randomly determined row number are not subjected to laser dotting, when all the pixel points in the row corresponding to the randomly determined row number are subjected to laser dotting, eliminating the randomly determined row number in the row number array, judging whether the row number array is empty or not, if so, ending the laser dotting process, and if not, returning to the step of randomly determining the row number in the row number array by using a random function;
if not, performing coordinate offset on the coordinate point to be processed to obtain a random coordinate point, and performing laser dotting according to the random coordinate point.
9. The system according to claim 6, wherein the random offset module is specifically configured to determine an offset abscissa and an offset ordinate using a random function within a preset length, where the preset length is one N-th of a distance between adjacent pixels in the dotable region, and N is an integer greater than 1;
and carrying out coordinate offset on the coordinate point to be processed according to the offset abscissa and the offset ordinate so as to obtain the random coordinate point.
10. A laser random dotting system is characterized by comprising a memory and a processor; wherein the content of the first and second substances,
the memory is stored with program code, and the processor is used for calling the program code, and when the program code is called, the laser random dotting method according to any one of claims 1-5 is executed.
CN202110550995.9A 2021-05-20 2021-05-20 Laser random dotting method and system Active CN113230545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110550995.9A CN113230545B (en) 2021-05-20 2021-05-20 Laser random dotting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110550995.9A CN113230545B (en) 2021-05-20 2021-05-20 Laser random dotting method and system

Publications (2)

Publication Number Publication Date
CN113230545A true CN113230545A (en) 2021-08-10
CN113230545B CN113230545B (en) 2022-07-12

Family

ID=77137893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110550995.9A Active CN113230545B (en) 2021-05-20 2021-05-20 Laser random dotting method and system

Country Status (1)

Country Link
CN (1) CN113230545B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1207026A (en) * 1995-11-13 1999-02-03 加布里埃尔·西蒙 Laser beam ophthalmological surgery method and apparatus
JP2000062158A (en) * 1998-06-10 2000-02-29 Canon Inc Inspection equipment for recording head such as liquid jet recording head, hitting point inspection method and manufacture thereof, liquid jet recording head, and liquid jet recorder mounting it
WO2012167999A1 (en) * 2011-06-09 2012-12-13 Cero Gmbh Method and device for machining a workpiece by means of scanned pulsed laser
KR101272584B1 (en) * 2012-12-13 2013-06-10 주식회사 비체테크 Integrated control chip for fractional laser medical device
KR101311158B1 (en) * 2013-04-23 2013-09-23 (주)유한프리젠 Method of emphasizing on screen by moving picture in presentation system
JP2014034045A (en) * 2012-08-08 2014-02-24 Nippon Sharyo Seizo Kaisha Ltd Laser-processed substrate manufacturing method, and laser processing apparatus
CN109894748A (en) * 2019-02-22 2019-06-18 深圳泰德激光科技有限公司 Laser three-D marking on the fly method, apparatus, computer equipment and storage medium
CN110045499A (en) * 2019-04-09 2019-07-23 联想图像(天津)科技有限公司 A kind of control method of laser scan unit, device, system and electronic equipment
CN110187496A (en) * 2019-05-13 2019-08-30 大族激光科技产业集团股份有限公司 A kind of laser scanning device and method
WO2020201245A1 (en) * 2019-04-01 2020-10-08 Trumpf Werkzeugmaschinen Gmbh + Co. Kg Offset compensation method
CN112171066A (en) * 2020-08-24 2021-01-05 江苏大学 Design method for disordered and uniform distribution of roller unfolded surface texturing
CN112692440A (en) * 2020-12-21 2021-04-23 长沙八思量信息技术有限公司 Laser marking method, system, equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1207026A (en) * 1995-11-13 1999-02-03 加布里埃尔·西蒙 Laser beam ophthalmological surgery method and apparatus
JP2000062158A (en) * 1998-06-10 2000-02-29 Canon Inc Inspection equipment for recording head such as liquid jet recording head, hitting point inspection method and manufacture thereof, liquid jet recording head, and liquid jet recorder mounting it
WO2012167999A1 (en) * 2011-06-09 2012-12-13 Cero Gmbh Method and device for machining a workpiece by means of scanned pulsed laser
JP2014034045A (en) * 2012-08-08 2014-02-24 Nippon Sharyo Seizo Kaisha Ltd Laser-processed substrate manufacturing method, and laser processing apparatus
KR101272584B1 (en) * 2012-12-13 2013-06-10 주식회사 비체테크 Integrated control chip for fractional laser medical device
KR101311158B1 (en) * 2013-04-23 2013-09-23 (주)유한프리젠 Method of emphasizing on screen by moving picture in presentation system
CN109894748A (en) * 2019-02-22 2019-06-18 深圳泰德激光科技有限公司 Laser three-D marking on the fly method, apparatus, computer equipment and storage medium
WO2020201245A1 (en) * 2019-04-01 2020-10-08 Trumpf Werkzeugmaschinen Gmbh + Co. Kg Offset compensation method
CN110045499A (en) * 2019-04-09 2019-07-23 联想图像(天津)科技有限公司 A kind of control method of laser scan unit, device, system and electronic equipment
CN110187496A (en) * 2019-05-13 2019-08-30 大族激光科技产业集团股份有限公司 A kind of laser scanning device and method
CN112171066A (en) * 2020-08-24 2021-01-05 江苏大学 Design method for disordered and uniform distribution of roller unfolded surface texturing
CN112692440A (en) * 2020-12-21 2021-04-23 长沙八思量信息技术有限公司 Laser marking method, system, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
武文娟等: "基于PLC 控制的全自动打点装置设计与试验", 《仪表技术与传感器》 *

Also Published As

Publication number Publication date
CN113230545B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
US20200175944A1 (en) Method and device for adjusting brightness, display device and storage medium
EP0403054B1 (en) An electronic graphic system
CN113230545B (en) Laser random dotting method and system
CN112734633A (en) Virtual hair style replacing method, electronic equipment and storage medium
CN111724304A (en) Image scaling method and device, terminal equipment and storage medium
CN102043586A (en) Method and device for displaying background color in electronic form
US8355580B2 (en) Method and system for generating boundary in the process of rasterizing vector graphic as well as method for producing the system
JP2017121062A (en) Image processing method, image processing apparatus, and image forming device
CN111402366A (en) Character rendering method and device, electronic equipment and storage medium
CN111144060B (en) Wiring method, device and equipment for differential high-speed signal line of PCB (printed circuit board)
CN114782266A (en) Digital image signal space domain denoising method, device, equipment and medium
CN113763525B (en) Hair highlight rendering method, device, equipment and storage medium
US20060139369A1 (en) Manipulating text and graphic appearance
EP2629236A1 (en) Rasterization method and device
CN101021840A (en) Electronic form unit grid drawing method and apparatus
JP4803063B2 (en) Image processing circuit and printer controller equipped with the same
JP4325812B2 (en) Vector image drawing circuit and vector image drawing method
US20240177379A1 (en) Image processing method and apparatus, device and storage medium
WO2010053102A1 (en) Figure drawing device, anti-aliasing method, and storage medium
US9007659B1 (en) Re-ordered error diffusion for fast implementation
JP2536764Y2 (en) Image processing device
CN113312444B (en) Word stock construction method and device, electronic equipment and storage medium
JP2017116859A (en) Character drawing device, character drawing method, and computer program
RU2324299C2 (en) Device and method for processing of video image colour in real time
CN107240142B (en) Graph drawing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant