WO2021218934A1 - 图形选中方法、装置及电子设备、存储介质及计算机程序 - Google Patents
图形选中方法、装置及电子设备、存储介质及计算机程序 Download PDFInfo
- Publication number
- WO2021218934A1 WO2021218934A1 PCT/CN2021/090027 CN2021090027W WO2021218934A1 WO 2021218934 A1 WO2021218934 A1 WO 2021218934A1 CN 2021090027 W CN2021090027 W CN 2021090027W WO 2021218934 A1 WO2021218934 A1 WO 2021218934A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- graphic
- candidate
- weight
- graphics
- target
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04845—Interaction 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
Definitions
- This application relates to the field of image processing, and in particular to a graphic selection method, device, electronic equipment, storage medium and computer program.
- Existing electronic devices usually provide users with an interactive display interface.
- the display interface can display graphics for the user.
- the user can select graphics in the display interface through mouse or touch operations, and the electronic device can determine the graphics selected by the user. And to show the user the graphics selected by the user.
- the present application provides a graphic selection method, device, and electronic device, which are used to determine the graphic selected by the user in the display interface.
- a graphic selection method includes: determining a trigger position corresponding to a trigger event for triggering graphic selection; determining at least one corresponding candidate graphic according to the trigger position; determining at least one The selection weight of the candidate graphics, and the target graphics are selected according to the determined selection weight of the candidate graphics.
- a graphic selection device the device includes: a first determining unit for determining a trigger position corresponding to a trigger event used to trigger graphic selection; a second determining unit for determining The trigger position determines the corresponding at least one candidate graphic; the selection unit is used to determine the selection weight of the at least one candidate graphic, and select the target graphic according to the determined selection weight of the candidate graphic.
- an electronic device including a readable storage medium and a processor.
- the readable storage medium is used to store machine executable instructions.
- the processor is configured to read the machine executable instructions on the readable storage medium, and execute the instructions to: determine the trigger position corresponding to the trigger event used to trigger the graphic selection; and according to the trigger position Determine the corresponding at least one candidate graphic; determine the selection weight of the at least one candidate graphic, and select the target graphic according to the determined selection weight of the candidate graphic.
- a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned graphics selection method is implemented.
- a computer program is provided, the computer program is stored in a machine-readable storage medium, and when the processor executes the computer program, the processor is prompted to implement the above-mentioned graphics selection method.
- the electronic device calculates the selection weight of the candidate graphics corresponding to the trigger position, and determines the graphics required by the user based on the selection weight of the candidate graphics, the automatic selection of the graphics can be realized.
- Fig. 1 is a flowchart of a method for selecting graphics according to an exemplary embodiment of the present application
- Fig. 2 is a schematic diagram of a display interface shown in an exemplary embodiment of the present application.
- Fig. 3 is a schematic diagram of another display interface shown in an exemplary embodiment of the present application.
- FIG. 4 is a flowchart of another method for selecting graphics according to an exemplary embodiment of the present application.
- Fig. 5a is a schematic diagram of another display interface shown in an exemplary embodiment of the present application.
- Fig. 5b is a schematic diagram of another display interface shown in an exemplary embodiment of the present application.
- Fig. 6 is a hardware structure diagram of an electronic device according to an exemplary embodiment of the present application.
- Fig. 7 is a block diagram of a device for selecting graphics according to an exemplary embodiment of the present application.
- first, second, third, etc. may be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
- first information may also be referred to as second information, and similarly, the second information may also be referred to as first information.
- word “if” as used herein can be interpreted as "when” or “when” or "in response to determination”.
- an electronic device when an electronic device detects a trigger event for triggering graphics selection, it usually presents the graphics at the trigger position corresponding to the trigger event to the user in turn, and the user confirms the displayed graphics Whether it is the graphic selected by the user.
- the user draws three overlapping graphics on a drawing software (such as a drawing board), namely a square, a triangle, and a circle.
- a drawing software such as a drawing board
- the user wants to select a circle for the next operation.
- the user will initiate a trigger event for triggering the selection of graphics.
- the electronic device where the drawing software is located will present the squares to the user in turn, and let the user confirm whether the square is the figure that the user wants to select, then present the triangle to the user, and let the user confirm whether the triangle is The graphic that the user wants to select.
- the circle is presented to the user, and the user is asked to confirm whether the circle is the graphic that the user wants to select.
- This kind of graph selection method requires user participation, which reduces the efficiency of graph selection while inconvenient for user operations.
- the purpose of this application is to propose a graphic selection method, which can improve the efficiency of determining the selected graphic.
- the electronic device selects at least one corresponding candidate graphic from the display interface according to a trigger event for triggering graphic selection. Then, the electronic device may determine the selection weight of at least one candidate graphic, and select at least one as the target graphic according to the selection weight of the candidate graphic. The selection weight is calculated by the electronic device based on the graphic type and/or position of the candidate graphic, and expresses the predicted probability that the candidate graphic is the graphic required by the user. The specific calculation method will be described in detail below.
- the electronic device calculates the selected weight of at least one candidate graphic corresponding to the trigger event, and determines the graphic required by the user based on the selected weight of the candidate graphic, the graphic selection can be realized.
- the electronic device can automatically select graphics based on trigger events, which can effectively reduce user participation, thereby greatly improving the efficiency of graphics selection and facilitating user operations.
- Fig. 1 is a flowchart of a graphic selection method shown in an exemplary embodiment of the present application. The method can be applied to an electronic device and may include the following steps.
- electronic equipment may include: computers, user terminals, servers and other electronic equipment.
- the electronic device is not specifically limited here.
- the user terminal may include: terminal devices used by users such as mobile phones, IPADs, and notebooks, and the user terminals are not specifically limited here.
- Step 101 The electronic device determines the trigger position corresponding to the trigger event used to trigger the graphic selection.
- Step 102 The electronic device determines at least one corresponding candidate graphic according to the trigger position.
- Step 103 The electronic device determines the selection weight of at least one candidate graphic, and selects the target graphic according to the determined selection weight of the candidate graphic.
- the electronic device calculates the selected weight of the candidate graphic corresponding to the trigger position, and determines the graphic required by the user based on the selected weight of the candidate graphic, the graphic selection can be realized.
- the electronic device can automatically select graphics based on trigger events, which can effectively reduce user participation, thereby greatly improving the efficiency of graphics selection and facilitating user operations.
- step 101 the electronic device determines the trigger position corresponding to the trigger event used to trigger the graphic selection.
- the user when the user needs to select a graphic on the display interface, the user usually clicks on the graphic on the display interface through operations such as mouse or touch.
- the electronic device After the electronic device detects the user's click operation, the electronic device can obtain the trigger event corresponding to the click operation.
- the electronic device may generate a trigger event corresponding to the click operation, or the user's click operation is the trigger event, the electronic device may obtain the trigger event input by the user.
- the way of generating the trigger event is exemplified, and it is not specifically limited.
- the electronic device can select at least one corresponding candidate graphic from the display interface according to the trigger event.
- the trigger event when selecting, often carries indication information for indicating the trigger position (for example, the coordinates of the trigger position on the display interface, etc.).
- the electronic device may determine the trigger position corresponding to the trigger event on the display interface according to the instruction information, and select at least one candidate graphic from all the graphics displayed on the display interface according to the trigger position.
- the trigger position refers to the position where the user operates on the display screen by clicking, touching, etc., for example, after the user clicks a position on the screen after triggering the graphic selection function, the clicked position is the trigger position.
- the trigger position is only exemplified, and the trigger position is not specifically limited.
- step 102 the electronic device determines at least one corresponding candidate graphic according to the trigger position.
- the electronic device can select at least one candidate graphic from all the graphics displayed on the display interface according to the trigger position, Then select the target graphics required by the user from the candidate graphics.
- the electronic device may select at least one candidate graphic at the trigger position from all the graphics displayed on the display interface.
- the electronic device determines that the closed figure is a candidate figure when the trigger position satisfies any one of the inside of the closed figure, on the line, or on the end point . And/or, for a non-closed graphic on the display interface, when the trigger position satisfies the line or end of the non-closed graphic, it is determined that the non-closed graphic is a candidate graphic.
- the electronic device if the electronic device only supports the drawing of closed graphics, the electronic device targets the graphics on the display interface, and if the trigger position satisfies the inside, line or end of the closed graphics In any of the cases, the closed figure is determined to be a candidate figure.
- the electronic device In the second method for determining candidate graphics, if the electronic device only supports drawing of non-closed graphics, the electronic device focuses on the graphics on the display interface, and if the trigger position satisfies the condition of being on the line or end of the non-closed graphics Next, determine that the unclosed graphic is a candidate graphic.
- the electronic device targets the graphics on the display interface. If the graphics is a closed graphics, the trigger position is determined If it satisfies any of the conditions inside, on the line or on the end of the closed figure, the closed figure is determined to be a candidate figure; if the figure is a non-closed figure, the trigger position is determined to be in the unclosed figure In the case of the line or the end point of, the unclosed figure is determined to be a candidate figure.
- the third method for determining candidate graphics is described below through specific examples.
- the display interface currently includes: polylines, triangles, and rectangles. Assume that the trigger position is indicated by the arrow on circle 2 as shown in the figure.
- the electronic device can determine whether the figure is a closed figure. In this example, since the rectangle is a closed figure, the electronic device can detect whether the trigger position is at the vertex, line, or inside of the rectangle. In this example, since the trigger position is neither in the vertices or lines of the rectangle nor in the inner area of the rectangle, the trigger position is not in the rectangle, so the electronic device does not use the rectangle as a candidate graphic.
- the electronic device can determine whether the graphic is a closed graphic.
- the electronic device can detect whether the trigger position is on the line of the polyline or the vertex of the polyline.
- the electronic device since the trigger position is on the line of the polyline, it is determined that the trigger position is on the polyline, so the electronic device can determine the polyline as the candidate graphic.
- the electronic device can determine whether the figure is a closed figure. In this example, since the triangle is a closed figure, the electronic device can detect whether the trigger position is at the vertex, line, or inside of the triangle. In this example, since the trigger position is in the inner area of the triangle, it is determined that the trigger position is on the triangle, so the electronic device can determine the triangle as a candidate graphic.
- step 102 The above is the description of step 102.
- step 103 the electronic device determines the selection weight of at least one candidate graphic, and selects the target graphic according to the determined selection weight of the candidate graphic.
- the electronic device may determine the selection weight of each candidate graphic, determine at least one candidate graphic as the target graphic according to the selection weight of each candidate graphic, and select the target graphic.
- the electronic device selects the candidate graphics with the largest weight, and selects a candidate graphics as the target graphics according to the creation time of the candidate graphics with the largest weight and/or the area of the candidate graphics.
- the target graphic is the graphic required by the user.
- the electronic device may directly use the candidate graphic with the largest weight as the target graphic.
- the electronic device can determine the target graphics in the following manner.
- Method 1 According to the user’s operating habits, the graphic created later by the user may be the easiest graphic for the user to select. Therefore, when there are multiple candidate graphics with the largest weight, the electronic device can select the candidate with the largest weight from the selected one. Select a candidate graphic whose creation time is closest to the current time as the target graphic.
- the electronic device can select a candidate graphic whose creation time is closest to the current time from the selected candidate graphics with the highest selected weight as the target graphic.
- the electronic device After each graphic is created, the electronic device will assign a graphic ID to the graphic in an incremental manner. In other words, the graphic ID of the graphic created earlier is smaller, and the graphic ID of the graphic created later is larger.
- the electronic device may select the graphic with the largest graphic ID as the target graphic.
- the electronic device every time the electronic device creates a graph, it records the creation time of the graph. Then, the electronic device may use the graph whose creation time is closest to the current moment as the target graph.
- the first method can be adopted in any case where the electronic device only supports drawing of non-closed graphics, only drawing of closed graphics, and supports drawing of both non-closed graphics and closed graphics.
- the electronic device only supports drawing of non-closed graphics, only drawing of closed graphics, and supports drawing of both non-closed graphics and closed graphics.
- Method 2 According to user habits, when the trigger position is on multiple graphs, the smaller the area is, the easier the graph can be selected by the user, and the graph created later by the user may be the easiest graph for the user to select, so it should be weighted
- the electronic device may refer to the area of the candidate graphics and the creation time of the candidate graphics to determine the target graphics.
- the types of graphics may include: triangles, circles, rectangles, rectangles, and so on.
- the types of graphics are only exemplified and are not specifically limited.
- the electronic device can select the candidate graphics with the smallest area as the target graphics. For example, assuming that there are 2 candidate graphics with the largest weight selected, rectangle 1 and rectangle 2, the area of rectangle 1 is 100 and the area of rectangle 2 is 80, then the electronic device can select rectangle 2 as the target graphic.
- the candidate graphics with the largest weight are not the same type of closed graphics, then among the selected candidate graphics with the largest weight, the candidate graphics whose creation time is closest to the current time is selected as the target graphics.
- the electronic device may select the candidate graph whose creation time is closest to the current time among the candidate graphs with the highest selected weight as the target graph.
- the second method can be adopted in any case where the electronic device only supports drawing of non-closed graphics, only drawing of closed graphics, and supports drawing of both non-closed graphics and closed graphics.
- the applicable scenario of the second method is exemplified, and it is not specifically limited.
- Manner 3 According to user habits, when the trigger position is on multiple graphics, the graphics with the smaller area are the graphics that are easier for the user to select, so the electronic device can determine the target graphics according to the area of the candidate graphics.
- the types of graphics may include: triangles, circles, rectangles, rectangles, and so on.
- the types of graphics are only exemplified and are not specifically limited.
- the electronic device can select the candidate graphics with the smallest area as the target graphics.
- the third method can be used in any case where the electronic device only supports drawing of non-closed graphics, only drawing of closed graphics, and supports drawing of both non-closed graphics and closed graphics.
- the electronic device only supports drawing of non-closed graphics, only drawing of closed graphics, and supports drawing of both non-closed graphics and closed graphics.
- the electronic device determines the target graphics when there are multiple candidate graphics with the largest weight.
- the electronic device can also use other methods to determine the target graphics, which will not be performed here. Specifically defined.
- step 103 The second implementation of step 103:
- the electronic device can also determine the selected weight of any candidate graphic, and if the selected weight of the candidate graphic satisfies the preset weight condition, the candidate graphic is taken as the target graphic, and the target graphic is selected.
- the electronic device may also obtain another candidate graphic for which the selected weight is determined, and determine the selected weight of the obtained candidate graphic, if the candidate graphic If the selected weight of satisfies the preset weight condition, the candidate graph is used as the target graph. And so on, until the target graphic is selected.
- the preset weight condition may include: the selection weight is greater than or equal to a preset threshold, and so on.
- the preset weight condition is merely exemplified, and it is not specifically limited.
- step 103 The following describes the method of "determining the selected weight of at least one candidate graphic" in step 103:
- the user when selecting a graphic, the user’s usual operating habit is to place the trigger position of the operation as close as possible to the edge or end of the graphic to be selected, and the properties of different types of graphics (such as graphics The type of the graph, etc.) are different, so the relative positional relationship between the trigger position and the graph, and/or the graph type can affect the selected weight of the graph.
- graphics such as graphics The type of the graph, etc.
- the positional relationship between the trigger position and the graphic, and/or the graphic type can be used as reference information, and the selection weight of the graphic can be determined according to the reference information. Since the reference information of the graphic selection weight is related to the user's operating habits and the nature of the graphic itself, the accuracy of the target graphic required by the user determined by this reference information is higher.
- the electronic device determines the selection weight of the candidate graphic according to the graphic weight and/or the position weight of the candidate graphic for any candidate graphic.
- the graphic weight is determined according to the graphic type of the candidate graphic.
- the position weight is determined according to the position relationship between the candidate graphic and the trigger position.
- the first method the electronic device can determine the selected weight of the candidate graphic only according to the graphic weight of the candidate graphic.
- the electronic device can directly use the graphic weight of the candidate graphic as the selected weight of the candidate graphic.
- the electronic device may also process the graphic weight of the candidate graphic to obtain the selected weight of the candidate graphic. For example, the electronic device may multiply the graphic weight of the candidate graphic by a preset coefficient to obtain the selected weight of the candidate graphic, or the electronic device may add the graphic weight of the candidate graphic to a preset constant value to obtain the selected weight of the candidate graphic. There is no specific limitation here.
- the second way the electronic device can determine the selection weight of the candidate graphic only according to the position weight of the candidate graphic.
- the electronic device can directly use the position weight of the candidate graphic as the selected weight of the candidate graphic.
- the electronic device can also process the position weights of the candidate graphics to obtain the selected weights of the candidate graphics. For example, the electronic device may multiply the position weight of the candidate graphic by a preset coefficient to obtain the selection weight of the candidate graphic, or the electronic device may add the position weight of the candidate graphic to a preset constant value to obtain the selection weight of the candidate graphic. There is no specific limitation here.
- the third method the electronic device can determine the selected weight of the candidate graphic only according to the graphic weight and the position weight of the candidate graphic.
- the electronic device may add the graphic weight and the position weight to determine the selection weight.
- the electronic device may perform a summation and average operation on the graphic weight and the position weight to obtain the selected weight.
- “based on the graphic weight and the determined position weight, determine the selection weight of the candidate graphic” is only exemplified, and it is not specifically limited.
- the corresponding relationship between the graphic type and the graphic weight is pre-configured.
- the corresponding relationship between the graph type and the graph weight is shown in Table 1.
- the corresponding relationship between the preset graphic type and graphic weight can be pre-configured by the developer. Because in practical applications, if the user wants to select a point or line, the user’s usual operating habit is to place the trigger position of the operation as close as possible to the point or line he wants to select. When selecting a closed graphic, the user’s usual habit is to The trigger position is placed on or inside the closed graph. Therefore, according to the user's operating habit of selecting graphics, during the pre-configuration, the developer can configure the graphic weight of the point to be the highest based on the user's operating habit, the graphic weight of the line to be the second highest, and the graphic weight of the closed graphic to be the lowest.
- the preset graphic weight is related to the user's operating habits, and the accuracy of graphic selection can be improved.
- the electronic device can also automatically configure graphic weights for various types of graphics, or automatically update the graphic weights of various types of graphics. For example, the electronic device establishes or updates the corresponding relationship between the graphic type and the graphic weight according to the user's historical graphic selection habits.
- the electronic device may periodically count the number of times of various types of graphics selected by the user in the current period, and then determine the corresponding relationship between the type of graphics and the weight of the graphics according to the number of times of each type of graphics. For example, a graph type with a larger number of statistics has a larger graph weight, and a graph type with a smaller number of statistics has a smaller graph weight.
- the generation process of the corresponding relationship between the graph type and the graph weight is only exemplified, and it is not specifically limited.
- the electronic device when determining the graphic weight of the candidate graphic according to the graphic type of the candidate graphic, may determine the graphic type of the candidate graphic in the correspondence between the preset graphic type and the graphic weight The corresponding graphic weight.
- the corresponding relationship between the candidate graphics and the trigger position may include: the trigger position is on the line of the candidate graphic, the trigger position is on the end point of the candidate graphic, and the trigger position is within the graphic area of the candidate graphic.
- the positional relationship between the candidate graphics and the trigger position is only exemplified here. In practical applications, other positional relationships may also be included, and the positional relationship is not specifically limited here.
- the lines of the graph may include: if the graph is a non-closed graph, the lines of the graph may be a line on the non-closed graph.
- a non-closed graphic is a polyline
- the line is a polyline forming the non-closed graphic.
- the unclosed figure is a curve
- the line is a curve forming the unclosed figure.
- the lines of the figure are the sides of the closed figure.
- different position relationships correspond to different ways of determining position weights.
- the corresponding relationship between the graph and the position weight is pre-configured.
- the corresponding relationship between the graph and the position weight is shown in Table 2.
- the user when selecting a graphic, the user prefers to set the trigger position on the end point of the graphic that the user wants to select, rather than placing the trigger position on the line of the graphic. Therefore, based on this habit, the developer can set the position weight corresponding to the endpoint to be larger, and the position weight corresponding to the line to be smaller.
- the electronic device can periodically count the user's historical graph selection habits, and periodically establish or update the corresponding relationship between the graph and the position weight.
- the electronic device can periodically count the number of times the trigger position of the user operation is on the graphic end point required by the user (the first number) and the number of times the trigger position of the user operation is on the graphic line required by the user during this period.
- the electronic device when the positional relationship is used to indicate that the trigger position is on the line of the candidate graphic, the electronic device can determine that the line of the candidate graphic corresponds to the preset corresponding relationship between the graphic and the position weight The position weight of is used as the position weight of the candidate graphics.
- the electronic device determines the position weight corresponding to the point in the preset correspondence relationship between the graph and the position weight as the position weight of the candidate graph.
- the electronic device can determine the position weight of the candidate graphic in the following manner:
- the electronic device can calculate the shortest linear distance from the trigger position to the target edge of the candidate graphic, where the target edge is the edge of the candidate graphic that is closest to the trigger position.
- the electronic device can determine the position weight of the candidate graphic according to the graphic weight and the determined shortest straight line distance.
- the electronic device can determine the position weight of the graphic according to the following formula.
- S is the position weight of the candidate graph
- P is the graph weight of the candidate graph
- L is the shortest linear distance from the trigger position to the target edge of the candidate graph.
- the electronic device can also use other calculation methods to "determine the position weight of the candidate graphic based on the graphic weight and the determined shortest straight line distance", as long as it is satisfied that the calculated shortest straight line distance is smaller,
- the trigger position is the position indicated by the arrow in FIG. 3
- the candidate graphic is the rectangle in FIG. 3
- the trigger position is in the inner area of the rectangle.
- the weight of the graph corresponding to the rectangle is 100.
- the trigger position is closest to side a of the rectangle, so side a of the rectangle is the target side.
- the electronic device can calculate the shortest linear distance between the trigger position and the a side of the rectangle (assumed to be 100).
- the electronic device calculates the selection weight of at least one candidate graphic corresponding to the trigger event, and determines the graphic required by the user based on the selection weight of the candidate graphic, the graphic selection can be achieved .
- the electronic device can automatically select graphics based on trigger events, which can effectively reduce user participation, thereby greatly improving the efficiency of graphics selection and facilitating user operations.
- the graphic type related to the user's operating habits and the positional relationship between the trigger position and the graphic are combined, so the determined selected weight is closer to the user's operating habits. The selected weights are more accurate.
- the electronic device may also determine the selected weight of at least one candidate graphic according to the above-mentioned determining method of the selected graphic after determining the candidate graphic of the display interface, and set the selected weight of the non-candidate graphic to 0. Then, the electronic device can select the target graphics according to the selection weights of the candidate graphics and the non-candidate graphics.
- the electronic device can select the graph with the largest weight as the target graph among candidate graphs and non-candidate graphs. There is no specific limitation here.
- the electronic device may also reset the selection weight of the candidate graphics to 0 after determining the target graphics.
- FIG. 4 is a flowchart of another method for selecting graphics according to an exemplary embodiment of the present application. This method can be applied to electronic equipment and can include the steps shown below.
- Step 401 The electronic device determines the trigger position corresponding to the trigger event used to trigger the graphic selection.
- step 101 For details, refer to step 101, which will not be repeated here.
- Step 402 The electronic device determines at least one corresponding candidate graphic according to the trigger position.
- step 102 For details, refer to step 102, which will not be repeated here.
- Step 403 For each candidate graphic, the electronic device determines the selection weight of the candidate graphic according to the graphic weight and position weight of the candidate graphic. Wherein, the graphic weight is determined according to the graphic type of the candidate graphic; the position weight is determined according to the positional relationship between the candidate graphic and the trigger position.
- the electronic device may determine the graphic weight corresponding to the graphic type of the candidate graphic in the preset correspondence between the graphic type and the graphic weight.
- the electronic device can determine the position of the candidate graphic in the preset correspondence relationship between the graphic and the position weight.
- the position weight corresponding to the line is used as the position weight of the candidate graphics.
- the electronic device determines the position weight corresponding to the point in the preset corresponding relationship between the graphic and the position weight as the position weight of the candidate graphic.
- the electronic device can calculate the shortest linear distance from the trigger position to the target edge of the candidate graphic, where the target edge is the shortest in the candidate graphic.
- the edge close to the trigger position, and the position weight of the candidate graphic can be determined according to the graphic weight and the determined shortest straight line distance.
- Step 404 The electronic device selects the target graphic according to the selected weight of each candidate graphic.
- the electronic device can directly use the candidate graphic with the largest weight as the target graphic.
- the electronic device may select a candidate graphics whose creation time is closest to the current time from the selected candidate graphics with the largest selected weight as the target graphics.
- the electronic device determines whether the selected candidate graphics with the largest weight are all closed graphics of the same type; if the candidate graphics with the largest selected weight are all closed graphics of the same type, then Among the candidate graphics with the largest weight, the candidate graphics with the smallest area is selected as the target graphics. If the selected candidate graphs with the largest weight are not all closed graphs of the same type, among the candidate graphs with the largest selected weight, a candidate graph whose creation time is closest to the current time is selected as the target graph.
- the interface of the electronic device includes three graphics, namely a triangle, a small rectangle and a large rectangle, and the trigger position is assumed to be as shown by the circle in FIG. 5a.
- the electronic device can determine candidate graphics from the graphics displayed on the display interface.
- the determined candidate graphics are the triangle, the small rectangle, and the large rectangle.
- the electronic device can determine the graphic weight of the triangle (that is, 100) in the correspondence relationship shown in Table 4.
- the electronic device can also determine the selection weight of the triangle according to the position relationship between the trigger position and the triangle, and the graphic weight.
- the trigger position is within the inner area of the triangle, and the electronic device can calculate the shortest linear distance (that is, 10) from the trigger position to the side of the triangle closest to the trigger position (that is, side 501). Then, the electronic device can calculate the ratio (that is, 10) of the graphic weight of the triangle (that is, 100) and the shortest straight line distance (that is, 10). Then, the electronic device can calculate the sum of the ratio and the graphic weight of the triangle (that is, 100) (that is, 110), as the selected weight of the triangle (that is, 110).
- the electronic device can determine the graphic weight of the small rectangle (that is, 100) in the corresponding relationship shown in Table 4.
- the electronic device can also determine the selection weight of the triangle according to the position relationship between the trigger position and the small rectangle, and the graphic weight.
- the trigger position is within the inner area of the small rectangle, and the electronic device can calculate the shortest linear distance (ie, 80) from the trigger position to the side of the small rectangle closest to the trigger position (ie, side 502). Then, the electronic device can calculate the ratio (ie 1.25) of the figure weight of the small rectangle (ie 100) and the shortest straight line distance (ie 80), and calculate the ratio (ie 1.25) and the figure weight of the small rectangle (ie 100) The sum (that is, 101.25) is used as the selection weight of the small rectangle (that is, 101.25).
- the electronic device can determine the graphic weight of the large rectangle (that is, 100) in the corresponding relationship shown in Table 4.
- the electronic device can also determine the selection weight of the large rectangle according to the position relationship between the trigger position and the large rectangle, and the graphic weight.
- the trigger position is within the inner area of the large rectangle
- the electronic device can calculate the shortest linear distance (ie, 100) from the trigger position to the side of the large rectangle closest to the trigger position (ie, side 503).
- the electronic device can calculate the ratio (that is, 1) of the graphic weight of the large rectangle (that is, 100) and the shortest straight line distance (that is, 100), and calculate the graphic weight of the large rectangle (that is, 100), and the ratio (that is, 1).
- the sum of) (that is, 101) is used as the selection weight of the large rectangle (that is, 101).
- the electronic device can select the candidate graphics with the largest weight as the target graphics.
- the selection weight of the triangle is 110
- the selection weight of the small rectangle is 101.25
- the selection weight of the large rectangle is 101, so the electronic device selects the triangle as the target graphic.
- the interface of the electronic device includes three graphics, namely a triangle, a small rectangle and a large rectangle.
- the trigger position is shown as the dot in FIG. 5b.
- the electronic device can determine candidate graphics from the graphics displayed on the display interface.
- the trigger position is not inside the triangle, nor on the end points and lines of the triangle, so the electronic device determines that the triangle is not a candidate figure.
- the electronic device determines that the small rectangle is not a candidate graphic.
- the trigger is on the lines of the large rectangle. Therefore, the electronic device can determine the large rectangle as a candidate pattern.
- the electronic device can determine the selection weight of the large rectangle.
- the electronic device can determine the graphic weight of the large rectangle (that is, 100) in the corresponding relationship shown in Table 4.
- the electronic device can also determine the selection weight of the large rectangle according to the position relationship between the trigger position and the large rectangle, and the graphic weight.
- the trigger position is on the line of the large rectangle
- the electronic device can find the position weight corresponding to the side of the rectangle (that is, 100) in the correspondence relationship shown in Table 5. Then, the electronic device can calculate the graphic weight of the large rectangle (that is, 100), and the sum of the position weight (that is, 100) (that is, 200), as the selection weight of the large rectangle (that is, 200).
- the electronic device can select the candidate graphic with the largest weight as the target graphic.
- the electronic device selects the large rectangle as the target graphic.
- the present application also provides an electronic device, which may include a readable storage medium and a processor.
- the readable storage medium is used to store machine executable instructions.
- the processor is configured to read the machine-executable instructions on the readable storage medium, and execute the instructions to implement the steps of the above-mentioned graphic selection method.
- the electronic device may also include a communication interface 601 and a bus 604.
- the communication interface 601, the processor 602, and the machine-readable storage medium 603 communicate with each other through the bus 604.
- the processor 602 can execute the graphic selection method described above by reading and executing the machine executable instructions corresponding to the graphic selection control logic in the machine-readable storage medium 603.
- FIG. 7 is a block diagram of a device for selecting graphics according to an exemplary embodiment of the present application.
- the device can be applied to electronic equipment and can include the following units.
- the first determining unit 701 is configured to determine the trigger position corresponding to the trigger event used to trigger the graphic selection.
- the second determining unit 702 is configured to determine at least one corresponding candidate graphic according to the trigger position.
- the selection unit 703 is configured to determine the selection weight of at least one candidate graphic, and select the target graphic according to the determined selection weight of the candidate graphic.
- the second determining unit 702 when determining the corresponding at least one candidate graphic according to the trigger position, is configured to target a closed graphic, and when the trigger position satisfies the requirement of being inside or on a line of the closed graphic Or in the case of any one of the endpoints, the closed figure is determined to be a candidate figure; and/or for a non-closed figure, in the case that the trigger position satisfies the line or the end of the non-closed figure, It is determined that the non-closed graphic is a candidate graphic.
- the selection unit 703, when determining the selection weight of at least one candidate graphic is configured to determine the selection weight of the candidate graphic according to the graphic weight and/or position weight of the candidate graphic for any candidate graphic; Wherein, the graphic weight is determined according to the graphic type of the candidate graphic; the position weight is determined according to the positional relationship between the candidate graphic and the trigger position.
- the selection unit 703 determines the selection weight of at least one candidate graphic and determines the selection weight of each candidate graphic according to the determined selection weight of the candidate graphic when selecting the target graphic.
- the selection weight of the candidate graphics determine at least one candidate graphics as the target graphics, and select the target graphics; or, determine the selection weight of any candidate graphics, if the selection weight of the candidate graphics meets the preset weight condition, then The candidate graphic is used as the target graphic, and the target graphic is selected.
- the selection unit when determining the selection weight of at least one candidate graphic, is further configured to determine the position weight for any candidate graphic in the following manner: the position relationship is used to indicate that the trigger position is at In the case of the line of the candidate graphic, in the preset corresponding relationship between the graphic and the position weight, the position weight corresponding to the line of the candidate graphic is determined to be the position weight of the candidate graphic; or, the position relationship is used to indicate In the case that the trigger position is at the end point of the candidate graphic, in the preset correspondence between the graphic and the position weight, the position weight corresponding to the end point of the candidate graphic is determined to be the position weight of the candidate graphic; or, when the position is The relationship is used to indicate that when the trigger position is within the graphic area of the candidate graphic, the shortest linear distance from the trigger position to the target edge of the candidate graphic is calculated; wherein, the target edge is the closest to the candidate graphic The edge of the trigger position; according to the graphic weight and the determined shortest straight line distance, the position weight corresponding to the candidate graphic is
- the selection unit 703 when there are multiple candidate graphics with the largest weight, select the candidate graphics with the largest weight according to the creation time of the candidate graphics with the largest weight and/or the area of the candidate graphics, When selecting a candidate graphic as the target graphic, it is specifically used to select the candidate graphic whose creation time is closest to the current time as the target graphic; or, if the candidate graphic with the largest selected weight is a closed graphic of the same type, the one with the smallest area is selected Candidate graphics as the target graphics; if the selected candidate graphics with the largest weight is not the same type of closed graphics or contains non-closed graphics, then the candidate with the creation time closest to the current time is selected as the target graphics; or, if the selected candidate has the largest weight If the candidate graphs are all closed graphs, the candidate graph with the smallest area is selected as the target graph; if the candidate graphs with the largest weight are not all closed graphs, the candidate graph whose creation time is closest to the current time is selected as the target graph.
- Target graphics when there are multiple candidate graphics with the largest
- the present application also provides a machine-readable storage medium in which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned graphics selection method is implemented.
- the machine-readable storage medium mentioned herein can be any electronic, magnetic, optical or other physical storage device, and can contain or store information, such as executable instructions, data, and so on.
- the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media.
- the machine-readable storage medium may be RAM (Radom Access Memory), flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as optical disk, DVD, etc.), or the like Storage media, or a combination of them.
- this application also provides a computer program, the computer program is stored in a machine-readable storage medium, and when the processor executes the computer program, the processor is prompted to implement the above-mentioned graphics selection method.
- the relevant part can refer to the part of the description of the method embodiment.
- the device embodiments described above are merely illustrative.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units.
- Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present application. Those of ordinary skill in the art can understand and implement without creative work.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
本申请提供一种图形选中方法、装置、电子设备、存储介质及计算机程序,可包括:确定用于触发图形选择的触发事件对应的触发位置;依据所述触发位置确定对应的至少一个候选图形;确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。使用本申请提供的方法,可以在显示界面中确定出用户选中的图形。
Description
本申请涉及图像处理领域,尤其涉及一种图形选中方法、装置、电子设备、存储介质及计算机程序。
现有的电子设备通常可为用户提供可交互的显示界面,该显示界面可为用户展示图形,用户可以通过鼠标或者触摸等操作选中显示界面中的图形,电子设备可以确定出用户选中的图形,并为用户展示该用户选中的图形。
然而,当显示界面中有多个图形时,在用户触发了选中操作后,电子设备很难确定出用户选中的图形。例如,当显示界面中的多个图形彼此重叠时,电子设备就很难从重叠图形中确定用户选中的图形。
因此,如何从显示界面中确定出用户选中的图形就成为亟待解决的问题。
发明内容
有鉴于此,本申请提供一种图形选中方法、装置及电子设备,用于实现在显示界面中确定出用户选中的图形。
具体地,本申请是通过如下技术方案实现的:
根据本申请的第一方面,提供一种图形选中方法,所述方法包括:确定用于触发图形选择的触发事件对应的触发位置;依据所述触发位置确定对应的至少一个候选图形;确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。
根据本申请的第二方面,提供一种图形选中装置,所述装置包括:第一确定单元,用于确定用于触发图形选择的触发事件对应的触发位置;第二确定单元,用于依据所述触发位置确定对应的至少一个候选图形;选中单元,用于确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。
根据本申请的第三方面,提供一种电子设备,所述设备包括可读存储介质和处理器。其中,所述可读存储介质,用于存储机器可执行指令。所述处理器,用于读取所述可读存储介质上的所述机器可执行指令,并执行所述指令以:确定用于触发图形选择的触发事件对应的触发位置;依据所述触发位置确定对应的至少一个候选图形;确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。
根据本申请的第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述图形选中方法。
根据本申请的第五方面,提供一种计算机程序,计算机程序存储于机器可读存储介质,并且当处理器执行计算机程序时,促使处理器实现上述图形选中方法。
由上述描述可以看出,由于电子设备会计算与该触发位置对应的候选图形的选中权 重,基于候选图形的选中权重来确定用户所需的图形,因此可以在实现图形的自动选中。
图1是本申请一示例性实施例示出的一种图形选中方法的流程图;
图2是本申请一示例性实施例示出的一种显示界面的示意图;
图3是本申请一示例性实施例示出的另一种显示界面的示意图;
图4是本申请一示例性实施例示出的另一种图形选中方法的流程图;
图5a是本申请一示例性实施例示出的另一种显示界面的示意图;
图5b是本申请一示例性实施例示出的另一种显示界面的示意图;
图6是本申请一示例性实施例示出的一种电子设备的硬件结构图;
图7是本申请一示例性实施例示出的一种图形选中的装置的框图。
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
在传统的图形选中方法中,电子设备在检测到用于触发图形选择的触发事件时,通常是将该触发事件对应的触发位置所在的各图形,依次呈现给用户,由用户确认该呈现的图形是否为用户所选的图形。
比如用户在绘图软件(如绘图板)绘制了三个重叠图形,分别为正方形、三角形和圆形。用户想选择圆形进行下一步操作。这时,用户会发起用于触发图形选中的触发事件。在现有的图形选中方式中,绘图软件所在的电子设备会依次将正方形呈现给用户,并让用户确认正方形是否为用户想选中的图形,然后将三角形呈现给用户,并让用户确认三角形是否为用户想选中的图形。然后将圆形呈现给用户,并让用户确认圆形是否为用户想选中的图形。
这种图形选中方式,需要用户参与,在不方便用户操作的同时,还降低了图形选中的效率。
有鉴于此,本申请旨在提出一种图形选中方法,可以提高确定选中图形的效率。
具体地,电子设备依据用于触发图形选择的触发事件,从所述显示界面中选择对应的至少一个候选图形。然后,电子设备可确定至少一个候选图形的选中权重,并依据候选图形的选中权重选中至少一个作为目标图形。选中权重由电子设备基于候选图形的图形类型和/或位置计算得出,表达候选图形是用户所需图形的预测可能性大小,具体计算方式下文将详述。
由于电子设备会计算与该触发事件对应的至少一个候选图形的选中权重,基于候选图形的选中权重来确定用户所需的图形,因此可以实现图形选中。此外,在本申请提供的图形选中方法中,电子设备可以基于触发事件自动选中图形,可以有效地减少用户的参与,从而大大提高了图形选中的效率,便捷了用户操作。
参见图1,图1是本申请一示例性实施例示出的一种图形选中方法的流程图,该方法可应用在电子设备上,可包括如下所示步骤。
其中,电子设备可包括:计算机、用户终端、服务器等电子类的设备。这里不对电子设备进行具体地限定。其中,用户终端可包括:手机、IPAD、笔记本等用户所使用的终端设备,这里不对用户终端进行具体地限定。
步骤101:电子设备确定用于触发图形选择的触发事件对应的触发位置。
步骤102:电子设备依据所述触发位置确定对应的至少一个候选图形。
步骤103:电子设备确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。
由于电子设备会计算与该触发位置对应的候选图形的选中权重,并基于候选图形的选中权重来确定用户所需的图形,因此可以实现图形选中。此外,在本申请提供的图形选中方法中,电子设备可以基于触发事件自动选中图形,可以有效地减少用户的参与,从而大大提高了图形选中的效率,便捷了用户操作。
在步骤101中,电子设备确定用于触发图形选择的触发事件对应的触发位置。
在实现时,当用户需要选择显示界面上的图形时,用户通常会通过鼠标或者触摸等操作点击该显示界面上的图形。当电子设备检测到用户的点击操作后,电子设备可获取到与该点击操作对应的触发事件。例如,电子设备可生成与该点击操作对应的触发事件,或者用户的点击操作是触发事件,电子设备可获取用户输入的触发事件。这里只是对触发事件产生方式进行示例性地说明,不对其进行具体地限定。
电子设备可依据该触发事件,从显示界面中选择对应的至少一个候选图形。
可选的,在选择时,该触发事件往往携带了用于指示触发位置的指示信息(比如触发位置在显示界面上的坐标等)。电子设备可依据该指示信息,在所述显示界面上确定所述触发事件对应的触发位置,并依据所述触发位置从所述显示界面显示的所有图形中选择至少一个候选图形。
其中,触发位置是指用户通过点击、触摸等方式在显示屏幕上操作的位置,例如,用户在触发图形选中功能后,点击了屏幕上的一个位置,该点击的位置即为触发位置。 这里只是对触发位置进行示例性地说明,不对该触发位置进行具体地限定。
在步骤102中,电子设备依据所述触发位置确定对应的至少一个候选图形。
在实际应用中,在选中图形时,用户通常的操作习惯是将操作的触发位置尽可能地靠近自己所要选择的图形的边或者图形的端点等。因此,为了依据用户的常用操作习惯,得到用户所需的图形的同时,减少设备的计算量,电子设备可依据所述触发位置,从所述显示界面显示的所有图形中选择至少一个候选图形,然后再从候选图形中选择用户所需的目标图形。
在依据所述触发位置,从所述显示界面显示的所有图形中选择至少一个候选图形时,电子设备可从显示界面显示的所有图形中,选择触发位置所在的至少一个候选图形。
由于封闭图形和非封闭图形的图形构造不同,因此在选择触发位置所在的至少一个候选图形时,可以依据封闭图形和非封闭图形分别对应的选择方式进行选择。
在实现时,针对所述显示界面上的封闭图形,电子设备在所述触发位置满足在所述封闭图形内部、线条上或端点上的任意一种的情况下,确定所述封闭图形为候选图形。和/或,针对显示界面非封闭图形,在所述触发位置满足在所述非封闭图形的线条上或端点上的情况下,确定所述非封闭图形为候选图形。
具体地,在第一种候选图形确定方式中,若该电子设备仅支持封闭图形的绘制,电子设备针对显示界面上的图形,若该触发位置满足在所述封闭图形内部、线条上或端点上的任意一种的情况下,则确定该封闭图形为候选图形。
在第二种候选图形确定方式中,若该电子设备仅支持非封闭图形的绘制,电子设备针对显示界面上的图形,若该触发位置满足在所述非封闭图形的线条上或端点上的情况下,确定该非封闭图形为候选图形。
在第三种候选图形确定方式中,若该电子设备既支持封闭图形的绘制,又支持非封闭图形的绘制,电子设备针对显示界面上的图形,若该图形为封闭图形,则在确定触发位置满足在所述封闭图形内部、线条上或端点上的任意一种的情况下,确定该封闭图形为候选图形;若该图形为非封闭图形,则在确定该触发位置满足在所述非封闭图形的线条上或端点上的情况下,确定该非封闭图形为候选图形。
下面通过具体地例子对第三种候选图形确定方式进行说明,对于第一、第二种候选图形确定方式可参见该例子中的描述,这里不再赘述。
例如,如图2所示,显示界面上当前包括:折线、三角形和长方形。假设触发位置如图所示的圆2上的箭头所指示的位置。
对于长方形来说,电子设备可确定该图形是否为封闭图形。在本例中,由于长方形为封闭图形,所以电子设备可检测该触发位置是否在该长方形的顶点、线条或者内部。在本例中,由于触发位置既不在长方形的顶点、线条,也不在长方形的内部区域,所以触发位置不在长方形中,因此电子设备不将该长方形作为候选图形。
对于折线来说,电子设备可确定该图形是否为封闭图形。在本例中,由于折线为非封闭图形,所以电子设备可以检测该触发位置是否在折线的线条、或者折线的顶点上。 在本例中,由于触发位置在折线的线条上,则确定该触发位置在该折线上,因此电子设备可将该折线确定为候选图形。
对于三角形来说,电子设备可确定该图形是否为封闭图形。在本例中,由于三角形为封闭图形,所以电子设备可检测该触发位置是否在该三角形的顶点、线条或者内部。在本例中,由于触发位置在三角形的内部区域,所以确定该触发位置在该三角形上,因此电子设备可将该三角形确定为候选图形。
以上是针对步骤102的描述。
在步骤103中,电子设备确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。下面介绍下步骤103的几种实现方式:
步骤103的实现方式一:
电子设备可确定每一个候选图形的选中权重,依据每个候选图形的选中权重,确定至少一个候选图形为目标图形,并选中所述目标图形。
下面介绍下“依据每个候选图形的选中权重,确定至少一个候选图形为目标图形,并选中所述目标图形”的实现方式:
在实现时,可选的,电子设备在选中权重最大的候选图形中,依据选中权重最大的候选图形的创建时间、和/或候选图形的面积,选择一个候选图形作为目标图形。该目标图形即为用户所需的图形。
可选的,当权重最大的候选图形为1个时,电子设备可直接将该权重最大的候选图形作为目标图形。
当权重最大的候选图形为多个时,电子设备可通过如下方式确定目标图形。
方式一:根据用户的操作习惯,用户的越晚创建的图形可能是用户最易选中的图形,所以当权重最大的候选图形为多个时,电子设备可从选择出的选中权重最大的候选图形中,选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
下面介绍下“电子设备可从选择出的选中权重最大的候选图形中,选择创建时间最接近当前时间的一个候选图形作为所述目标图形”的选择方式。
由于每个图形创建后,电子设备都会按照ID递增的方式,为该图形分配一个图形ID。也就是说,越早创建的图形的图形ID越小,越晚创建的图形的图形ID越大。
所以,在从选择出的选中权重最大的候选图形中,选择创建时间最接近当前时间的一个候选图形作为所述目标图形时,电子设备可选择图形ID最大的图形作为目标图形。
或者,电子设备每创建一个图形,会记录该图形的创建时间。然后,电子设备可将创建时间最接近于当前时刻的图形作为目标图形。
在实际应用中,还可采用其他方式来选择创建时间最接近当前时间的一个候选图形,这里只是对“选择创建时间最接近当前时间的一个候选图形”进行示例性说明,不对其进行具体地限定。
此外,在实际应用中,在电子设备仅支持非封闭图形绘制、仅支持封闭图形绘制、以及支持非封闭图形和封闭图形绘制的任一情况下,均可以采用该方式一。这里只是对 方式一适用的场景进行示例性地说明,不对其进行具体地限定。
方式二:根据用户习惯、当触发位置在多个图形上时,面积越小的图形为用户越容易选中的图形、以及用户的越晚创建的图形可能是用户最易选中的图形,所以当权重最大的候选图形为多个时,电子设备可参考候选图形的面积和候选图形的创建时间来确定目标图形。
当选择出的选中权重最大的候选图形的数量大于1时,确定选中权重最大的各候选图形是否均为相同类型的封闭图形。其中,图形的类型可包括:三角形、圆形、矩形、长方形等等,这里只是对图形类型进行示例性地说明,不对其进行具体地限定。
1)若选中权重最大的各候选图形均为相同类型的封闭图形,则在选中权重最大的各候选图形中,电子设备可选择面积最小的候选图形作为目标图形。例如,假设选中权重最大的候选图形为2个,分别为矩形1和矩形2,矩形1的面积为100,矩形2的面积为80,则电子设备可选择矩形2作为目标图形。
2)若选中权重最大的各候选图形不为同一个类型的封闭图形,则在选中权重最大的各候选图形中,选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
若选中权重最大的候选图形不都是封闭图形(比如,选中最大的候选图形为3个,分别为矩形1、矩形2和折线1)、选中权重最大的候选图形不是同一个类型(比如,选中最大的候选图形为3个,分别为矩形1、矩形2和三角形1),都归类为“选中权重最大的各候选图形不为同一个类型的封闭图形”这一情况。在这一情况下,电子设备可在选中权重最大的各候选图形中,选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
选择创建时间最接近当前时间的一个候选图形的方式参见上文,这里不再赘述。
在实际应用中,在电子设备仅支持非封闭图形绘制、仅支持封闭图形绘制、以及支持非封闭图形和封闭图形绘制的任一情况下,均可以采用该方式二。这里只是对方式二适用的场景进行示例性地说明,不对其进行具体地限定。
方式三:根据用户习惯、当触发位置在多个图形上时,面积越小的图形为用户越容易选中的图形,所以电子设备可依据候选图形的面积来确定目标图形。
当选择出的选中权重最大的候选图形的数量大于1时,确定选中权重最大的各候选图形是否均为封闭图形。其中,图形的类型可包括:三角形、圆形、矩形、长方形等等,这里只是对图形类型进行示例性地说明,不对其进行具体地限定。
1)若选中权重最大的各候选图形均为封闭图形,则在选中权重最大的各候选图形中,电子设备可选择面积最小的候选图形作为目标图形。
2)若选中权重最大的各候选图形不都为封闭图形,则在选中权重最大的各候选图形中,选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
在实际应用中,在电子设备仅支持非封闭图形绘制、仅支持封闭图形绘制、以及支持非封闭图形和封闭图形绘制的任一情况下,均可以采用该方式三。这里只是对方式三适用的场景进行示例性地说明,不对其进行具体地限定。
当然,这里只是示例性地介绍了“当权重最大的候选图形为多个时,电子设备如何确定目标图形”的方式,在实际应用中,电子设备还可采用其他方式来确定,这里不对其进行具体地限定。
步骤103的实现方式二:
电子设备也可确定任意一个候选图形的选中权重,若该候选图形的选中权重满足预设的权重条件,则将该候选图形作为目标图形,并选中目标图形。
可选的,若该候选图形的选中权重不满足预设的权重条件,电子设备还可获取待进行选中权重确定的另一个候选图形,并确定获取到的候选图形的选中权重,若该候选图形的选中权重满足预设的权重条件,则将该候选图形作为目标图形。依次类推,直至选择出目标图形。
其中,预设的权重条件可包括:选中权重大于或者等于预设阈值等。这里只是对预设的权重条件进行示例性地说明,不对其进行具体地限定。
下面介绍下步骤103中的“确定至少一个候选图形的选中权重”的方式:
在实际应用中,在选中图形时,由于用户通常的操作习惯是将操作的触发位置尽可能地靠近自己所要选择的图形的边或者图形的端点等,并且不同类型的图形本身的性质(如图形的类型等)是不同的,所以触发位置和图形的相对位置关系、和/或图形类型均可以影响图形的选中权重。
因此,在本申请的一个实施例中,可以依据触发位置和图形的之间位置关系、和/或图形类型作为参考信息,并依据参考信息来确定图形的选中权重。由于图形选中权重的参考信息与用户操作习惯和图形本身的性质相关,所以以这种参考信息确定出的用户所需的目标图形的准确性更高。
在实现时,电子设备针对任意候选图形,依据该候选图形的图形权重、和/或位置权重,确定该候选图形的选中权重。其中,图形权重依据该候选图形的图形类型确定。位置权重依据该候选图形与所述触发位置之间的位置关系确定。
第一种方式:电子设备可仅依据候选图形的图形权重,确定该候选图形的选中权重。
在确定时,电子设备可直接将候选图形的图形权重作为该候选图形的选中权重。当然,电子设备也可以对候选图形的图形权重进行处理,得到候选图形的选中权重。比如,电子设备可将候选图形的图形权重乘以预设系数得到候选图形的选中权重,或者,电子设备可将候选图形的图形权重加上预设常数值,得到候选图形的选中权重等。这里不进行具体地限定。
第二种方式:电子设备可仅依据候选图形的位置权重,确定该候选图形的选中权重。
在确定时,电子设备可直接将候选图形的位置权重作为该候选图形的选中权重。当然,电子设备也可以对候选图形的位置权重进行处理,得到候选图形的选中权重。比如,电子设备可将候选图形的位置权重乘以预设系数得到候选图形的选中权重,或者,电子设备可将候选图形的位置权重加上预设常数值,得到候选图形的选中权重等。这里不进行具体地限定。
第三种方式:电子设备可仅依据候选图形的图形权重和位置权重,确定该候选图形的选中权重。
在计算选中权重时,电子设备可将图形权重和位置权重相加,确定选中权重。或者,电子设备可对图形权重和位置权重进行求和取平均运算,得到选中权重。这里只是对“基于所述图形权重和确定出的位置权重,确定所述候选图形的选中权重”进行示例性地说明,不对其进行具体地限定。
1)图形权重的确定方法
在本申请中,预先配置了图形类型与图形权重的对应关系。例如,该图形类型与图形权重的对应关系如表1所示。
图形类型 | 图形权重 |
矩形 | 100 |
三角形 | 100 |
折线 | 50 |
表1
需要说明的是,该预设的图形类型和图形权重的对应关系可以由开发人员预先配置。由于在实际应用中,用户如果想要选择点、线,用户通常的操作习惯是将操作的触发位置尽可能地靠近自己所要选择点、线,而在选择封闭图形时,用户通常的习惯是将触发位置放置在封闭图形上或者封闭图形内部。因此,根据用户选中图形的操作习惯,在预先配置时,开发人员可基于用户的操作习惯将点的图形权重配置的最高,线的图形权重配置的次高,封闭图形的权重配置的最低,从而使得预设置的图形权重与用户操作习惯相关,进而可以提高图形选中的准确性。
当然对于封闭图形,开发人员可为不同类型的图形配置不同的权重,或者为不同类型的图形配置相同的权重,或者,开发人员还可依据封闭图形的面积来配置图形权重,这里只是示例性地说明,不对其进行具体地限定。
当然,在实际应用中,电子设备也可以自动为各类型图形配置图形权重,或者自动更新各类型图形的图形权重。例如,电子设备根据用户的历史图形选中习惯,建立或更新该图形类型和图形权重的对应关系。
比如,电子设备可周期性地统计本周期内的用户选中的各类图形的次数,然后依据各类型图形的次数,确定图形类型和图形权重的对应关系。比如,统计的次数越大的图形类型所对应的图形权重越大,统计的次数越小的图形类型所对应的图形权重越小。
这里只是对该图形类型和图形权重的对应关系的生成过程进行示例性地说明,不对其进行具体地限定。
在本申请实施例中,在依据该候选图形的图形类型确定该候选图形的图形权重时,电子设备可在预设的图形类型和图形权重之间的对应关系中,确定该候选图形的图形类型对应的图形权重。
2)位置权重的确定方法
其中,候选图形与触发位置的对应关系可包括:触发位置在候选图形的线条上,触发位置在候选图形的端点上,触发位置在候选图形的图形区域范围内。当然,这里只是示例性地说明候选图形和触发位置之间的位置关系,在实际应用中,还可包括其他位置关系,这里不对该位置关系进行具体地限定。
需要说明的是:图形的线条可包括:若该图形为非封闭图形,该图形的线条可以为该非封闭图形上的线条。比如,非封闭图形为折线,该线条为构成非封闭图形上的折线。非封闭图形为曲线,则该线条为构成非封闭图形上的曲线。
若该图形为封闭图形,该图形的线条为该封闭图形的边。
在本申请的一个实施例中,不同的位置关系对应了不同的位置权重的确定方式。
1)当所述位置关系用于指示所述触发位置在该候选图形的线条上,或者当所述位置关系用于指示所述触发位置在该候选图形的端点上,候选图形的位置权重的确定方式如下:
在本申请中,预配置了图形与位置权重的对应关系。例如,该图形与位置权重的对应关系如表2所示。
图形 | 位置权重 |
端点 | 102 |
线条 | 100 |
表2
需要说明的是,该预设的图形和位置权重的对应关系可以由开发人员预先配置。
在实际应用中,根据用户习惯,在选择图形时,相比于将触发位置放置在图形的线条上,用户更喜欢将触发位置设置在用户想选择的图形的端点上。因此开发人员基于该习惯可将端点对应的位置权重设置的大些,将线条对应的位置权重设置的小些。
当然,这里只是示例性地说明,在实际应用中,电子设备可以周期性地统计用户的历史图形选中习惯,周期性地建立或更新该图形和位置权重的对应关系。
例如,电子设备可周期性统计本周期内,用户操作的触发位置在用户所需的图形端点上的次数(第一次数)、以及用户操作的触发位置在用户所需的图形线条上的次数(第二次数),依据统计到的第一次数和第二次数,来确定端点和线条对应的位置权重。比如,若第一次数大于第二次数,则设置端点的位置权重比线条的位置权重大。若第一次数小于第二次数,则设置端点的位置权重比线条的位置权重小。
在本申请实施例中,当所述位置关系用于指示所述触发位置在该候选图形的线条上,电子设备可在预设的图形与位置权重的对应关系中,确定该候选图形的线条对应的位置权重作为候选图形的位置权重。当所述位置关系用于指示所述触发位置在该候选图形的端点上,电子设备则在预设的图形与位置权重的对应关系中,确定点对应的位置权重作为该候选图形的位置权重。
2)当位置关系用于指示所述触发位置在该候选图形的图形区域范围内,电子设备可通过如下方式确定该候选图形的位置权重:
电子设备可计算该触发位置到该候选图形的目标边的最短直线距离,其中,所述目标边是所述候选图形中最接近于所述触发位置的边。
然后,电子设备可依据所述图形权重和确定出的最短直线距离,确定该候选图形的位置权重。
例如,电子设备可依据如下公式确定图形的位置权重。
其中,S为候选图形的位置权重;P为候选图形的图形权重;L为触发位置到候选图形的目标边的最短直线距离。
当然,在实际应用中,电子设备还可以通过其他计算方式来“依据所述图形权重和确定出的最短直线距离,确定该候选图形的位置权重”,只要满足计算出的最短直线距离越小,图形位置权重越大即可,这里只是对确定候选图形的位置权重的示例性说明,不对其进行具体地限定。
例如,如图3所示,触发位置为图3的箭头所指示的位置,候选图形为图3中的矩形,触发位置在矩形内部区域。假设矩形对应的图形权重为100。
触发位置距离矩形的a边最近,所以矩形的a边是目标边。
电子设备可计算触发位置距离矩形的a边的最短直线距离(假设为100)。
在计算该矩形的选中权重时,电子设备可基于图形权重和最短直线距离,即通过S=P/L=100/100=1,则确定出的矩形的位置权重为1。
由上文描述可以看出,一方面,由于电子设备会计算与该触发事件对应的至少一个候选图形的选中权重,并基于候选图形的选中权重来确定用户所需的图形,因此可以实现图形选中。此外,在本申请提供的图形选中方法中,电子设备可以基于触发事件自动选中图形,可以有效地减少用户的参与,从而大大提高了图形选中的效率,便捷了用户操作。另一方面,由于在确定至少一个候选图形的选中权重时,结合了与用户操作习惯相关的图形类型、以及触发位置与图形的位置关系,所以确定出的选中权重更贴近用户的操作习惯,确定出的选中权重更为准确。
在实际应用中,电子设备还可在确定出显示界面的候选图形后,依据上述选中图形的确定方式确定至少一个候选图形的选中权重,以及将非候选图形的选中权重设置为0。然后电子设备可依据候选图形和非候选图形的选中权重,选中目标图形。
比如,电子设备可在候选图形和非候选图形中,选择权重最大的图形作为目标图形。这里不进行具体地限定。电子设备还可以在确定目标图形后,将候选图形的选中权重重置为0。
参见图4,图4是本申请一示例性实施例示出的另一种图形选中方法的流程图。该方法可应用在电子设备上,可包括如下所示的步骤。
步骤401:电子设备确定用于触发图形选择的触发事件对应的触发位置。
具体可参见步骤101,这里不再赘述。
步骤402:电子设备依据触发位置确定对应的至少一个候选图形。
具体可参见步骤102,这里不再赘述。
步骤403:针对每一候选图形,电子设备依据该候选图形的图形权重和位置权重,确定该候选图形的选中权重。其中,所述图形权重依据该候选图形的图形类型确定;所述位置权重依据该候选图形与所述触发位置之间的位置关系确定。
在实现时,在确定候选图形的图形权重时,电子设备可在预设的图形类型和图形权重之间的对应关系中,确定该候选图形的图形类型对应的图形权重。
在确定候选图形的位置权重时,当所述位置关系用于指示所述触发位置在该候选图形的线条上,电子设备可在预设的图形与位置权重的对应关系中,确定该候选图形的线条对应的位置权重作为候选图形的位置权重。
当所述位置关系指示所述触发位置在该候选图形的端点上,电子设备则在预设的图形与位置权重的对应关系中,确定点对应的位置权重作为该候选图形的位置权重。
当位置关系指示所述触发位置在该候选图形的图形区域范围内,电子设备可计算该触发位置到该候选图形的目标边的最短直线距离,其中,所述目标边是所述候选图形中最接近于所述触发位置的边,并可依据所述图形权重和确定出的最短直线距离,确定该候选图形的位置权重。
步骤404:电子设备依据各候选图形的选中权重,选中目标图形。
在实现时,当权重最大的候选图形为1个时,电子设备可直接将该权重最大的候选图形作为目标图形。
当权重最大的候选图形为多个时,电子设备可从选择出的选中权重最大的候选图形中,选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
或者,当权重最大的候选图形为多个时,电子设备确定选中权重最大的各候选图形是否均为相同类型的封闭图形;若选中权重最大的各候选图形均为相同类型的封闭图形,则在选中权重最大的各候选图形中,选择面积最小的候选图形作为目标图形。若选中权重最大的各候选图形不均为相同类型的封闭图形,则在选中权重最大的各候选图形中,选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
下面通过具体地例子对本申请提供的图形选中方法进行详细地说明
假设,预设的图形类型与图形权重的对应关系如表3所示。
图形 | 权重 |
矩形 | 100 |
三角形 | 100 |
表3
假设图形和位置权重的对应关系如表4所示。
图形 | 位置权重 |
端点 | 101 |
线条 | 100 |
表4
实施例1:
假设,如图5a所示,电子设备的界面上包括三个图形,分别为三角形、小矩形和大矩形,假设触发位置如图5a中圆点所示。
首先,电子设备在检测触发事件后,可从显示界面所显示的图形中确定出候选图形。在本例中,由于触发位置均在三角形、小矩形和大矩形的内部,所以确定出的候选图形为三角形、小矩形和大矩形。
针对三角形,电子设备可在表4所示的对应关系中,确定出三角形的图形权重(即100)。
此外,电子设备还可依据触发位置与三角形的位置关系,和图形权重确定三角形的选中权重。在本例中,该触发位置在该三角形内部区域内,电子设备可计算该触发位置到该三角形中最接近该触发位置的边(即边501)的最短直线距离(即10)。然后,电子设备可计算三角形的图形权重(即100)与该最短直线距离(即10)的比值(即10)。然后,电子设备可计算该比值与该三角形的图形权重(即100)之和(即110),作为该三角形的选中权重(即110)。
针对小矩形,电子设备可在表4所示的对应关系中,确定出小矩形的图形权重(即100)。
此外,电子设备还可依据触发位置与小矩形的位置关系,和图形权重确定三角形的选中权重。在本例中,该触发位置在该小矩形内部区域内,电子设备可计算该触发位置到该小矩形中最接近该触发位置的边(即边502)的最短直线距离(即80)。然后,电子设备可计算小矩形的图形权重(即100)与该最短直线距离(即80)的比值(即1.25),并计算该比值(即1.25)与该小矩形的图形权重(即100)之和(即101.25),作为该小矩形的选中权重(即101.25)。
针对大矩形,电子设备可在表4所示的对应关系中,确定出大矩形的图形权重(即100)。
此外,电子设备还可依据触发位置与大矩形的位置关系,和图形权重确定大矩形的选中权重。在本例中,该触发位置在该大矩形内部区域内,电子设备可计算该触发位置到该大矩形中最接近该触发位置的边(即边503)的最短直线距离(即100)。然后,电子设备可计算大矩形的图形权重(即100)与该最短直线距离(即100)的比值(即1),并计算该大矩形的图形权重(即100)、与该比值(即1)之和(即101),作为该大矩形的选中权重(即101)。
在计算出这三个图形的选中权重后,电子设备可选择选中权重最大的候选图形作为目标图形。在本本例中,三角形的选中权重为110,小矩形的选中权重为101.25,大矩形的选中权重为101,所以电子设备选择三角形为目标图形。
实施例2:
假设,如图5b所示,电子设备的界面上包括三个图形,分别为三角形、小矩形和大矩形,假设触发位置如图5b中圆点所示。
首先,电子设备在检测触发事件后,可从显示界面所显示的图形中确定出候选图形。
在本例中,对于三角形来说,该触发位置不在三角形的内部、也不在三角形的端点和线条上,所以电子设备确定三角形不是候选图形。
对于小矩形来说,由于该触发位置不在小矩形的内部、也不在小矩形的端点和线条上,所以电子设备确定小矩形不是候选图形。
对于大矩形来说,由于该触发在大矩形的线条上。所以电子设备可确定大矩形为候选图形。
然后,电子设备可确定大矩形的选中权重。
电子设备可在表4所示的对应关系中,确定出大矩形的图形权重(即100)。
此外,电子设备还可依据触发位置与大矩形的位置关系,和图形权重确定大矩形的选中权重。在本例中,该触发位置在该大矩形的线条上,电子设备可在表5所示的对应关系中,查找矩形的边对应的位置权重(即100)。然后电子设备可计算该大矩形的图形权重(即100)、与该位置权重(即100)之和(即200),作为该大矩形的选中权重(即200)。
然后,电子设备可选择选中权重最大的候选图形作为目标图形。在本例中,电子设备选择大矩形为目标图形。
此外,本申请还提供一种电子设备,该电子设备可包括可读存储介质和处理器。其中,所述可读存储介质,用于存储机器可执行指令。所述处理器,用于读取所述可读存储介质上的所述机器可执行指令,并执行所述指令以实现上述图形选中的方法步骤。
可选的,如图6所示,该电子设备除了包括处理器602、机器可读存储介质603外,还可包括通信接口601、总线604。通信接口601、处理器602和机器可读存储介质603通过总线604完成相互间的通信。处理器602通过读取并执行机器可读存储介质603中与图形选中控制逻辑对应的机器可执行指令,可执行上文描述的图形选中方法。
参见图7,图7是本申请一示例性实施例示出的一种图形选中的装置的框图。该装置可应用在电子设备上,可包括如下所示单元。
第一确定单元701,用于确定用于触发图形选择的触发事件对应的触发位置。
第二确定单元702,用于依据所述触发位置确定对应的至少一个候选图形。
选中单元703,用于确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。
可选的,所述第二确定单元702,在所述依据所述触发位置确定对应的至少一个候选图形时,用于针对封闭图形,在所述触发位置满足在所述封闭图形内部、线条上或端点上的任意一种的情况下,确定所述封闭图形为候选图形;和/或针对非封闭图形,在所述触发位置满足在所述非封闭图形的线条上或端点上的情况下,确定所述非封闭图形为候选图形。
可选的,所述选中单元703,在确定至少一个候选图形的选中权重时,用于针对 任意候选图形,依据该候选图形的图形权重、和/或位置权重,确定该候选图形的选中权重;其中,所述图形权重依据该候选图形的图形类型确定;所述位置权重依据该候选图形与所述触发位置之间的位置关系确定。
可选的,所述选中单元703,在确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形时,用于确定每一个候选图形的选中权重,依据每个候选图形的选中权重,确定至少一个候选图形为目标图形,并选中所述目标图形;或者,确定任意一个候选图形的选中权重,若该候选图形的选中权重满足预设的权重条件,则将该候选图形作为目标图形,并选中所述目标图形。
可选的,所述选中单元,在确定至少一个候选图形的选中权重时,还用于针对任意候选图形,通过如下方式确定所述位置权重:在所述位置关系用于指示所述触发位置在该候选图形的线条上情况下,在预设的图形与位置权重的对应关系中,确定该候选图形的线条对应的位置权重为该候选图形的位置权重;或,在所述位置关系用于指示所述触发位置在该候选图形的端点上情况下,在预设的图形与位置权重的对应关系中,确定候选图形的端点对应的位置权重为该候选图形的位置权重;或,当所述位置关系用于指示所述触发位置在该候选图形的图形区域范围内时,计算该触发位置到该候选图形的目标边的最短直线距离;其中,所述目标边是所述候选图形中最接近于所述触发位置的边;依据所述图形权重和确定出的最短直线距离,确定所述候选图形对应的位置权重。
可选的,所述选中单元703,在依据每个候选图形的选中权重,确定至少一个候选图形为目标图形时,用于当权重最大的候选图形为1个时,将该权重最大的候选图形作为目标图形;或,当权重最大的候选图形为多个时,在选中权重最大的候选图形中,依据选中权重最大的候选图形的创建时间、和/或候选图形的面积,选择一个候选图形作为目标图形。
可选的,所述选中单元703,在当权重最大的候选图形为多个时,在选中权重最大的候选图形中,依据选中权重最大的候选图形的创建时间、和/或候选图形的面积,选择一个候选图形作为目标图形时,具体用于选择创建时间最接近当前时间的一个候选图形作为所述目标图形;或,若选中权重最大的候选图形是同一类型封闭图形,则选择面积最小的一个候选图形作为所述目标图形;若选中权重最大的候选图形不是同一类型封闭图形或包含非封闭图形,则选择创建时间最接近当前时间的一个候选图形作为所述目标图形;或,若选中权重最大的候选图形均为封闭图形,则选择面积最小的一个候选图形作为所述目标图形;若选中权重最大的候选图形不均为封闭图形,则选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
此外,本申请还提供一种机器可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述图形选中方法。
本文中提到的机器可读存储介质可以是任何电子、磁性、光学或其它物理存储装置,可以包含或存储信息,如可执行指令、数据,等等。例如,机器可读存储介质可以是:易失存储器、非易失性存储器或者类似的存储介质。具体地,机器可读存储介质 可以是RAM(Radom Access Memory,随机存取存储器)、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘(如光盘、DVD等),或者类似的存储介质,或者它们的组合。
此外本申请还提供一种计算机程序,计算机程序存储于机器可读存储介质,并且当处理器执行计算机程序时,促使处理器实现上述图形选中方法。
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本申请方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。
Claims (23)
- 一种图形选中方法,包括:确定用于触发图形选择的触发事件对应的触发位置;依据所述触发位置确定对应的至少一个候选图形;确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。
- 根据权利要求1所述的方法,其特征在于,所述依据所述触发位置确定对应的至少一个候选图形,包括:针对封闭图形,在所述触发位置满足在所述封闭图形内部、线条上或端点上的任意一种的情况下,确定所述封闭图形为候选图形;和/或针对非封闭图形,在所述触发位置满足在所述非封闭图形的线条上或端点上的情况下,确定所述非封闭图形为候选图形。
- 根据权利要求1所述的方法,其特征在于,所述确定至少一个候选图形的选中权重包括:针对任意候选图形,依据该候选图形的图形权重、和/或位置权重,确定该候选图形的选中权重;其中,所述图形权重依据该候选图形的图形类型确定;所述位置权重依据该候选图形与所述触发位置之间的位置关系确定。
- 根据权利要求1所述的方法,其特征在于,所述确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形包括:确定每一个候选图形的选中权重,依据每个候选图形的选中权重,确定至少一个候选图形为目标图形,并选中所述目标图形;或者,确定任意一个候选图形的选中权重,若该候选图形的选中权重满足预设的权重条件,则将该候选图形作为目标图形,并选中所述目标图形。
- 根据权利要求3所述的方法,其特征在于,所述位置权重通过如下方式确定:在所述位置关系用于指示所述触发位置在该候选图形的线条上情况下,在预设的图形与位置权重的对应关系中,确定该候选图形的线条对应的位置权重为该候选图形的位置权重;或,在所述位置关系用于指示所述触发位置在该候选图形的端点上情况下,在预设的图形与位置权重的对应关系中,确定候选图形的端点对应的位置权重为该候选图形的位置权重;或,当所述位置关系用于指示所述触发位置在该候选图形的图形区域范围内时,计算该触发位置到该候选图形的目标边的最短直线距离;其中,所述目标边是所述候选图形中最接近于所述触发位置的边;依据所述图形权重和确定出的最短直线距离,确定所述候选图形对应的位置权重。
- 根据权利要求4所述的方法,其特征在于,所述依据每个候选图形的选中权重, 确定至少一个候选图形为目标图形,包括:当权重最大的候选图形为1个时,将该权重最大的候选图形作为目标图形,或当权重最大的候选图形为多个时,在选中权重最大的候选图形中,依据选中权重最大的候选图形的创建时间、和/或候选图形的面积,选择一个候选图形作为目标图形。
- 根据权利要求6所述的方法,其特征在于,所述当权重最大的候选图形为多个时,在选中权重最大的候选图形中,依据选中权重最大的候选图形的创建时间、和/或候选图形的面积,选择一个候选图形作为目标图形,包括:选择创建时间最接近当前时间的一个候选图形作为所述目标图形;或,若选中权重最大的候选图形是同一类型封闭图形,则选择面积最小的一个候选图形作为所述目标图形;若选中权重最大的候选图形不是同一类型封闭图形或包含非封闭图形,则选择创建时间最接近当前时间的一个候选图形作为所述目标图形;或,若选中权重最大的候选图形均为封闭图形,则选择面积最小的一个候选图形作为所述目标图形;若选中权重最大的候选图形不均为封闭图形,则选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
- 一种图形选中装置,包括:第一确定单元,用于确定用于触发图形选择的触发事件对应的触发位置;第二确定单元,用于依据所述触发位置确定对应的至少一个候选图形;选中单元,用于确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。
- 根据权利也要求8所述的装置,其特征在于,所述第二确定单元,在所述依据所述触发位置确定对应的至少一个候选图形时,用于针对封闭图形,在所述触发位置满足在所述封闭图形内部、线条上或端点上的任意一种的情况下,确定所述封闭图形为候选图形;和/或针对非封闭图形,在所述触发位置满足在所述非封闭图形的线条上或端点上的情况下,确定所述非封闭图形为候选图形。
- 根据权利要求8所述的装置,其特征在于,所述选中单元,在确定至少一个候选图形的选中权重时,用于针对任意候选图形,依据该候选图形的图形权重、和/或位置权重,确定该候选图形的选中权重;其中,所述图形权重依据该候选图形的图形类型确定;所述位置权重依据该候选图形与所述触发位置之间的位置关系确定。
- 根据权利要求8所述的装置,其特征在于,所述选中单元,在确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形时,用于确定每一个候选图形的选中权重,依据每个候选图形的选中权重,确定至少一个候选图形为目标图形,并选中所述目标图形;或者,确定任意一个候选图形的选中权重,若该候选图形的选中权重满足预设的权重条件,则将该候选图形作为目标图形,并选中所述目标图形。
- 根据权利要求10所述的装置,其特征在于,所述选中单元,在确定候选图形的选中权重时,还用于针对任意候选图形,通过如下方式确定所述位置权重:在所述位置关系用于指示所述触发位置在该候选图形的线条上情况下,在预设的图形与位置权重的对应关系中,确定该候选图形的线条对应的位置权重为该候选图形的位置权重;或,在所述位置关系用于指示所述触发位置在该候选图形的端点上情况下,在预设的图形与位置权重的对应关系中,确定候选图形的端点对应的位置权重为该候选图形的位置权重;或,当所述位置关系用于指示所述触发位置在该候选图形的图形区域范围内时,计算该触发位置到该候选图形的目标边的最短直线距离;其中,所述目标边是所述候选图形中最接近于所述触发位置的边;依据所述图形权重和确定出的最短直线距离,确定所述候选图形对应的位置权重。
- 根据权利要求11所述的装置,其特征在于,所述选中单元,在依据每个候选图形的选中权重,确定至少一个候选图形为目标图形时,用于当权重最大的候选图形为1个时,将该权重最大的候选图形作为目标图形,或当权重最大的候选图形为多个时,在选中权重最大的候选图形中,依据选中权重最大的候选图形的创建时间、和/或候选图形的面积,选择一个候选图形作为目标图形。
- 根据权利要求13所述的装置,其特征在于,所述选中单元,当权重最大的候选图形为多个时,在选中权重最大的候选图形中,依据选中权重最大的候选图形的创建时间、和/或候选图形的面积,选择一个候选图形作为目标图形时,用于:选择创建时间最接近当前时间的一个候选图形作为所述目标图形;或,若选中权重最大的候选图形是同一类型封闭图形,则选择面积最小的一个候选图形作为所述目标图形;若选中权重最大的候选图形不是同一类型封闭图形或包含非封闭图形,则选择创建时间最接近当前时间的一个候选图形作为所述目标图形;或,若选中权重最大的候选图形均为封闭图形,则选择面积最小的一个候选图形作为所述目标图形;若选中权重最大的候选图形不均为封闭图形,则选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
- 一种电子设备,包括:可读存储介质,用于存储机器可执行指令;和处理器,用于读取所述可读存储介质上的所述机器可执行指令,并执行所述指令以:确定用于触发图形选择的触发事件对应的触发位置;依据所述触发位置确定对应的至少一个候选图形;确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形。
- 根据权利要求15所述的电子设备,其特征在于,所述处理器执行所述指令以依据所述触发位置确定对应的至少一个候选图形,包括所述处理器执行所述指令以:针对封闭图形,在所述触发位置满足在所述封闭图形内部、线条上或端点上的任意一种的情况下,确定所述封闭图形为候选图形;和/或针对非封闭图形,在所述触发位置满足在所述非封闭图形的线条上或端点上的情况下,确定所述非封闭图形为候选图形。
- 根据权利要求15所述的电子设备,其特征在于,所述处理器执行所述指令以确定至少一个候选图形的选中权重,包括所述处理器执行所述指令以:针对任意候选图形,依据该候选图形的图形权重、和/或位置权重,确定该候选图形的选中权重;其中,所述图形权重依据该候选图形的图形类型确定;所述位置权重依据该候选图形与所述触发位置之间的位置关系确定。
- 根据权利要求15所述的电子设备,其特征在于,所述处理器执行所述指令以确定至少一个候选图形的选中权重,并依据确定出的候选图形的选中权重,选中目标图形,包括所述处理器执行所述指令以:确定每一个候选图形的选中权重,依据每个候选图形的选中权重,确定至少一个候选图形为目标图形,并选中所述目标图形;或者,确定任意一个候选图形的选中权重,若该候选图形的选中权重满足预设的权重条件,则将该候选图形作为目标图形,并选中所述目标图形。
- 根据权利要求17所述的电子设备,其特征在于,所述处理器执行所述指令以通过如下方式确定所述位置权重:在所述位置关系用于指示所述触发位置在该候选图形的线条上情况下,在预设的图形与位置权重的对应关系中,确定该候选图形的线条对应的位置权重为该候选图形的位置权重;或,在所述位置关系用于指示所述触发位置在该候选图形的端点上情况下,在预设的图形与位置权重的对应关系中,确定候选图形的端点对应的位置权重为该候选图形的位置权重;或,当所述位置关系用于指示所述触发位置在该候选图形的图形区域范围内时,计算该触发位置到该候选图形的目标边的最短直线距离;其中,所述目标边是所述候选图形中最接近于所述触发位置的边;依据所述图形权重和确定出的最短直线距离,确定所述候选图形对应的位置权重。
- 根据权利要求18所述的电子设备,其特征在于,所述处理器执行所述指令以依据每个候选图形的选中权重,确定至少一个候选图形为目标图形,包括所述处理器执行所述指令以:当权重最大的候选图形为1个时,将该权重最大的候选图形作为目标图形,或当权重最大的候选图形为多个时,在选中权重最大的候选图形中,依据选中权重最大的候选图形的创建时间、和/或候选图形的面积,选择一个候选图形作为目标图形。
- 根据权利要求20所述的电子设备,其特征在于,所述处理器执行所述指令以 当权重最大的候选图形为多个时,在选中权重最大的候选图形中,依据选中权重最大的候选图形的创建时间、和/或候选图形的面积,选择一个候选图形作为目标图形,包括所述处理器执行所述指令以:选择创建时间最接近当前时间的一个候选图形作为所述目标图形;或,若选中权重最大的候选图形是同一类型封闭图形,则选择面积最小的一个候选图形作为所述目标图形;若选中权重最大的候选图形不是同一类型封闭图形或包含非封闭图形,则选择创建时间最接近当前时间的一个候选图形作为所述目标图形;或,若选中权重最大的候选图形均为封闭图形,则选择面积最小的一个候选图形作为所述目标图形;若选中权重最大的候选图形不均为封闭图形,则选择创建时间最接近当前时间的一个候选图形作为所述目标图形。
- 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现根据权利要求1至7中任一项所述的方法。
- 一种计算机程序,计算机程序存储于机器可读存储介质,并且当处理器执行所述计算机程序时,促使处理器实现根据权利要求1至7中任一项所述的方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/921,899 US20230176715A1 (en) | 2020-04-29 | 2021-04-26 | Graphic selecting methods and apparatuses, electronic devices, storage media and computer programs |
EP21797881.6A EP4130961A4 (en) | 2020-04-29 | 2021-04-26 | FORM SELECTION METHOD AND APPARATUS, ELECTRONIC DEVICE, STORAGE MEDIUM AND COMPUTER PROGRAM |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010356279.2 | 2020-04-29 | ||
CN202010356279.2A CN111552429B (zh) | 2020-04-29 | 2020-04-29 | 一种图形选中方法、装置及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021218934A1 true WO2021218934A1 (zh) | 2021-11-04 |
Family
ID=72002610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/090027 WO2021218934A1 (zh) | 2020-04-29 | 2021-04-26 | 图形选中方法、装置及电子设备、存储介质及计算机程序 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20230176715A1 (zh) |
EP (1) | EP4130961A4 (zh) |
CN (1) | CN111552429B (zh) |
WO (1) | WO2021218934A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111552429B (zh) * | 2020-04-29 | 2021-07-23 | 杭州海康威视数字技术股份有限公司 | 一种图形选中方法、装置及电子设备 |
CN112257134B (zh) * | 2020-10-30 | 2022-09-16 | 久瓴(上海)智能科技有限公司 | 模型管理方法、装置及电子设备 |
CN112506402A (zh) * | 2020-11-25 | 2021-03-16 | 广州朗国电子科技有限公司 | 基于电子白板的图形操控方法、装置及存储介质 |
CN116071514B (zh) * | 2023-03-10 | 2023-08-04 | 成都欢聚堂科技有限公司 | 一种楼栋间距自动测量的方法、装置及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1331815A (zh) * | 1998-12-22 | 2002-01-16 | 艾利森公司 | 不精确触摸而判断计算机触摸屏上可触摸项的选项的装置和方法 |
CN102117143A (zh) * | 2009-12-31 | 2011-07-06 | 深圳迈瑞生物医疗电子股份有限公司 | 一种触摸屏响应方法及装置 |
CN103294236A (zh) * | 2012-02-29 | 2013-09-11 | 佳能株式会社 | 确定目标位置的方法和装置、控制操作的方法和装置、电子设备 |
EP2690538A1 (en) * | 2012-07-27 | 2014-01-29 | BlackBerry Limited | Electronic device including touch-sensitive display and method of controlling same |
CN107291317A (zh) * | 2016-03-31 | 2017-10-24 | 腾讯科技(深圳)有限公司 | 一种虚拟场景中目标的选择方法和装置 |
CN111552429A (zh) * | 2020-04-29 | 2020-08-18 | 杭州海康威视数字技术股份有限公司 | 一种图形选中方法、装置及电子设备 |
Family Cites Families (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4698625A (en) * | 1985-05-30 | 1987-10-06 | International Business Machines Corp. | Graphic highlight adjacent a pointing cursor |
US7151530B2 (en) * | 2002-08-20 | 2006-12-19 | Canesta, Inc. | System and method for determining an input selected by a user through a virtual interface |
US20080141149A1 (en) * | 2006-12-07 | 2008-06-12 | Microsoft Corporation | Finger-based user interface for handheld devices |
US9041653B2 (en) * | 2008-07-18 | 2015-05-26 | Htc Corporation | Electronic device, controlling method thereof and computer program product |
US9110517B2 (en) * | 2009-09-14 | 2015-08-18 | Broadcom Corporation | System and method for generating screen pointing information in a television |
US8456445B2 (en) * | 2010-04-30 | 2013-06-04 | Honeywell International Inc. | Touch screen and method for adjusting screen objects |
US20140201029A9 (en) * | 2010-09-03 | 2014-07-17 | Joseph Anthony Plattsmier | 3D Click to Buy |
US10140011B2 (en) * | 2011-08-12 | 2018-11-27 | Microsoft Technology Licensing, Llc | Touch intelligent targeting |
US9372829B1 (en) * | 2011-12-15 | 2016-06-21 | Amazon Technologies, Inc. | Techniques for predicting user input on touch screen devices |
US9383885B2 (en) * | 2012-06-13 | 2016-07-05 | Microsoft Technology Licensing, Llc | Hit testing curve-based shapes using polygons |
US20130346904A1 (en) * | 2012-06-26 | 2013-12-26 | International Business Machines Corporation | Targeted key press zones on an interactive display |
US9075494B2 (en) * | 2013-02-01 | 2015-07-07 | Cyberlink Corp. | Systems and methods for performing object selection |
US20150370409A1 (en) * | 2014-06-18 | 2015-12-24 | International Business Machines Corporation | Disambiguation of touch-based gestures |
US10025427B2 (en) * | 2014-06-27 | 2018-07-17 | Microsoft Technology Licensing, Llc | Probabilistic touch sensing |
GB2528245A (en) * | 2014-07-04 | 2016-01-20 | Jaguar Land Rover Ltd | Apparatus and method for determining an intended target |
US9940016B2 (en) * | 2014-09-13 | 2018-04-10 | Microsoft Technology Licensing, Llc | Disambiguation of keyboard input |
JP5906345B1 (ja) * | 2015-08-05 | 2016-04-20 | 株式会社Cygames | 操作履歴に基づいてタッチ対象を予測するプログラム、電子装置、システム及び制御方法 |
US10061501B2 (en) * | 2015-10-07 | 2018-08-28 | The Florida International University Board Of Trustees | User interface for co-optimizing weight factors |
US10599305B2 (en) * | 2015-10-16 | 2020-03-24 | International Business Machines Corporation | Approach for selecting a desired object on a small touch screen |
CN105278840A (zh) * | 2015-12-01 | 2016-01-27 | 上海逗屋网络科技有限公司 | 一种用于操控操作对象的方法与设备 |
US11232237B2 (en) * | 2016-07-28 | 2022-01-25 | Siemens Industry Software Inc. | System and method for perception-based selection of features in a geometric model of a part |
US11073904B2 (en) * | 2017-07-26 | 2021-07-27 | Microsoft Technology Licensing, Llc | Intelligent user interface element selection using eye-gaze |
CN109815352B (zh) * | 2019-01-17 | 2021-07-09 | 网易传媒科技(北京)有限公司 | 封面图像选取方法、介质、装置和计算设备 |
CN109771941B (zh) * | 2019-03-13 | 2022-08-05 | 网易(杭州)网络有限公司 | 游戏中虚拟对象的选择方法及装置、设备和介质 |
CN110489033B (zh) * | 2019-08-22 | 2021-07-23 | 珠海格力电器股份有限公司 | 自定义功能优先级的方法 |
CN110851062A (zh) * | 2019-08-29 | 2020-02-28 | 华为技术有限公司 | 一种绘图方法及电子设备 |
US10943388B1 (en) * | 2019-09-06 | 2021-03-09 | Zspace, Inc. | Intelligent stylus beam and assisted probabilistic input to element mapping in 2D and 3D graphical user interfaces |
CN110908570B (zh) * | 2019-11-29 | 2023-01-31 | 腾讯数码(天津)有限公司 | 图像处理方法、装置、终端及存储介质 |
DE102020101746A1 (de) * | 2020-01-24 | 2021-07-29 | Ford Global Technologies, Llc | Verfahren zur Nutzerinteraktionserfassung von einem Nutzer in einer virtuellen Umgebung |
US11915596B2 (en) * | 2020-11-11 | 2024-02-27 | Honeywell International Inc. | Methods and systems for resolving tactile user input selections |
US20220253148A1 (en) * | 2021-02-05 | 2022-08-11 | Pepsico, Inc. | Devices, Systems, and Methods for Contactless Interfacing |
-
2020
- 2020-04-29 CN CN202010356279.2A patent/CN111552429B/zh active Active
-
2021
- 2021-04-26 WO PCT/CN2021/090027 patent/WO2021218934A1/zh unknown
- 2021-04-26 US US17/921,899 patent/US20230176715A1/en not_active Abandoned
- 2021-04-26 EP EP21797881.6A patent/EP4130961A4/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1331815A (zh) * | 1998-12-22 | 2002-01-16 | 艾利森公司 | 不精确触摸而判断计算机触摸屏上可触摸项的选项的装置和方法 |
CN102117143A (zh) * | 2009-12-31 | 2011-07-06 | 深圳迈瑞生物医疗电子股份有限公司 | 一种触摸屏响应方法及装置 |
CN103294236A (zh) * | 2012-02-29 | 2013-09-11 | 佳能株式会社 | 确定目标位置的方法和装置、控制操作的方法和装置、电子设备 |
EP2690538A1 (en) * | 2012-07-27 | 2014-01-29 | BlackBerry Limited | Electronic device including touch-sensitive display and method of controlling same |
CN107291317A (zh) * | 2016-03-31 | 2017-10-24 | 腾讯科技(深圳)有限公司 | 一种虚拟场景中目标的选择方法和装置 |
CN111552429A (zh) * | 2020-04-29 | 2020-08-18 | 杭州海康威视数字技术股份有限公司 | 一种图形选中方法、装置及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN111552429B (zh) | 2021-07-23 |
CN111552429A (zh) | 2020-08-18 |
EP4130961A1 (en) | 2023-02-08 |
US20230176715A1 (en) | 2023-06-08 |
EP4130961A4 (en) | 2023-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021218934A1 (zh) | 图形选中方法、装置及电子设备、存储介质及计算机程序 | |
RU2464624C2 (ru) | Рабочие интерфейсы сенсорного экрана | |
JP5873942B2 (ja) | 携帯端末装置 | |
US7730422B2 (en) | Smart icon placement across desktop size changes | |
JP5847939B2 (ja) | タッチ・インテリジェント・ターゲッティング | |
US20120188183A1 (en) | Terminal having touch screen and method for identifying touch event therein | |
US9791971B2 (en) | Registration of electronic displays | |
TWI601020B (zh) | 圖表分析系統及圖表分析方法 | |
US10318127B2 (en) | Interface providing systems and methods for enabling efficient screen control | |
US11372540B2 (en) | Table processing method, device, interactive white board and storage medium | |
CN106293328A (zh) | 图标显示方法及装置 | |
CN110287442A (zh) | 一种影响力排名的确定方法、装置、电子设备及存储介质 | |
CN105528131A (zh) | 一种信息显示方法、装置和移动设备 | |
US10073612B1 (en) | Fixed cursor input interface for a computer aided design application executing on a touch screen device | |
US20200356266A1 (en) | Touch hotspot adjustment method, apparatus, and device, and touchscreen terminal device | |
CN108491152B (zh) | 基于虚拟光标的触屏终端操控方法、终端及介质 | |
US11423587B2 (en) | Freeform gradient style blending | |
CN111744181A (zh) | 游戏中信息的显示方法、装置、游戏客户端及介质 | |
WO2018032426A1 (zh) | 检测输入设备的方法和检测设备 | |
WO2017011680A1 (en) | Device and method for processing data | |
WO2022262440A1 (zh) | 数据对比方法、装置、设备以及存储介质 | |
US10268920B2 (en) | Detection of near rectangular cells | |
CN104461240A (zh) | 一种焦点选择方法及终端设备 | |
JP6028861B2 (ja) | 情報処理装置、入力制御プログラム、および入力制御方法 | |
TW514818B (en) | Computer system for displaying object images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21797881 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021797881 Country of ref document: EP Effective date: 20221031 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |