CN117594202B - Wrinkle size analysis method and device, electronic equipment and storage medium - Google Patents

Wrinkle size analysis method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117594202B
CN117594202B CN202410077930.0A CN202410077930A CN117594202B CN 117594202 B CN117594202 B CN 117594202B CN 202410077930 A CN202410077930 A CN 202410077930A CN 117594202 B CN117594202 B CN 117594202B
Authority
CN
China
Prior art keywords
punctuation
line
mouse
determining
area
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.)
Active
Application number
CN202410077930.0A
Other languages
Chinese (zh)
Other versions
CN117594202A (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.)
Shenzhen Accompany Technology Co Ltd
Original Assignee
Shenzhen Accompany 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 Shenzhen Accompany Technology Co Ltd filed Critical Shenzhen Accompany Technology Co Ltd
Priority to CN202410077930.0A priority Critical patent/CN117594202B/en
Publication of CN117594202A publication Critical patent/CN117594202A/en
Application granted granted Critical
Publication of CN117594202B publication Critical patent/CN117594202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H30/00ICT specially adapted for the handling or processing of medical images
    • G16H30/40ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/63ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for local operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Biomedical Technology (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Radiology & Medical Imaging (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a wrinkle size analysis method, a wrinkle size analysis device, electronic equipment and a storage medium; the method comprises the following steps: displaying a chart including a wrinkle curve; displaying a first punctuation and a second punctuation in the graph in response to the punctuation selection operation; determining a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation; displaying a third punctuation and a fourth punctuation in the graph; monitoring a mobile mouse event, and determining a dragging line according to the position of the mouse; displaying a dragging line; receiving a line selection operation, wherein the line selection operation is triggered after a user selects a third dragging line; and the display size marking solves the problems of insufficient interactivity, inconvenient operation and poor display effect in the traditional data analysis process. The user freely selects the position of the dragging line through moving the mouse, and selects a proper position to represent the width and the depth of the wrinkles according to actual conditions, so that the analysis process is more flexible and convenient, the size display is more visual and clear, and the user experience is improved.

Description

Wrinkle size analysis method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of skin analysis technologies, and in particular, to a wrinkle size analysis method, a wrinkle size analysis device, an electronic device, and a storage medium.
Background
With the development of science and technology and the improvement of living standard, people pay more attention to skin problems, and more people choose to care skin in professional beauty institutions such as beauty parlors or in places such as home. In the fields of beauty, medical and skin care, it is often necessary to analyze and compare skin topography images, for example, to analyze size information such as the depth, width, etc. of wrinkles of a user. However, the conventional data analysis method may have problems of insufficient user interactivity, inconvenient operation and the like, and cannot intuitively and clearly display the analysis result.
Disclosure of Invention
The invention provides a wrinkle size analysis method, a wrinkle size analysis device, electronic equipment and a storage medium, which are used for solving the problems of insufficient interactivity, inconvenient operation and poor display effect in the traditional data analysis process.
According to an aspect of the present invention, there is provided a wrinkle size analysis method comprising:
displaying a graph, wherein the graph comprises a wrinkle curve;
Displaying a first punctuation and a second punctuation in the chart in response to a punctuation selection operation, wherein the punctuation selection operation is triggered by a user selecting the first punctuation and the second punctuation to be analyzed from the wrinkle curve;
determining a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation;
displaying the third punctuation and the fourth punctuation in the graph;
Monitoring a mouse moving event, and determining a dragging line according to a mouse position, wherein the dragging line comprises a first dragging line, a second dragging line and a third dragging line, and the dragging line is determined according to the first punctuation, the second punctuation, the third punctuation and the fourth punctuation;
Displaying the dragging line;
receiving a line selection operation, wherein the line selection operation is triggered after a user selects the third dragging line;
And displaying a size marking, wherein the size marking is drawn according to the position of the dragging line, and the size marking comprises three markings and is used for representing the wrinkle width or the wrinkle depth between the first marking and the second marking.
According to another aspect of the present invention, there is provided a wrinkle size analysis device comprising:
the chart display module is used for displaying a chart, wherein the chart comprises a wrinkle curve;
The first punctuation display module is used for responding to punctuation selection operation, wherein the punctuation selection operation is triggered by a user selecting a first punctuation to be analyzed and a second punctuation to be analyzed from the wrinkle curve;
The punctuation determining module is used for determining a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation;
the second punctuation display module is used for displaying a first punctuation, a second punctuation, a third punctuation and a fourth punctuation in the chart;
the mouse event monitoring module is used for monitoring a mobile mouse event, determining a dragging line according to a mouse position, wherein the dragging line comprises a first dragging line, a second dragging line and a third dragging line, and the dragging line is determined according to the first punctuation, the second punctuation, the third punctuation and the fourth punctuation;
the dragging line display module is used for displaying the dragging line;
The operation receiving module is used for receiving a line selection operation, wherein the line selection operation is triggered after a user selects the third dragging line;
the size marking display module is used for displaying size markings, the size markings are drawn according to the positions of the dragging lines, and the size markings comprise three markings and are used for representing the wrinkle width or the wrinkle depth between the first mark point and the second mark point.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor, and a memory communicatively coupled to the at least one processor;
Wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the wrinkle size analysis method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute the wrinkle size analysis method according to any one of the embodiments of the present invention.
According to the technical scheme, a wrinkle curve is displayed through a chart, a first punctuation and a second punctuation which need to be subjected to size analysis are selected through punctuation selection operation triggered by a user, a third punctuation and a fourth punctuation are determined according to the coordinates of the first punctuation and the second punctuation and are displayed in the chart, a mobile mouse event is monitored in real time, a dragging line is determined according to the position of a mouse and the coordinates of the first punctuation and the second punctuation and is displayed in the chart, so that a user can check the drawing line, the user triggers the line selection operation through selecting the third dragging line, the execution device draws a size marking after receiving the line selection operation and displays the size marking in the chart, the size marking is used for representing the width or the depth of wrinkles between the first punctuation and the second punctuation in the wrinkle curve, and further size analysis of the wrinkles is achieved, and the problems of insufficient interactivity, inconvenience in operation and poor display effect in the traditional data analysis process are solved. Through the interaction with the user, the wrinkle size analysis is carried out, and the user can autonomously select a first punctuation and a second punctuation which need to be analyzed according to the requirement; and the position of the dragging line can be freely selected through moving the mouse, a user can trigger the line selecting operation to determine the position of the marking after the mouse moves to a proper position, and then the size marking is drawn and displayed, the proper position can be selected according to actual conditions to represent the width and the depth of the wrinkle, the analysis process is more flexible and convenient, the size display of the wrinkle is also more visual and clear, the effect is better, and the user experience is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a wrinkle size analysis method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a wrinkle size analysis method according to a second embodiment of the present invention;
FIG. 3 is a diagram showing an example of an area according to a second embodiment of the present invention;
FIG. 4 is an exemplary diagram of a partition of non-renderable regions and boundary regions provided in accordance with a second embodiment of the invention;
FIG. 5 is a diagram showing an example of a drag line in an upper region according to a second embodiment of the present invention;
FIG. 6 is a diagram showing another example of a drag line in an upper region according to a second embodiment of the present invention;
FIG. 7 is a diagram showing an example of a drag line in the right area according to a second embodiment of the present invention;
FIG. 8 is a diagram showing another drag line in the right area according to the second embodiment of the present invention;
FIG. 9 is a diagram showing an example of a size marking provided according to a second embodiment of the present invention;
Fig. 10 is a schematic structural view of a wrinkle size analysis device according to the third embodiment of the present invention;
fig. 11 is a schematic structural view of an electronic device implementing the wrinkle size analysis method according to the embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a wrinkle size analysis method according to an embodiment of the present invention, where the method may be performed by a wrinkle size analysis device, which may be implemented in hardware and/or software, and the wrinkle size analysis device may be configured in an electronic apparatus.
The method provided by the embodiment can be integrated on the user terminal as an application client, and can also be presented on the terminal as an application webpage. For a user, the user can acquire an account through an information registration form, and can log in through the user account on the terminal when the wrinkle size analysis requirement is met; the method can also be directly used without logging in. The terminal may be a cell phone, tablet computer, desktop computer, cosmetic device, skin care device, etc.
As shown in fig. 1, the method includes:
s101, displaying a chart, wherein the chart comprises a wrinkle curve.
In this embodiment, the chart may be in any shape such as a positive direction, a rectangle, or the like, and the chart may be displayed in the terminal interface. A wrinkle curve is understood to mean in particular a curve of wrinkle formation.
This step may be considered as execution logic after entering the wrinkle size analysis function application by a user operation. The execution body may present a first page of wrinkle analysis after entering the wrinkle size analysis function application, the first page of wrinkle analysis including an operation or menu for selection by a user, the user performing the wrinkle size analysis by selection.
The user can trigger analysis of the wrinkle size by clicking or other operations, and after receiving the triggering operation of the user, a chart is formed and displayed on a screen. The size of the chart can be automatically generated according to the size of the screen, the chart can also be generated according to the set size, the chart comprises a wrinkle curve, and the wrinkle curve can be correspondingly generated according to wrinkle data. The wrinkle data can be input by a user, can be obtained locally, can be obtained through interaction with a cloud or other terminal equipment, and the like. Before the chart is displayed, corresponding wrinkle data can be automatically acquired and formed into a curve to be drawn in the chart, the wrinkle data for analysis can be selected by manual operation of a user, and the like.
S102, a first punctuation and a second punctuation are displayed in the chart in response to a punctuation selection operation, wherein the punctuation selection operation is triggered by a user selecting the first punctuation and the second punctuation to be analyzed from the wrinkle curve.
In this embodiment, the punctuation selection operation can be understood as an operation of selecting a point in the wrinkle curve; the first punctuation and the second punctuation are both a point in the wrinkle curve, and the depth and width between the first punctuation and the second punctuation need to be analyzed.
The punctuation selection operation can be triggered by clicking a mouse and other operations, for example, a user controls the movement of the mouse in a screen through the mouse of hardware or the operation of the mouse in a touch screen, and when the mouse moves to a point which is required to be analyzed in the wrinkle curve, the mouse is clicked to trigger the punctuation selection operation, so that the first punctuation is selected; similarly, a second punctuation is selected by triggering a second punctuation selection operation. The execution body may determine the first punctuation by receiving a first punctuation selection operation of the user after the chart is presented, and determine the second punctuation by receiving a second punctuation selection operation of the user. And in response to the punctuation selection operation, determining the position coordinates of the punctuation, drawing and displaying corresponding points in the chart, and completing the display of the first punctuation and the second punctuation.
In the embodiment of the application, the first punctuation and the second punctuation can be displayed simultaneously or sequentially, for example, the first punctuation and the second punctuation are displayed after two punctuation selection operations are received, or the first punctuation is displayed after the first punctuation selection operation is received, and the second punctuation is displayed after the second punctuation selection operation is received. When a first punctuation and a second punctuation are selected from the wrinkle curve, a mouse can be set to fall on the wrinkle curve to consider that the first punctuation or the second punctuation to be analyzed are selected; the area which falls near the wrinkle curve can be set to be considered that one point on the wrinkle is selected, and the selected point is the point closest to the mouse in the wrinkle curve, so that the size of the area can be set according to the size of the screen, the size of the chart and the like, and the condition that the first punctuation and the second punctuation cannot be selected effectively and quickly when the screen or the chart is too small is prevented.
Illustratively, when the first punctuation and the second punctuation are selected, the embodiment of the present application may be implemented by a preregistered echorts instance click event (chartInstance. On ('click', fn), and the first punctuation and the second punctuation are added by clicking the wrinkle curve.
S103, determining a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation.
In this embodiment, the third punctuation and the fourth punctuation are points that assist the first punctuation and the second punctuation in performing wrinkle size analysis.
Determining the position relation between the third punctuation and the fourth punctuation and the first punctuation and the second punctuation according to the marking mode of the wrinkle size in advance; and determining the positions of the first punctuation and the second punctuation according to the coordinates of the first punctuation and the second punctuation, and converting the coordinates of the first punctuation and the second punctuation according to the positions and the position relations of the first punctuation and the second punctuation to obtain the coordinates of a third punctuation and a fourth punctuation, so as to determine the third punctuation and the fourth punctuation.
S104, displaying a third punctuation and a fourth punctuation in the chart.
The third punctuation and the fourth punctuation can be simultaneously drawn into the chart for display, and can also be sequentially drawn and displayed according to the sequence.
To facilitate distinguishing the first, second, third, and fourth punctuation, different sizes, shapes, colors, etc. may be selected to display the first, second, third, and fourth punctuation, e.g., the first and second punctuation are represented by solid black dots, and the third and fourth punctuation are represented by hollow dots. The first punctuation, the second punctuation, the third punctuation, and the fourth punctuation may also be represented in the same manner.
S105, monitoring a mobile mouse event, determining a dragging line according to the position of the mouse, wherein the dragging line comprises a first dragging line, a second dragging line and a third dragging line, and the dragging line is determined according to a first punctuation, a second punctuation, a third punctuation and a fourth punctuation.
In this embodiment, the position of the mouse may be specifically understood as a corresponding position coordinate displayed by the mouse in the screen; the dragging lines can be specifically understood as lines with positions capable of being changed, and the dragging lines comprise three lines, namely a first dragging line, a second dragging line and a third dragging line. And drawing the dragging line according to the first punctuation, the second punctuation, the third punctuation and the fourth punctuation.
Monitoring the mobile mouse event, determining the position of the mouse, analyzing based on the position of the mouse, judging the position relation between the position of the mouse and the first punctuation, the second punctuation, the third punctuation and the fourth punctuation, determining the drag line by connecting the analyzed size with the first punctuation and the second punctuation according to the position relation, and determining the drag line by registering the mobile mouse event (chartInstance. GetZr (). On ('mousemove', fn) in advance and drawing the drag line by moving the mouse through the mobile mouse event.
S106, displaying a dragging line.
The drawing lines are displayed in the chart, and the information such as the color, the width and the like of the drawing lines can be preset. Because the dragging lines comprise a first dragging line, a second dragging line and a third dragging line, the three lines can be displayed in the same mode, and can be displayed in different modes, so that the three lines are conveniently distinguished, for example, the colors of the three lines are different.
S107, receiving a line selection operation, wherein the line selection operation is triggered after a user selects a third dragging line.
In this embodiment, the line selection operation can be specifically understood as a user operation for selecting a drag line. The line selection operation may be used to trigger a position selection of the dragged line. The user can move the mouse to the third dragging line by moving the mouse, and select the third dragging line by clicking the mouse. The embodiment may receive the line selection operation through this step after the user selects the third drag line.
S108, displaying dimension marks, wherein the dimension marks are drawn according to the positions of the dragging lines, and the dimension marks comprise three marks and are used for representing the wrinkle width or the wrinkle depth between the first mark point and the second mark point.
In this embodiment, the size marking may be specifically understood as a line marking the size of the wrinkles, which may be depth, width, or the like. The size line includes three lines, the wrinkle width is represented by the three lines, or the wrinkle depth is represented by the three lines. The wrinkle depth refers to the depth between the first and second punctuation, and the wrinkle width refers to the width between the first and second punctuation.
Drawing a size marking according to the position of the dragging line, for example, directly drawing the line at the position of the dragging line as the size marking, or drawing the line at a preset distance in a translation mode based on the position of the dragging line as the size marking, and the like. And displaying the size marked line after drawing the size marked line. The size markings may be shown in a chart. When the size marking is displayed, the third punctuation and the fourth punctuation can be displayed at the same time, or the third punctuation and the fourth punctuation can be displayed without being displayed, and the third punctuation and the fourth punctuation are eliminated. Instead of displaying the graph, only the wrinkle curve may be displayed, and the wrinkle depth and width may be represented by the size line on the wrinkle curve.
It should be appreciated that a set of size lines may be determined after a single line selection operation is received, where the size lines represent only the wrinkle width or wrinkle depth, and the user may simultaneously represent the wrinkle depth and wrinkle width with two line selection operations.
The wrinkle size analysis method provided by the embodiment of the application can be realized based on Echarts, which is a JavaScript-based data visualization library, and various charts can be quickly generated for displaying data and trends.
The embodiment of the invention provides a wrinkle size analysis method, which comprises the steps of displaying a wrinkle curve through a chart, selecting a first punctuation and a second punctuation which need to be subjected to size analysis through a punctuation selection operation triggered by a user, further determining a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation and displaying the third punctuation and the fourth punctuation in the chart, monitoring a mobile mouse event in real time, determining a dragging line according to the position of a mouse in combination with the coordinates of the first punctuation and the second punctuation and displaying the dragging line in the chart, so that the user can check the dragging line conveniently, triggering the line selection operation through selecting the third dragging line by the user, drawing a size marking after receiving the line selection operation, displaying the size marking in the chart, and displaying the wrinkle width or the wrinkle depth between the first punctuation and the second punctuation in the wrinkle curve through the size marking, so that the size analysis of wrinkles is realized, and the problems of insufficient interactivity, operation inconvenience and poor display effect in the traditional data analysis process are solved. Through the interaction with the user, the wrinkle size analysis is carried out, and the user can autonomously select a first punctuation and a second punctuation which need to be analyzed according to the requirement; and the position of the dragging line can be freely selected through moving the mouse, a user can trigger the line selecting operation to determine the position of the marking after the mouse moves to a proper position, and then the size marking is drawn and displayed, the proper position can be selected according to actual conditions to represent the width and the depth of the wrinkle, the analysis process is more flexible and convenient, the size display of the wrinkle is also more visual and clear, the effect is better, and the user experience is improved.
Example two
Fig. 2 is a flowchart of a wrinkle size analysis method according to a second embodiment of the present invention, where the wrinkle size analysis method is refined based on the foregoing embodiment. As shown in fig. 2, the method includes:
s201, wrinkle coordinate data are acquired.
In this embodiment, the wrinkle coordinate data may be specifically understood as data including coordinates for representing points in the wrinkle, where the wrinkle coordinate data generally includes a plurality of sets of coordinates, and each set of coordinates represents a point in the wrinkle.
The wrinkle coordinate data may be stored in advance, for example, the user photographs an image containing wrinkles, and the image is processed by an image processing technique, identified to obtain the wrinkle coordinate data, and stored. The present execution subject reads wrinkle coordinate data automatically or after a received user operation after performing wrinkle size analysis.
It is to be appreciated that the data, the image acquisition, the image storage, the image use, the image processing and the like in the technical scheme of the application all meet the relevant regulations of national laws and regulations.
S202, initializing a chart according to a predetermined chart size.
In this embodiment, the chart dimensions include a width and a length; if the graph is square, the graph size only comprises one parameter, and if the graph is rectangular, the graph needs to comprise two parameters, namely, the width and the length. The chart size may be preset, and the chart size may be a fixed value set in advance; the screen size of the terminal deploying the wrinkle size analysis method provided in the present embodiment may be considered in the chart size setting, for example, the chart size is half of the screen of the terminal, and so on. The screen size may also be set according to terminals of different sizes or different screen sizes, for example, when the terminal is a mobile phone, the chart size is three-fourths of the screen of the terminal, when the terminal is a tablet computer, the chart size is half of the screen of the terminal, when the terminal is a desktop computer, the chart size is one-fourth of the screen of the terminal, and so on. The size of the chart can be customized by a user, and the user can set the size of the chart according to the requirement, so that personalized setting is realized.
The chart size is obtained, the chart is initialized according to the chart size, namely, a chart is drawn according to the chart size.
S203, drawing a wrinkle curve in the chart according to the wrinkle coordinate data.
Before the rectangular coordinate system is established, the rectangular coordinate system can be conveniently observed and processed, and the rectangular coordinate system can be uniformly transformed so that the rectangular coordinate system is in the same quadrant, and the rectangular coordinate system can be directly displayed. And selecting a proper origin of coordinates in the chart to establish a rectangular coordinate system, determining corresponding points according to the wrinkle coordinate data, drawing the points into the chart, and connecting the points in sequence to form a wrinkle curve. When the wrinkle curve is formed, a line graph can be formed by straight line connection, or a smooth curve can be adopted to connect each point, or the wrinkle curve is formed in a fitting mode, so that the obtained wrinkle curve is more attractive and accords with the actual wrinkle shape.
S204, displaying a chart, wherein the chart comprises a wrinkle curve.
S205, a first punctuation and a second punctuation are displayed in the chart in response to a punctuation selection operation, wherein the punctuation selection operation is triggered by a user selecting the first punctuation and the second punctuation to be analyzed from the wrinkle curve.
S206, determining the coordinates of the third punctuation according to the ordinate of the first punctuation and the abscissa of the second punctuation.
The coordinates of the third punctuation are determined by taking the ordinate of the first punctuation as the ordinate of the third punctuation and the abscissa of the second punctuation as the abscissa of the third punctuation.
S207, determining coordinates of a fourth punctuation according to the abscissa of the first punctuation and the ordinate of the second punctuation.
The coordinates of the fourth punctuation are determined by taking the abscissa of the first punctuation as the abscissa of the fourth punctuation and the ordinate of the second punctuation as the ordinate of the fourth punctuation.
S208, displaying a third punctuation and a fourth punctuation in the chart.
S209, monitoring a mobile mouse event, judging the area where the mouse is located according to the position of the mouse, wherein the area comprises an upper area, a lower area, a left area and a right area, and dividing the area according to a first punctuation, a second punctuation, a third punctuation and a fourth punctuation.
And dividing the chart into four areas according to the positions of the first punctuation, the second punctuation, the third punctuation and the fourth punctuation in advance, and obtaining an upper area, a lower area, a left area and a right area. And judging the area where the mouse is positioned according to the position of the mouse and the divided area.
As an optional embodiment of the present embodiment, the optimizing the division of the area further includes:
a1, determining a first linear equation according to the coordinates of the first punctuation and the second punctuation.
In this embodiment, the first linear equation is determined according to the first punctuation and the second punctuation, that is, the first punctuation and the second punctuation are on the straight line corresponding to the first linear equation.
The linear equation is set as y=k1×x+b1, coordinates of the first punctuation and the second punctuation are brought into the linear equation, and k1 and b1 can be obtained by solving the equation set, so that the first linear equation is obtained.
A2, determining a second linear equation according to the coordinates of the third punctuation and the fourth punctuation.
In this embodiment, the first linear equation is determined according to the first punctuation and the second punctuation, that is, the first punctuation and the second punctuation are on the straight line corresponding to the first linear equation.
The linear equation is set as y=k2×x+b2, coordinates of the third punctuation and the fourth punctuation are brought into the linear equation, and k2 and b2 can be obtained by solving the equation set, so that a second linear equation is obtained.
A3, dividing the region based on the straight line corresponding to the first straight line equation and the straight line corresponding to the second straight line equation, and dividing the chart into an upper region, a lower region, a left region and a right region.
In the embodiment of the application, the straight line corresponding to the first straight line equation and the straight line corresponding to the second straight line equation are two intersecting straight lines, the chart is divided into four areas according to the intersection point of the two straight lines and the two straight lines, the upper part of the two straight lines is an upper area, the lower part of the two straight lines is a lower area, the area formed by the lower part of the straight line corresponding to the first straight line equation and the upper part of the straight line corresponding to the second straight line equation is a right area, and the area formed by the upper part of the straight line corresponding to the first straight line equation and the lower part of the straight line corresponding to the second straight line equation is a right area. Namely, the upper, lower, left and right of the embodiment of the application are relative to two intersecting straight lines.
For example, fig. 3 provides a schematic illustration of an area, where Q1 is a first punctuation, Q2 is a second punctuation, Q3 is a third punctuation, Q4 is a fourth punctuation, the first and second punctuations are represented by solid dots, and the third and fourth punctuations are represented by open dots; the upper region, the lower region, the left region, and the right region are exemplarily shown in the figure, and a straight line L1 corresponding to the first straight line equation and a straight line L2 corresponding to the second equation are exemplarily shown by dotted lines.
S210, determining a third dragging line according to the area where the mouse is located and the position of the mouse, and determining a first dragging line and a second dragging line based on the third dragging line.
Determining the direction of a third dragging line according to the region where the mouse is located, namely whether the third dragging line is parallel to the x axis or the y axis, determining in which region the third dragging line is drawn, selecting the position of the third dragging line according to the positions of the first punctuation and the second punctuation, and connecting the end point of the third line with the first punctuation and the second punctuation after determining the third dragging line to obtain the first dragging line and the second dragging line.
As an optional embodiment of the present embodiment, the present optional embodiment further determines a third dragging line according to the area where the mouse is located and the position of the mouse, determines the first dragging line and the second dragging line based on the third dragging line, and optimizes to B1-B5:
And B1, determining the ordinate of the first endpoint and the second endpoint of the third dragging line according to the position of the mouse when the area where the mouse is positioned is an upper area or a lower area.
In this embodiment, the first end point and the second end point are end points of two ends of the third dragging line.
When the area where the mouse is located is the upper area or the lower area, the width of the wrinkles is measured. Judging whether the position of the mouse can draw the mark according to the position of the mouse, and predetermining the area which can not draw the mark, wherein the area which can not draw the mark can be set by a user or is determined according to the position of the large lower part of the screen, the mark point and the like. If the mouse is in the area capable of drawing the marking, determining the ordinate of the first endpoint and the second endpoint of the third dragging line directly according to the coordinate of the mouse; if the mouse is in the area where the marking can not be drawn, the drawing can not be performed, namely, the three dragging lines can not be determined at the moment, and the ordinate of the first endpoint and the second endpoint of the third dragging line can be determined according to the boundary coordinates of the area.
B2, determining the abscissa of the first punctuation as the abscissa of the first endpoint, and determining the abscissa of the second punctuation as the abscissa of the second endpoint.
And B3, determining a connecting line of the first end point and the second end point as a third dragging line.
And determining the position of the first endpoint based on the abscissa and the ordinate of the first endpoint, determining the position of the second endpoint based on the abscissa and the ordinate of the second endpoint, connecting the first endpoint and the second endpoint, and determining the connecting line as a third dragging line.
And B4, determining a connecting line of the first endpoint and the first punctuation as a first dragging line.
And B5, determining a connecting line of the second endpoint and the second punctuation as a second dragging line.
And connecting the first endpoint with the first punctuation, determining a first dragging line, and determining the connecting line of the second endpoint and the second punctuation as a second dragging line.
As an optional embodiment of the present embodiment, the present optional embodiment further optimizes the ordinate of the first endpoint and the second endpoint of the third dragging line according to the mouse position to be C1-C6:
And C1, determining the ordinate of the mouse according to the position of the mouse.
The position of the mouse is determined by the abscissa and the ordinate of the mouse, and the ordinate of the mouse can be directly determined on the basis of the determined position of the mouse.
And C2, if the ordinate of the mouse is not in the first and second non-drawable areas and the first and second boundary areas which are determined in advance, determining the ordinate of the mouse as the ordinate of the first and second endpoints.
Wherein the first non-renderable region is determined according to the ordinate of the first punctuation and the second non-renderable region is determined according to the ordinate of the second punctuation.
In this embodiment, the first non-renderable region and the second non-renderable region are regions in which the reticle cannot be rendered, one in the upper region and one in the lower region. The first non-renderable region is determined in advance according to the ordinate of the first punctuation, and the second non-renderable region is determined according to the ordinate of the second punctuation. And drawing a line parallel to the x axis according to the ordinate of the first punctuation, and taking a closed region formed by a straight line corresponding to the line and the first straight line equation and a straight line corresponding to the second straight line equation as a first non-drawable region. Similarly, a line parallel to the x-axis is drawn according to the ordinate of the second punctuation, and a closed region formed by a straight line corresponding to the line and the first straight line equation and a straight line corresponding to the second straight line equation is used as a second non-drawable region.
The first and second bounding regions are bounding regions in the chart, one being the bounding region above the chart and one being the bounding region below the chart. The diagram also includes a third boundary region and a fourth boundary region, one being the boundary region to the left of the diagram and one being the boundary region to the right of the diagram.
The method comprises the steps of determining the boundary of the chart in advance, dividing the boundary of the chart into a first boundary area, a second boundary area, a third boundary area and a fourth boundary area, and displaying no line in the four boundary areas of the chart, namely, dragging lines are only displayed in areas other than the boundary areas, so that the user can watch the chart conveniently.
Fig. 4 provides an exemplary illustration of the division of non-renderable regions and boundary regions, which illustrates exemplary first, second, third, and fourth non-renderable regions 31, 32, 33, 34, and first, second, third, and fourth boundary regions 41, 42, 43, 44.
If the ordinate of the mouse is not in any one of the first non-drawable region, the second non-drawable region, the first boundary region and the second boundary region, the third drag line can be directly drawn according to the ordinate of the mouse, and the ordinate of the mouse is determined to be the ordinate of the first endpoint and the second endpoint.
And C3, if the ordinate of the mouse is in the first non-drawable area, determining the ordinate of the first punctuation as the ordinate of the first endpoint and the second endpoint.
If the ordinate of the mouse is in the first non-drawable area, determining the ordinate of the first endpoint and the ordinate of the second endpoint according to the boundary of the first non-drawable area, determining the boundary of the first non-drawable area according to the ordinate of the first punctuation, and directly determining the ordinate of the first punctuation as the ordinate of the first endpoint and the ordinate of the second endpoint.
And C4, if the ordinate of the mouse is in the second non-drawable area, determining the ordinate of the second punctuation as the ordinate of the first endpoint and the second endpoint.
If the ordinate of the mouse is in the second non-drawable area, determining the ordinate of the first endpoint and the ordinate of the second endpoint according to the boundary of the second non-drawable area, determining the boundary of the second non-drawable area according to the ordinate of the second punctuation, and directly determining the ordinate of the second punctuation as the ordinate of the first endpoint and the second endpoint.
And C5, if the ordinate of the mouse is in the first boundary area, determining the ordinate of the boundary corresponding to the first boundary area as the ordinate of the first endpoint and the second endpoint.
In this embodiment, the ordinate of the boundary is the ordinate of the boundary of the first boundary region, and since the boundary region in the embodiment of the present application is a rectangle, there are four boundaries, and each side of the rectangle is a boundary. In the embodiment of the application, the ordinate of the boundary corresponding to the first boundary area is the ordinate of the boundary close to the first punctuation and the second punctuation.
If the ordinate of the mouse is in the first boundary area, determining the ordinate of the first endpoint and the ordinate of the second endpoint according to the ordinate of the boundary corresponding to the first boundary area, and directly determining the ordinate of the boundary corresponding to the boundary area as the ordinate of the first endpoint and the ordinate of the second endpoint. And the third drawn drag line stays on the boundary at the moment, namely after the mouse moves to the first boundary area, the mouse can be determined to have moved outside the boundary, and the third drawn line stays on the boundary at the moment.
And C6, if the ordinate of the mouse is in the second boundary area, determining the ordinate of the boundary corresponding to the second boundary area as the ordinate of the first endpoint and the second endpoint.
In the embodiment of the application, the ordinate of the boundary corresponding to the second boundary area is the ordinate of the boundary close to the first punctuation and the second punctuation.
If the ordinate of the mouse is in the second boundary area, determining the ordinate of the first endpoint and the ordinate of the second endpoint according to the ordinate of the boundary corresponding to the second boundary area, and directly determining the ordinate of the boundary corresponding to the boundary area as the ordinate of the first endpoint and the ordinate of the second endpoint. The third drawn line also stays on the boundary at this time, that is, after the mouse moves to the second boundary region, it may be determined that the mouse has moved outside the boundary, at which time the third drawn line stays on the boundary.
For example, fig. 5 provides an exemplary diagram showing the drag lines in the upper area, where the third drag line is in the normal moving range, i.e., not in the second boundary area and the second non-renderable area, Q in the diagram is a mouse position, and for convenience of distinguishing the lines, the first drag line 51, the second drag line 52, and the third drag line 53 are shown by thick lines, and the mouse position in fig. 5 is on the third drag line 53. Fig. 6 provides another illustration of a drag line in the upper region, with the mouse position not on the third drag line 53. As can be seen from fig. 5 and 6, when the mouse is in the upper or lower region, the position of the third dragging line is now only related to the ordinate of the mouse, and is not related to the abscissa thereof.
As an optional embodiment of the present embodiment, the present optional embodiment further determines a third dragging line according to the area where the mouse is located and the position of the mouse, determines the first dragging line and the second dragging line based on the third dragging line, and optimizes the first dragging line and the second dragging line to D1-D5:
and D1, determining the abscissa of the first endpoint and the second endpoint of the third dragging line according to the position of the mouse when the area where the mouse is positioned is a left area or a right area.
When the area where the mouse is located is the left area or the right area, the wrinkle depth is measured. And judging whether the position of the mouse can draw the marking according to the position of the mouse. If the mouse is in the area capable of drawing the marking, directly determining the abscissa of the first endpoint and the second endpoint of the third dragging line according to the coordinates of the mouse; if the mouse is in the area where the marking can not be drawn, the drawing can not be performed, namely, the three dragging lines can not be determined at the moment, and the abscissa of the first endpoint and the second endpoint of the third dragging line can be determined according to the boundary coordinates of the area.
D2, determining the ordinate of the first punctuation as the ordinate of the first endpoint, and determining the ordinate of the second punctuation as the ordinate of the second endpoint.
And D3, determining a connecting line of the first end point and the second end point as a third dragging line.
And determining the position of the first endpoint based on the abscissa and the ordinate of the first endpoint, determining the position of the second endpoint based on the abscissa and the ordinate of the second endpoint, connecting the first endpoint and the second endpoint, and determining the connecting line as a third dragging line.
And D4, determining a connecting line of the first endpoint and the first punctuation as a first dragging line.
And D5, determining the connection line of the second end point and the second end point as a second dragging line.
And connecting the first endpoint with the first punctuation, determining a first dragging line, and determining the connecting line of the second endpoint and the second punctuation as a second dragging line.
As an optional embodiment of the present embodiment, the present optional embodiment further optimizes the abscissa of the first endpoint and the second endpoint of the third dragging line according to the mouse position to be E1-E6:
And E1, determining the abscissa of the mouse according to the position of the mouse.
The position of the mouse is determined by the abscissa and the ordinate of the mouse, and the abscissa of the mouse can be directly determined on the basis of the determined position of the mouse.
And E2, if the abscissa of the mouse is not in the predetermined third non-drawable area, fourth non-drawable area and third boundary area and fourth boundary area, determining the abscissa of the mouse as the abscissas of the first endpoint and the second endpoint.
Wherein the third non-renderable region is determined from the abscissa of the first punctuation and the fourth non-renderable region is determined from the abscissa of the second punctuation.
In this embodiment, the third non-renderable region and the fourth non-renderable region are each a region where the reticle cannot be rendered, one in the left region and one in the right region. The third non-renderable region is determined in advance according to the abscissa of the first punctuation, and the fourth non-renderable region is determined according to the abscissa of the second punctuation. And drawing a line parallel to the y axis according to the abscissa of the first punctuation, and taking a closed region formed by a straight line corresponding to the line and the first straight line equation and a straight line corresponding to the second straight line equation as a third non-drawable region. Similarly, a line parallel to the y axis is drawn according to the abscissa of the second punctuation, and a closed region formed by a straight line corresponding to the line and the first straight line equation and a straight line corresponding to the second straight line equation is used as a fourth non-drawable region.
If the abscissa of the mouse is not in any one of the third non-renderable area, the fourth non-renderable area, the third boundary area and the fourth boundary area, the third drag line may be directly drawn according to the abscissa of the mouse, and the abscissa of the mouse is determined as the abscissas of the first endpoint and the second endpoint.
And E3, if the abscissa of the mouse is in the third non-drawable area, determining the abscissa of the first punctuation as the abscissas of the first endpoint and the second endpoint.
If the abscissa of the mouse is in the third non-drawable area, determining the abscissas of the first endpoint and the second endpoint according to the boundary of the third non-drawable area, determining the boundary of the third non-drawable area according to the abscissas of the first endpoint, and directly determining the abscissas of the first endpoint as the abscissas of the first endpoint and the second endpoint.
And E4, if the abscissa of the mouse is in the fourth non-drawable area, determining the abscissa of the second punctuation as the abscissas of the first endpoint and the second endpoint.
If the abscissa of the mouse is in the fourth non-drawable region, determining the abscissas of the first endpoint and the second endpoint according to the boundary of the fourth non-drawable region, determining the boundary of the fourth non-drawable region according to the abscissas of the second endpoint, and directly determining the abscissas of the second endpoint as the abscissas of the first endpoint and the second endpoint.
And E5, if the abscissa of the mouse is in the third boundary area, determining the abscissa of the boundary corresponding to the third boundary area as the abscissas of the first endpoint and the second endpoint.
In the present embodiment, the abscissa of the boundary is the abscissa of the boundary of the third boundary region; the abscissa of the boundary corresponding to the third boundary region in the embodiment of the present application is the abscissa of the boundary near the first punctuation and the second punctuation.
If the abscissa of the mouse is in the third boundary region, determining the abscissas of the first endpoint and the second endpoint according to the abscissas of the boundary corresponding to the third boundary region, and directly determining the abscissas of the boundary corresponding to the third boundary region as the abscissas of the first endpoint and the second endpoint. And the third drawn drag line stays on the boundary at the moment, namely after the mouse moves to the third boundary area, the mouse can be determined to have moved outside the boundary, and the third drag line stays on the boundary at the moment.
And E6, if the abscissa of the mouse is in the fourth boundary area, determining the abscissa of the boundary corresponding to the fourth boundary area as the abscissas of the first endpoint and the second endpoint.
The abscissa of the boundary corresponding to the fourth boundary region in the embodiment of the present application is the abscissa of the boundary near the first punctuation and the second punctuation.
If the abscissa of the mouse is in the fourth boundary area, determining the abscissas of the first endpoint and the second endpoint according to the abscissas of the boundary corresponding to the fourth boundary area, and directly determining the abscissas of the boundary corresponding to the fourth boundary area as the abscissas of the first endpoint and the second endpoint. The third drawn line also stays on the boundary at this time, that is, after the mouse moves to the fourth boundary region, it may be determined that the mouse has moved outside the boundary, at which time the third drawn line stays on the boundary.
For example, fig. 7 provides an illustration of a drag line in the right region, where the third drag line is within the normal range of motion, i.e., not in the fourth border region and the fourth non-renderable region. In the figure, Q is the mouse position, and in order to distinguish each line conveniently, the first dragging line 61, the second dragging line 62 and the third dragging line 63 are shown by thick lines, and the mouse position in fig. 7 is on the third dragging line 63. Fig. 8 provides another illustrative view of a drag line in the right region, with the mouse position not on the third drag line 63. As can be seen from fig. 7 and 8, when the mouse is in the left or right region, the position of the third dragging line is only related to the abscissa of the mouse and is not related to the ordinate thereof.
Optionally, the first boundary region, the second boundary region, the third boundary region and the fourth boundary region are obtained by dividing boundary regions according to the boundaries of the chart, and the boundaries of the chart are determined according to the sizes and the boundary ratios of the chart.
In the present embodiment, the boundary ratio is set in advance, and the boundary ratio is between 0 and 1. And multiplying the size of the chart by the boundary ratio to obtain a polygon smaller than the chart, wherein the area outside the polygon in the chart is the boundary area, and the boundary area is divided into a first boundary area, a second boundary area, a third boundary area and a fourth boundary area according to the four directions of up, down, left and right.
S211, displaying a dragging line.
And displaying the first dragging line, the second dragging line and the third dragging line.
According to the embodiment of the application, the region division is carried out on the chart, then the dragging line is determined according to the actual condition of combining the mouse position with the region division, and the region drawn by the line is displayed to the user according to the dragging line, so that the user can judge whether the position of the dragging line is proper or not according to the actually selected position of the dragging line and the custom of the user, whether the size data of wrinkles can be clearly and intuitively displayed or not, if so, a third dragging line can be selected through operation, and if not, the position of the dragging line can be adjusted until the proper position is selected. The method provided by the embodiment of the application analyzes the size of the wrinkles, the whole analysis process is more flexible and convenient, the size display of the wrinkles is more visual and clear, the effect is better, and the user experience is greatly improved. Meanwhile, interactivity and interestingness are improved, the operation process is very convenient, and a user only needs to move the mouse and does not need to perform other operations.
S212, receiving a line selection operation, wherein the line selection operation is triggered after a user selects a third dragging line.
After receiving the line selection operation, determining the size marking according to the position of the dragging line.
As an optional embodiment of the present embodiment, the further optimization of the present optional embodiment further includes:
and F1, drawing the marked line according to the dragging line.
And respectively drawing the marked lines according to the positions of the three dragging lines to obtain three marked lines.
And F2, marking the width of the marking corresponding to the third dragging line if the area where the mouse is positioned is an upper area or a lower area, wherein the width is the wrinkle width between the first marking point and the second marking point.
If the area where the mouse is located is an upper area or a lower area, the width is measured at this time, so that the width is marked on the marking corresponding to the third dragging line, and the width is the width of the wrinkle between the first mark point and the second mark point.
And F3, marking the depth of the marking corresponding to the third dragging line if the area where the mouse is positioned is a left area or a right area, wherein the depth is the wrinkle depth between the first marking point and the second marking point.
If the area where the mouse is located is a left area or a right area, the depth is measured at this time, so that the depth is marked on the marking corresponding to the third dragging line, and the depth is the wrinkle depth between the first mark point and the second mark point.
And F4, forming size marked lines based on the marked lines and marking information corresponding to the marked lines, wherein the marking information comprises width or depth.
And forming a size marking line based on each marking line and marking information corresponding to the marking line by taking the marked depth or width as marking information so as to represent the wrinkle depth and the wrinkle width between the first marking point and the second marking point.
S213, displaying size marks, wherein the size marks are drawn according to the positions of the dragging lines, and the size marks comprise three marks and are used for representing the wrinkle width or the wrinkle depth between the first mark point and the second mark point.
In the wrinkle size analysis process, for the same set of first punctuation and second punctuation, a user can mark the wrinkle width and depth respectively through two line selection operations. For example, a mouse is moved in an upper area or a lower area for the first time to determine a third dragging line, the line selection operation is triggered by clicking the third dragging line, and size marks are drawn and displayed to achieve marking and measurement of the wrinkle width; and moving the mouse in the left area and the right area for the second time to determine a third dragging line, triggering line selection operation by clicking the third dragging line, drawing and displaying a size marking, and realizing marking and measuring of the wrinkle depth. Three of the dimension markings can be displayed through the same line or different lines, and can be set according to requirements.
By way of example, FIG. 9 provides an illustration of a size line showing both the depth of a wrinkle and the width of a wrinkle, and is illustrated as 200mm for a wrinkle depth and 300mm for a wrinkle width. In actual display, the size marking can set colors, line types, widths and the like according to requirements, and personalized setting is achieved. The marked line corresponding to the third drag line in the figure is indicated by a broken line with an arrow.
In the depth measurement or width measurement process, a user can adjust the position of the dragging line by moving the position of the mouse, the position of the dragging line is redetermined in the mouse moving process, in the actual display process, the lengths of the first dragging line and the second dragging line are dynamically adjusted, the position of the third dragging line is changed, and the length is unchanged. When the mouse moves inside the boundary and outside the non-renderable area, the line is free to adjust and change direction as the mouse moves before being unfixed.
When the position of the dragging line is adjusted by moving the position of the mouse, a new dragging line can be determined again according to the position of the mouse, and the dragging line is drawn again; the position of the third dragging line can be adjusted in response to the dragging action of the third dragging line on the basis of the original dragging line, namely, when the area where the mouse is located is unchanged, the third dragging line is translated, the first dragging line and the second dragging line are prolonged or shortened, when the third dragging line is translated, the position of the third dragging line is controlled to be outside the boundary area and the non-drawable area, namely, when the third dragging line is translated, the third dragging line is required to be kept not inside the boundary area and the non-drawable area. On the basis of displaying the dragging line, the position of the dragging line is adjusted, and at this time, the rendering mode of the adjusted position of the dragging line can be set by a user, and can also be adaptively adjusted or set according to different application programs used.
In the embodiment of the application, the drawing of the dragging line can be realized by dynamically updating the graphic drawing of the echarts. The mouse is continuously moved, the line length of the first dragging line and the second dragging line can be automatically adjusted in real time, and the position of the third dragging line is changed in real time. When the mouse moves to different directions, the dragging lines are automatically drawn to the corresponding areas.
After the embodiment of the application draws the wrinkle depth and the wrinkle width between a group of first punctuation and a group of second punctuation, options can be provided for a user, the user selects whether to continue measurement or not, if the user selects to continue measurement, the punctuation selection operation triggered by the user is received again, and if the user selects not to continue measurement, the wrinkle size analysis flow is directly exited; after the wrinkle depth and the wrinkle width between the first punctuation mark and the second punctuation mark are drawn, the embodiment of the application can monitor the operation of the user while displaying the size marking, if the user continuously triggers the punctuation mark selection operation, the measurement is continuously carried out, and if the user triggers the exit operation by clicking the exit button and the like, the wrinkle size analysis flow is exited.
The embodiment of the invention provides a wrinkle size analysis method, which solves the problems of insufficient interactivity, inconvenient operation and poor display effect in the traditional data analysis process. Through the interaction with the user, wrinkle size analysis is carried out, the user can autonomously select a first punctuation and a second punctuation which need to be analyzed according to the requirement, a third punctuation and a fourth punctuation are determined through the first punctuation and the second punctuation, a linear equation is determined based on the four punctuations, and then region division is carried out on the chart; the user freely selects the position of the dragging lines by moving the mouse, determines the direction of the dragging lines according to the position of the mouse, and automatically adjusts the lengths and the directions of the three dragging lines by moving the mouse; after the mouse moves to a proper position, a user can trigger the line selection operation to determine the position of the marked line, further draw and display the size marked line, select a proper position according to actual conditions to represent the width and depth of the wrinkle, and conveniently, efficiently and clearly display the measured depth value and width value; when the depth and the width between different punctuations are analyzed, the positions of the marked lines are manually adjusted, the proper positions can be selected according to the marked positions of the marked lines and the personal habits of users, the situation that lines are unclear due to too close positions of the marked lines when the same mode is adopted for size marking is avoided, the observation effect is further affected, the size analysis process of the wrinkles is more flexible and convenient, the size display of the wrinkles is also more visual and clear, the effect is better, and the user experience is greatly improved.
Example III
Fig. 10 is a schematic structural diagram of a wrinkle size analysis device according to a third embodiment of the present invention. As shown in fig. 10, the apparatus includes: the display module 71, the first punctuation display module 72, the punctuation determination module 73, the second punctuation display module 74, the mouse event monitor module 75, the drag line display module 76, the operation receiving module 77, and the size line display module 78.
Wherein, the chart display module 71 is used for displaying a chart, and the chart comprises a wrinkle curve;
A first punctuation display module 72 for displaying a first punctuation and a second punctuation in the graph in response to a punctuation selection operation, the punctuation selection operation being an operation triggered by a user selecting the first punctuation and the second punctuation to be analyzed from the wrinkle curve;
A punctuation determination module 73, configured to determine a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation;
a second punctuation display module 74 for displaying a first punctuation, a second punctuation, a third punctuation and a fourth punctuation in the graph;
The mouse event monitoring module 75 is configured to monitor a mobile mouse event, determine a dragging line according to a mouse position, where the dragging line includes a first dragging line, a second dragging line, and a third dragging line, and the dragging line is determined according to the first punctuation, the second punctuation, the third punctuation, and the fourth punctuation;
a drag line display module 76 for displaying the drag line;
An operation receiving module 77, configured to receive a line selection operation, where the line selection operation is triggered after the user selects the third dragging line;
A size line display module 78 for displaying size lines drawn according to the positions of the drag lines, the size lines including three lines for representing the wrinkle width or wrinkle depth between the first and second points.
The embodiment of the invention provides a wrinkle size analysis device, which is used for displaying a wrinkle curve through a chart, selecting a first punctuation and a second punctuation which are required to be subjected to size analysis through punctuation selection operation triggered by a user, further determining a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation and displaying the third punctuation and the fourth punctuation in the chart, monitoring a mobile mouse event in real time, determining a dragging line according to the position of a mouse in combination with the coordinates of the first punctuation and the second punctuation and displaying the dragging line in the chart, so that the user can check the dragging line conveniently, the user can trigger the line selection operation through selecting the third dragging line, the execution device draws a size marking after receiving the line selection operation and displays the size marking in the chart, and the size marking is used for representing the wrinkle width or the wrinkle depth between the first punctuation and the second punctuation in the wrinkle curve, so that the size analysis of wrinkles is realized, and the problems of insufficient interactivity, the operation is inconvenient and the poor display effect in the traditional data analysis process are solved. Through the interaction with the user, the wrinkle size analysis is carried out, and the user can autonomously select a first punctuation and a second punctuation which need to be analyzed according to the requirement; and the position of the dragging line can be freely selected by moving the mouse, a user can trigger the line selection operation to determine the position of the marking after the mouse moves to a proper position, and then the size marking is drawn and displayed, the proper position can be selected according to actual conditions to represent the width and depth of the wrinkle, the analysis process is more flexible and convenient, the size display of the wrinkle is also more visual and clear, the effect is better, and the user experience is effectively improved.
Optionally, the apparatus further comprises:
the wrinkle coordinate acquisition module is used for acquiring wrinkle coordinate data;
The chart initializing module is used for initializing a chart according to a predetermined chart size;
and the curve drawing module is used for drawing a wrinkle curve in the chart according to the wrinkle coordinate data.
Optionally, the punctuation determination module 73 includes:
A third punctuation determining unit, configured to determine coordinates of the third punctuation according to the ordinate of the first punctuation and the abscissa of the second punctuation;
And the fourth punctuation determining unit is used for determining the coordinates of the fourth punctuation according to the abscissa of the first punctuation and the ordinate of the second punctuation.
Optionally, the mouse event listening module 75 includes:
The area judging unit is used for judging an area where the mouse is located according to the position of the mouse, the area comprises an upper area, a lower area, a left area and a right area, and the area is divided according to the first punctuation, the second punctuation, the third punctuation and the fourth punctuation;
the dragging line determining unit is used for determining a third dragging line according to the area where the mouse is located and the position of the mouse, and determining a first dragging line and a second dragging line based on the third dragging line.
Optionally, the apparatus further comprises:
The first equation determining module is used for determining a first linear equation according to the coordinates of the first punctuation and the second punctuation;
The second equation determining module is used for determining a second linear equation according to the coordinates of the third punctuation and the fourth punctuation;
And the region dividing module is used for dividing the region based on the straight line corresponding to the first straight line equation and the straight line corresponding to the second straight line equation, and dividing the chart into an upper region, a lower region, a left region and a right region.
Optionally, the drag line determining unit is specifically configured to: when the area where the mouse is positioned is an upper area or a lower area, determining the ordinate of the first endpoint and the second endpoint of the third dragging line according to the position of the mouse; determining the abscissa of the first punctuation as the abscissa of the first endpoint, and determining the abscissa of the second punctuation as the abscissa of the second endpoint; determining a connecting line of the first end point and the second end point as a third dragging line; determining a connecting line of the first endpoint and the first punctuation as a first dragging line; and determining a connecting line of the second endpoint and the second punctuation as a second dragging line.
Optionally, the determining, according to the mouse position, the ordinate of the first endpoint and the second endpoint of the third dragging line includes: determining the ordinate of the mouse according to the position of the mouse; if the ordinate of the mouse is not in the first non-drawable area and the second non-drawable area and the first boundary area and the second boundary area which are determined in advance, determining the ordinate of the mouse as the ordinate of the first endpoint and the second endpoint; if the ordinate of the mouse is in the first non-drawable area, determining the ordinate of the first punctuation as the ordinate of the first endpoint and the second endpoint; if the ordinate of the mouse is in the second non-drawable area, determining the ordinate of the second punctuation as the ordinate of the first endpoint and the second endpoint; if the ordinate of the mouse is in the first boundary area, determining the ordinate of the boundary corresponding to the first boundary area as the ordinate of the first endpoint and the ordinate of the second endpoint; if the ordinate of the mouse is in the second boundary area, determining the ordinate of the boundary corresponding to the second boundary area as the ordinate of the first endpoint and the ordinate of the second endpoint;
The first non-renderable area is determined according to the ordinate of the first punctuation, and the second non-renderable area is determined according to the ordinate of the second punctuation.
Optionally, the drag line determining unit is specifically configured to: when the area where the mouse is positioned is a left area or a right area, determining the abscissa of the first endpoint and the second endpoint of the third dragging line according to the position of the mouse; determining the ordinate of the first punctuation as the ordinate of the first endpoint, and determining the ordinate of the second punctuation as the ordinate of the second endpoint; determining a connecting line of the first end point and the second end point as a third dragging line; determining a connecting line of the first endpoint and the first punctuation as a first dragging line; and determining a connecting line of the second endpoint and the second punctuation as a second dragging line.
Optionally, the determining, according to the mouse position, the abscissa of the first endpoint and the second endpoint of the third dragging line includes: determining the abscissa of the mouse according to the position of the mouse; if the abscissa of the mouse is not in the predetermined third non-drawable area, fourth non-drawable area and third and fourth boundary areas, determining the abscissa of the mouse as the abscissa of the first and second endpoints; if the abscissa of the mouse is in the third non-drawable area, determining the abscissa of the first punctuation as the abscissas of the first endpoint and the second endpoint; if the abscissa of the mouse is in the fourth non-drawable area, determining the abscissa of the second punctuation as the abscissas of the first endpoint and the second endpoint; if the abscissa of the mouse is in the third boundary area, determining the abscissa of the boundary corresponding to the third boundary area as the abscissas of the first endpoint and the second endpoint; if the abscissa of the mouse is in a fourth boundary area, determining the boundary abscissa corresponding to the fourth boundary area as the abscissa of the first endpoint and the second endpoint;
Wherein the third non-renderable region is determined from the abscissa of the first punctuation and the fourth non-renderable region is determined from the abscissa of the second punctuation.
Optionally, the first boundary area, the second boundary area, the third boundary area and the fourth boundary area are obtained by dividing boundary areas according to the boundaries of the chart, and the boundaries of the chart are determined according to the sizes and the boundary ratios of the chart.
Optionally, the apparatus further comprises:
The marking drawing module is used for drawing the marking according to the dragging line;
The width marking module is used for marking the width of the marking corresponding to the third dragging line if the area where the mouse is positioned is an upper area or a lower area, and the width is the wrinkle width between the first punctuation and the second punctuation;
the depth marking module is used for marking the depth of the marking corresponding to the third dragging line if the area where the mouse is positioned is a left area or a right area, and the depth is the wrinkle depth between the first punctuation and the second punctuation;
And the size marking forming module is used for forming size markings based on the markings and marking information corresponding to the markings, wherein the marking information comprises width or depth.
The wrinkle size analysis device provided by the embodiment of the invention can execute the wrinkle size analysis method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 11 shows a schematic diagram of an electronic device 80 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., helmets, eyeglasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 11, the electronic device 80 includes at least one processor 81, and a memory such as a Read Only Memory (ROM) 82, a Random Access Memory (RAM) 83, etc. communicatively connected to the at least one processor 81, wherein the memory stores a computer program executable by the at least one processor, and the processor 81 can perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 82 or the computer program loaded from the storage unit 88 into the Random Access Memory (RAM) 83. In the RAM 83, various programs and data required for the operation of the electronic device 80 can also be stored. The processor 81, the ROM 82 and the RAM 83 are connected to each other via a bus 84. An input/output (I/O) interface 85 is also connected to bus 84.
Various components in the electronic device 80 are connected to the I/O interface 85, including: an input unit 86 such as a keyboard, mouse, etc.; an output unit 87 such as various types of displays, speakers, and the like; a storage unit 88 such as a magnetic disk, an optical disk, or the like; and a communication unit 89, such as a network card, modem, wireless communication transceiver, etc. The communication unit 89 allows the electronic device 80 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks.
Processor 81 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 81 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 81 performs the respective methods and processes described above, such as the wrinkle size analysis method.
In some embodiments, the wrinkle size analysis method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 88. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 80 via the ROM 82 and/or the communication unit 89. When the computer program is loaded into RAM 83 and executed by processor 81, one or more steps of the wrinkle size analysis method described above may be performed. Alternatively, in other embodiments, processor 81 may be configured to perform the wrinkle size analysis method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (11)

1. A method of analyzing a wrinkle size, comprising:
displaying a graph, wherein the graph comprises a wrinkle curve;
Displaying a first punctuation and a second punctuation in the chart in response to a punctuation selection operation, wherein the punctuation selection operation is triggered by a user selecting the first punctuation and the second punctuation to be analyzed from the wrinkle curve;
determining a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation;
displaying the third punctuation and the fourth punctuation in the graph;
Monitoring a mobile mouse event, and determining a dragging line according to a mouse position, wherein the dragging line comprises a first dragging line, a second dragging line and a third dragging line, the first dragging line is determined according to the first punctuation and the mouse position, the second dragging line is determined according to the second punctuation and the mouse position, and the third dragging line is determined according to the first punctuation, the second punctuation and the mouse position;
Displaying the dragging line;
receiving a line selection operation, wherein the line selection operation is triggered after a user selects the third dragging line;
Displaying a size marking, wherein the size marking is drawn according to the position of the dragging line, and the size marking comprises three markings and is used for representing the wrinkle width or the wrinkle depth between the first marking point and the second marking point;
the determining a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation includes:
Determining coordinates of the third punctuation according to the ordinate of the first punctuation and the abscissa of the second punctuation;
determining coordinates of the fourth punctuation according to the abscissa of the first punctuation and the ordinate of the second punctuation;
the determining the dragging line according to the mouse position comprises the following steps:
Judging a region where the mouse is positioned according to the position of the mouse, wherein the region comprises an upper region, a lower region, a left region and a right region, and the region is divided according to the first punctuation, the second punctuation, the third punctuation and the fourth punctuation;
determining a third dragging line according to the region where the mouse is located and the position of the mouse, and determining a first dragging line and a second dragging line based on the third dragging line;
The dividing step of the region comprises the following steps:
determining a first linear equation according to the coordinates of the first punctuation and the second punctuation;
Determining a second linear equation according to the coordinates of the third punctuation and the fourth punctuation;
And dividing the chart into an upper area, a lower area, a left area and a right area based on the straight line corresponding to the first straight line equation and the straight line corresponding to the second straight line equation.
2. The method of claim 1, further comprising, prior to displaying the chart:
obtaining wrinkle coordinate data;
Initializing a chart according to a predetermined chart size;
and drawing a wrinkle curve in the chart according to the wrinkle coordinate data.
3. The method of claim 1, wherein the determining a third drag line according to the area where the mouse is located and the mouse position, and determining the first drag line and the second drag line based on the third drag line, comprises:
When the area where the mouse is positioned is an upper area or a lower area, determining the ordinate of the first endpoint and the second endpoint of the third dragging line according to the position of the mouse;
determining the abscissa of the first punctuation as the abscissa of the first endpoint, and determining the abscissa of the second punctuation as the abscissa of the second endpoint;
Determining a connecting line of the first end point and the second end point as a third dragging line;
determining a connecting line of the first endpoint and the first punctuation as a first dragging line;
and determining a connecting line of the second endpoint and the second punctuation as a second dragging line.
4. The method of claim 3, wherein the determining the ordinate of the first and second endpoints of the third dragging line according to the mouse position comprises:
Determining the ordinate of the mouse according to the position of the mouse;
if the ordinate of the mouse is not in the first non-drawable area and the second non-drawable area and the first boundary area and the second boundary area which are determined in advance, determining the ordinate of the mouse as the ordinate of the first endpoint and the second endpoint;
If the ordinate of the mouse is in the first non-drawable area, determining the ordinate of the first punctuation as the ordinate of the first endpoint and the second endpoint;
If the ordinate of the mouse is in the second non-drawable area, determining the ordinate of the second punctuation as the ordinate of the first endpoint and the second endpoint;
if the ordinate of the mouse is in the first boundary area, determining the ordinate of the boundary corresponding to the first boundary area as the ordinate of the first endpoint and the ordinate of the second endpoint;
if the ordinate of the mouse is in the second boundary area, determining the ordinate of the boundary corresponding to the second boundary area as the ordinate of the first endpoint and the ordinate of the second endpoint;
The first non-renderable area is determined according to the ordinate of the first punctuation, and the second non-renderable area is determined according to the ordinate of the second punctuation.
5. The method of claim 1, wherein the determining a third drag line according to the area where the mouse is located and the mouse position, and determining the first drag line and the second drag line based on the third drag line, comprises:
when the area where the mouse is positioned is a left area or a right area, determining the abscissa of the first endpoint and the second endpoint of the third dragging line according to the position of the mouse;
determining the ordinate of the first punctuation as the ordinate of the first endpoint, and determining the ordinate of the second punctuation as the ordinate of the second endpoint;
Determining a connecting line of the first end point and the second end point as a third dragging line;
determining a connecting line of the first endpoint and the first punctuation as a first dragging line;
and determining a connecting line of the second endpoint and the second punctuation as a second dragging line.
6. The method of claim 5, wherein determining the abscissa of the first and second endpoints of the third dragging line based on the mouse position comprises:
determining the abscissa of the mouse according to the position of the mouse;
if the abscissa of the mouse is not in the predetermined third non-drawable area, fourth non-drawable area and third and fourth boundary areas, determining the abscissa of the mouse as the abscissa of the first and second endpoints;
If the abscissa of the mouse is in the third non-drawable area, determining the abscissa of the first punctuation as the abscissas of the first endpoint and the second endpoint;
If the abscissa of the mouse is in the fourth non-drawable area, determining the abscissa of the second punctuation as the abscissas of the first endpoint and the second endpoint;
If the abscissa of the mouse is in the third boundary area, determining the abscissa of the boundary corresponding to the third boundary area as the abscissas of the first endpoint and the second endpoint;
if the abscissa of the mouse is in a fourth boundary area, determining the boundary abscissa corresponding to the fourth boundary area as the abscissa of the first endpoint and the second endpoint;
Wherein the third non-renderable region is determined from the abscissa of the first punctuation and the fourth non-renderable region is determined from the abscissa of the second punctuation.
7. The method of any of claims 3-6, wherein the first, second, third, and fourth bounding regions are demarcated according to a boundary of the chart, the boundary of the chart being determined according to a size and a boundary ratio of the chart.
8. The method of claim 1, further comprising, prior to said displaying the size line:
Drawing a marking line according to the dragging line;
If the area where the mouse is positioned is an upper area or a lower area, marking the width of the marking corresponding to the third dragging line, wherein the width is the wrinkle width between the first marking point and the second marking point;
If the area where the mouse is positioned is a left area or a right area, marking the depth of the marking corresponding to the third dragging line, wherein the depth is the wrinkle depth between the first marking point and the second marking point;
and forming a size marking line based on each marking line and marking information corresponding to the marking line, wherein the marking information comprises width or depth.
9. A wrinkle size analysis device, comprising:
the chart display module is used for displaying a chart, wherein the chart comprises a wrinkle curve;
The first punctuation display module is used for responding to punctuation selection operation, wherein the punctuation selection operation is triggered by a user selecting a first punctuation to be analyzed and a second punctuation to be analyzed from the wrinkle curve;
The punctuation determining module is used for determining a third punctuation and a fourth punctuation according to the coordinates of the first punctuation and the second punctuation;
the second punctuation display module is used for displaying a first punctuation, a second punctuation, a third punctuation and a fourth punctuation in the chart;
The mouse event monitoring module is used for monitoring a mobile mouse event, determining a dragging line according to a mouse position, wherein the dragging line comprises a first dragging line, a second dragging line and a third dragging line, the first dragging line is determined according to the first punctuation and the mouse position, the second dragging line is determined according to the second punctuation and the mouse position, and the third dragging line is determined according to the first punctuation, the second punctuation and the mouse position;
the dragging line display module is used for displaying the dragging line;
The operation receiving module is used for receiving a line selection operation, wherein the line selection operation is triggered after a user selects the third dragging line;
The size marking display module is used for displaying size markings, the size markings are drawn according to the positions of the dragging lines, and the size markings comprise three markings and are used for representing the wrinkle width or the wrinkle depth between the first mark point and the second mark point;
the punctuation determination module comprises:
A third punctuation determining unit, configured to determine coordinates of the third punctuation according to the ordinate of the first punctuation and the abscissa of the second punctuation;
a fourth punctuation determining unit, configured to determine coordinates of the fourth punctuation according to the abscissa of the first punctuation and the ordinate of the second punctuation;
The mouse event monitoring module comprises:
The area judging unit is used for judging an area where the mouse is located according to the position of the mouse, the area comprises an upper area, a lower area, a left area and a right area, and the area is divided according to the first punctuation, the second punctuation, the third punctuation and the fourth punctuation;
the device comprises a drag line determining unit, a first drag line determining unit and a second drag line determining unit, wherein the drag line determining unit is used for determining a third drag line according to the area where the mouse is located and the position of the mouse, and determining a first drag line and a second drag line based on the third drag line;
The apparatus further comprises:
The first equation determining module is used for determining a first linear equation according to the coordinates of the first punctuation and the second punctuation;
The second equation determining module is used for determining a second linear equation according to the coordinates of the third punctuation and the fourth punctuation;
And the region dividing module is used for dividing the region based on the straight line corresponding to the first straight line equation and the straight line corresponding to the second straight line equation, and dividing the chart into an upper region, a lower region, a left region and a right region.
10. An electronic device, the electronic device comprising:
at least one processor, and a memory communicatively coupled to the at least one processor;
Wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the wrinkle size analysis method according to any one of claims 1-8.
11. A computer readable storage medium, characterized in that the computer readable storage medium stores computer instructions for causing a processor to implement the wrinkle size analysis method according to any one of claims 1-8 when executed.
CN202410077930.0A 2024-01-19 2024-01-19 Wrinkle size analysis method and device, electronic equipment and storage medium Active CN117594202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410077930.0A CN117594202B (en) 2024-01-19 2024-01-19 Wrinkle size analysis method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410077930.0A CN117594202B (en) 2024-01-19 2024-01-19 Wrinkle size analysis method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117594202A CN117594202A (en) 2024-02-23
CN117594202B true CN117594202B (en) 2024-04-19

Family

ID=89920549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410077930.0A Active CN117594202B (en) 2024-01-19 2024-01-19 Wrinkle size analysis method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117594202B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767846A (en) * 2020-06-29 2020-10-13 北京百度网讯科技有限公司 Image recognition method, device, equipment and computer storage medium
CN113470182A (en) * 2021-09-03 2021-10-01 中科计算技术创新研究院 Face geometric feature editing method and deep face remodeling editing method
CN114168052A (en) * 2021-12-09 2022-03-11 深圳市慧鲤科技有限公司 Multi-graph display method, device, equipment and storage medium
CN114596213A (en) * 2020-12-03 2022-06-07 北京新氧科技有限公司 Image processing method and device
CN116522027A (en) * 2023-03-23 2023-08-01 中国人寿保险股份有限公司上海数据中心 Web form data dragging and copying method, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767846A (en) * 2020-06-29 2020-10-13 北京百度网讯科技有限公司 Image recognition method, device, equipment and computer storage medium
CN114596213A (en) * 2020-12-03 2022-06-07 北京新氧科技有限公司 Image processing method and device
CN113470182A (en) * 2021-09-03 2021-10-01 中科计算技术创新研究院 Face geometric feature editing method and deep face remodeling editing method
CN114168052A (en) * 2021-12-09 2022-03-11 深圳市慧鲤科技有限公司 Multi-graph display method, device, equipment and storage medium
CN116522027A (en) * 2023-03-23 2023-08-01 中国人寿保险股份有限公司上海数据中心 Web form data dragging and copying method, equipment and storage medium

Also Published As

Publication number Publication date
CN117594202A (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN109087239B (en) Face image processing method and device and storage medium
WO2022077827A1 (en) Graph drawing method and apparatus, storage medium, and terminal device
TWI671675B (en) Information display method and device
CN113837194B (en) Image processing method, image processing apparatus, electronic device, and storage medium
CN112799583B (en) Point location schematic drawing system based on android platform
CN117594202B (en) Wrinkle size analysis method and device, electronic equipment and storage medium
CN111462269A (en) Image processing method and device, storage medium and electronic equipment
WO2022228211A1 (en) Method and apparatus for constructing visual view
CN115908116A (en) Image processing method, device, equipment and storage medium
CN115630926A (en) Workshop equipment management method, device, equipment and storage medium
CN111367455A (en) Touch screen human-computer interaction accurate positioning and measuring method
US20210035678A1 (en) Visual representation of image analysis output in an alternative visualization of digital pathology images
CN114092556A (en) Method, apparatus, electronic device, medium for determining human body posture
CN113126866A (en) Object determination method and device, electronic equipment and storage medium
CN114327718A (en) Interface display method and device, equipment and medium
CN113190150A (en) Display method, device and storage medium of covering
CN117131300A (en) Content display method, device, equipment and storage medium
CN115237289B (en) Hot zone range determining method, device, equipment and storage medium
CN112507671B (en) Method, apparatus, and readable medium for adjusting text distance
CN113986112B (en) Soft keyboard display method, related device and computer program product
CN110727383B (en) Touch interaction method and device based on small program, electronic equipment and storage medium
CN113377380B (en) User interface component deployment method and device
CN114897963A (en) Particle parameter extraction method, system and storage medium
CN115858891A (en) Visual display method and device of data, electronic equipment and storage medium
CN112529988A (en) Head portrait generation method and device, electronic equipment, medium and product

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