Label placement calculation device, program, and label placement calculation method

The label placement calculation device converts vector graphic data to raster format for map features, using a trained model to determine optimal label positions, addressing the limitations of pre-defined indicators and improving placement accuracy.

JP7547101B2Active Publication Date: 2024-09-09PASCO CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020117910
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-08
Publication Date
2024-09-09
Estimated Expiration
2040-07-08

AI Technical Summary

Technical Problem

Existing methods for label placement on maps require setting evaluation indicators in advance, limiting the ability to calculate appropriate label arrangements based on the shape of map features.

Method used

A label placement calculation device and method that includes converting vector graphic data into raster image data, using a trained model to determine label positions based on the shape and size of map features, and outputting placement information.

Benefits of technology

Enables accurate and efficient calculation of label positions on maps, considering the shape and size of features, without the need for pre-defined evaluation indicators, reducing the likelihood of inappropriate placements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007547101000019
    Figure 0007547101000019
  • Figure 0007547101000014
    Figure 0007547101000014
  • Figure 0007547101000001
    Figure 0007547101000001
Patent Text Reader

Abstract

To provide a label arrangement calculation device which can calculate an appropriate arrangement of labels to a drawing that represents ground features in a map, the arrangement conforming to the shape of the drawing.SOLUTION: A label arrangement device 1 comprises: storage means for storing, for each of a plurality of drawings representing ground features in a map 100, drawing data that indicates the coordinates of vertexes constituting each drawing; acquisition means for acquiring the drawing data of a drawing among the plurality of drawings that is included in a target range 110 in the map, for which the arrangement position of a label 120 arranged to each drawing is calculated; conversion means for converting the acquired drawing data into image data in which the drawings included in the target range are drawn by a plurality of pixels; calculation means for calculating the arrangement positions of labels to the drawings included in the target range, on the basis of the shapes of the drawings indicated by the image data; and output means for outputting arrangement information that includes the calculated arrangement positions.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a label placement calculation device, a program, and a label placement calculation method. [Background technology]

[0002] On a map, information about a feature, such as a land parcel number or a name of a structure, is displayed as a label inside or near a figure representing the feature. Non-Patent Document 1 describes a label placement method that extracts candidate points on a figure where labels can be placed, calculates a score by applying a preset evaluation index to the extracted candidate points, and places a label on the candidate point with the largest calculated score. [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] Dorschlag, D., Petzold I., Plumer, L., "Placing Objects Automatically in Areas of Maps," Proc. 23rd International Cartographic Conference, p. 269-275, 2003. Summary of the Invention [Problem to be solved by the invention]

[0004] The method of Non-Patent Document 1 requires that an evaluation index be set in advance. Therefore, there is a need to calculate an appropriate label placement according to the shape of a figure representing a feature on a map, without relying on the method of Non-Patent Document 1.

[0005] The present invention has been made to solve the above-mentioned problems, and has an object to provide a label placement calculation device, a program, and a label placement calculation method that make it possible to calculate an appropriate label placement according to the shape of a figure that represents a feature on a map. [Means for solving the problem]

[0006] The label placement calculation device according to the present invention is characterized by having: a storage means for storing, for each of a plurality of figures representing a feature on a map, figure data indicating the coordinates of the vertices constituting each of the plurality of figures; an acquisition means for acquiring figure data of figures included in a target range on the map, from which a placement position of a label to be placed on each of the plurality of figures is calculated; a conversion means for converting the acquired figure data into image data that renders the figures included in the target range using a plurality of pixels; a calculation means for calculating the placement position of the label with respect to the figures included in the target range based on the shape of the figures indicated by the image data; and an output means for outputting placement information including the calculated placement position.

[0007] In addition, it is preferable that the label placement calculation device according to the present invention further has a storage means for storing a trained model that has learned a relationship between training image data that draws a figure using a plurality of pixels and the placement position of the label with respect to the figure represented by the training image data, and the calculation means calculates the placement position of the label with respect to the figure included in the target range by inputting the converted image data to the trained model.

[0008] Furthermore, in the label placement calculation device according to the present invention, it is preferable that the acquisition means further acquires a size of a label to be placed on each figure, the calculation means judges whether or not a label of the acquired size can be placed in the calculated label placement position, and the output means outputs placement information including the label placement position where it has been judged that the label can be placed.

[0009] Furthermore, in the label placement calculation device according to the present invention, it is preferable that the conversion means identifies, from among the figures included in the target range, figures whose shape will change when transformed, and converts the acquired figure data into image data so that the identified figures are not included, or so that the identified figures are given a color different from that of other figures.

[0010] Moreover, the label placement calculation device according to the present invention preferably further includes a storage means for storing training image data in which figures, colored according to the size of a label to be placed, are drawn using a plurality of pixels, and a trained model that has learned the relationship between the placement positions of labels of sizes corresponding to the colors of each figure relative to the figures included in the training image data, wherein the acquisition means further acquires the sizes of the labels to be placed on the figures included in the target range, the conversion means converts the acquired figure data into image data such that each figure is assigned a color corresponding to the size of the label to be placed on the figures included in the target range, and the calculation means calculates the placement positions of the labels relative to the figures included in the target range by inputting the generated image data to the trained model.

[0011] The program of the present invention is a computer program that causes the computer to function as: a storage means for storing graphic data indicating the coordinates of the vertices that constitute each of a plurality of graphics that represent features on a map; an acquisition means for acquiring graphic data of graphics included in a target range on the map, which are the subject of calculation of the placement positions of labels to be placed on each of the plurality of graphics; a conversion means for converting the acquired graphic data into image data that draws the graphics included in the target range using a plurality of pixels; a calculation means for calculating the placement positions of the labels relative to the graphics included in the target range based on the shapes of the graphics indicated by the image data; and an output means for outputting placement information including the calculated placement positions.

[0012] The label placement calculation method according to the present invention is characterized by including the steps of: storing, for each of a plurality of figures representing features on a map, figure data indicating the coordinates of vertices constituting each of the plurality of figures; acquiring figure data of figures included in a target range on the map, from among the plurality of figures, for which placement positions of labels to be placed on each figure are to be calculated; converting the acquired figure data into image data that renders the figures included in the target range using a plurality of pixels; calculating the placement positions of the labels with respect to the figures included in the target range based on the shapes of the figures indicated by the image data; and outputting placement information including the calculated placement positions. Effect of the Invention

[0013] A label placement calculation device, a program, and a label placement calculation method according to the present invention make it possible to calculate an appropriate label placement according to the shape of a figure representing a feature on a map. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a schematic diagram for explaining an overview of a label arrangement calculation device 1. [Diagram 2] FIG. 1 is a diagram illustrating an example of a schematic configuration of a label arrangement calculation device 1. [Diagram 3] 13 is a diagram showing an example of a data structure of a target graphic table T1. FIG. [Figure 4] FIG. 2 is a schematic diagram for explaining the processing of the conversion means 152. [Diagram 5] FIG. 2 is a schematic diagram for explaining the processing of the conversion means 152. [Figure 6] FIG. 7 is a diagram showing an example of an image 700. [Figure 7] FIG. 13 is a diagram showing an example of the data structure of output data T3. [Figure 8] FIG. 13 is a diagram showing an example of the data structure of candidate position data T4. [Figure 9] FIG. 13 is a schematic diagram for explaining a learning label arrangement. [Figure 10]FIG. 11 is a flowchart showing an example of the flow of a label placement calculation process. [Figure 11] FIG. 12 is a diagram showing an example of an image 1200. [Figure 12] FIG. 15 is a diagram showing an example of an image 1500. [Figure 13] FIG. 13 is a schematic diagram for explaining a learning label arrangement. [Figure 14] FIG. 11 is a flowchart showing an example of the flow of a label placement calculation process. [Figure 15] FIG. 13 is a diagram showing an example of the data structure of output data T5. [Figure 16] FIG. 13 is a diagram showing an example of the data structure of candidate position data T6. [Figure 17] FIG. 13 is a schematic diagram for explaining a learning label arrangement. [Figure 18] FIG. 11 is a flowchart showing an example of the flow of a label placement calculation process. [Figure 19] FIG. 13 is a schematic diagram for explaining a learning label arrangement. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, various embodiments of the present invention will be described with reference to the drawings. It should be noted that the technical scope of the present invention is not limited to the embodiments, but covers the inventions described in the claims and their equivalents.

[0016] (First embodiment) FIG. 1 is a schematic diagram for explaining an overview of a label placement calculation device 1 according to a first embodiment. The label placement calculation device 1 calculates the placement position of a label for a plurality of figures representing a feature on a map. Each of the plurality of figures is a closed area, for example, a polygonal area (polygon). The label is, for example, text information indicating a land address of a plot, but is not limited to such an example, and may be any information associated with the figure representing the feature, such as the name of a building or an explanation of the feature. The label placement calculation device 1 calculates the placement position of the label by identifying a label placement position indicating the center position of the label inside the figure representing the feature. The label placement calculation device 1 is an information processing device such as a PC (Personal Computer), a server, a tablet terminal, or a smartphone.

[0017] The label placement calculation device 1 acquires graphic data indicating a graphic included in a target range 110 for which a label placement position is to be calculated, among a plurality of graphics representing features on a map 100. The graphic data is data in a vector format indicating the coordinates of a plurality of vertices constituting the graphic.

[0018] The label placement calculation device 1 converts the acquired graphic data into image data, and calculates the placement position of the label 120 with respect to a graphic included in the target range 110 based on the converted image data. The image data is raster format data that renders a graphic included in the target range 110 using multiple pixels. The label placement calculation device 1 calculates the placement position of the label 120 by inputting the image data to a trained model that has learned the relationship between the learning image data that renders a graphic using multiple pixels and the placement positions of the label with respect to the graphic included in the learning data. The label placement calculation device 1 calculates the placement positions of the label 120 with respect to the multiple graphics by identifying a candidate position that is the center position of the label 120 for each of the multiple graphics.

[0019] 2 is a diagram illustrating an example of a schematic configuration of the label placement calculation device 1. The label placement calculation device 1 has a storage unit 11, a communication unit 12, a display unit 13, an operation unit 14, and a processing unit 15. The storage unit 11 is an example of a storage means.

[0020] The storage unit 11 is configured to store data and programs, and includes, for example, a semiconductor memory. The storage unit 11 stores an operating system program, a driver program, an application program, data, and the like used in processing by the processing unit 15. Programs are installed in the storage unit 11 from a computer-readable, non-transient portable storage medium such as a CD (Compact Disc)-ROM (Read Only Memory) or a DVD (Digital Versatile Disc)-ROM using a known setup program or the like. The storage unit 11 is an example of a storage means.

[0021] The storage unit 11 stores, as data, graphic data indicating the coordinates of vertices of a plurality of graphics representing features on a map, and information regarding labels to be placed on each graphic.

[0022] The communication unit 12 is a component that enables the label placement calculation device 1 to communicate with other devices, and includes a communication interface circuit. The communication interface circuit included in the communication unit 12 is a communication interface circuit for a wired LAN (Local Area Network) or a wireless LAN. The communication unit 12 receives data from other devices and supplies the data to the processing unit 15, and transmits the data supplied from the processing unit 15 to other devices.

[0023] The display unit 13 is configured to display an image, and includes, for example, a liquid crystal display or an organic EL (Electro-Luminescence) display. The display unit 13 displays an image based on the display data supplied from the processing unit 15.

[0024] The operation unit 14 is configured to receive an input operation by the user to the label placement calculation device 1, and includes, for example, a keypad, a keyboard, or a mouse. The operation unit 14 may include a touch panel integrated with the display unit 13. The operation unit 14 generates a signal according to the input operation by the user and supplies the signal to the processing unit 15.

[0025] The processing unit 15 is a device that comprehensively controls the operation of the label placement calculation device 1, and includes one or more processors and their peripheral circuits. The processing unit 15 is, for example, a CPU (Central Processing Unit). The processing unit 15 may be a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), an LSI (Large Scale Integration), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or the like. The processing unit 15 controls the operation of each component and executes various processes so that various processes of the label placement calculation device 1 are executed in an appropriate order based on the programs stored in the storage unit 11 and inputs from the communication unit 12 and the operation unit 14.

[0026] The processing unit 15 includes, as its functional blocks, an acquisition unit 151, a conversion unit 152, a calculation unit 153, an output unit 154, and a learning unit 155. Each of these units is a functional module realized by a program executed by the processing unit 15. Each of these units may be implemented in the label placement calculation device 1 as firmware.

[0027] The acquisition means 151 acquires graphic data indicating a graphic included in a target range for calculating the placement of a label among a plurality of graphics indicating a feature on a map. The acquisition means 151 also acquires character information and a size of the label included in the label to be placed on the graphic included in the target range. The graphic data is data used to indicate a graphic representing a feature on a map, and is, for example, data in a vector format.

[0028] The acquiring means 151 acquires a target range that is set in advance by a user and stored in the storage unit 11. The acquiring means 151 may acquire the target range by receiving an input operation of the target range on the operation unit 14 by the user.

[0029] The acquiring means 151 refers to the graphic data stored in the storage unit 11, and identifies a graphic having at least one vertex among a plurality of vertices constituting the graphic as a graphic included in the acquired target range. The acquiring means 151 acquires graphic data indicating the identified graphic and information on a label to be placed on the identified graphic, and stores the acquired graphic data in the storage unit 11 as a target graphic table T1.

[0030] FIG. 3 is a diagram showing an example of a data structure of the target graphic table T1 stored in the storage unit 11. The target graphic table T1 stores a graphic ID, vertex information, character information included in a label, and a size of the label in a mutually associated manner. The graphic ID is identification information that uniquely identifies each graphic. The vertex information is information including the coordinates of a plurality of vertices constituting each graphic and the adjacency relationship of the vertices. In the example shown in FIG. 3, the vertex information is arranged and stored in the order in which the vertices are adjacent, so that a graphic is drawn when the coordinates of the vertices are connected in order. The coordinates of the vertices are expressed by, for example, latitude and longitude. The coordinates of the vertices may be expressed using any other coordinate system. The size of the label is information that specifies the size of the label, such as the width and height of the label, and in the example shown in FIG. 3, it is the number of characters corresponding to the width of the label. In the following description, the height of the label is assumed to be constant, but the height of the label may differ for each label.

[0031] The conversion means 152 converts the acquired graphic data into image data. At that time, the conversion means 152 converts the acquired graphic data into image data so as not to include any graphic whose shape changes when the graphic data is converted (hereinafter, referred to as a graphic that is deformed by conversion).

[0032] To this end, the conversion means 152 acquires the image size of the converted image data. The image size is represented by a combination of the number of pixels in the horizontal direction and the number of pixels in the vertical direction of the image data. The conversion means 152 acquires the image size that is set in advance by the user and stored in the storage unit 11. The conversion means 152 may acquire the image size by receiving an input operation of the image size by the user via the operation unit 14.

[0033] Furthermore, the conversion means 152 specifies a graphic to be transformed by the conversion among the graphic included in the target range. The graphic to be transformed by the conversion is a graphic only partially included in the target range (hereinafter, a protruding graphic), as exemplified in Fig. 4, and a graphic in which the distance between two opposing sides constituting the graphic is equal to or less than a predetermined lower limit (hereinafter, a graphic having a narrow portion), as exemplified in Fig. 5. The two opposing sides refer to two sides constituting the graphic that do not share an end point.

[0034] 4, when a target range 411 is set on a map 410, vertices 413a and 413b of a rectangle 412 are included in the target range 411, and vertices 413c and 413d are not included in the target range 411. Therefore, when transformation is performed, the rectangle 412 changes to a trapezoid 421. Therefore, the transformation means 152 identifies the rectangle 412, only some of whose vertices are included in the target range 411, as a figure to be transformed by the transformation.

[0035] Also, for example, suppose that a figure 510 shown in Fig. 5 is included in the target range. The figure 510 is formed of two rectangular regions 511 and 512 and a connection portion 513 connecting the rectangular regions 511 and 512. The connection portion 513 has two opposing sides E1 and E2, and if the sides E1 and E2 are separated by a distance W that is equal to or less than the lower limit, the sides E1 and E2 are drawn as sides that connect to each other at an end point V in the image data 520 that is the conversion result near the connection portion 513. That is, when the conversion is performed, the figure 510 is divided into the rectangular region 512 and an area consisting of the rectangular region 511 and the connection portion 513, and the shape of the figure changes. Therefore, the conversion means 152 specifies the figure 510, in which the distance W between the sides E1 and E2 is equal to or less than the lower limit, as the figure to be transformed by the conversion.

[0036] This lower limit is a value based on the resolution of the image data and the width of a side of a figure in the image data. The conversion means 152 calculates the resolution of the image data, which indicates how much length on the map one pixel corresponds to, by dividing the length of one side of the target range by the number of pixels in the direction along that side of the image data. The conversion means 152 sets a value obtained by multiplying the resolution by the number of pixels corresponding to the width of each side of the figure, which is set in advance, as the lower limit. In the example of FIG. 5, the width of each side of the figure is 2 pixels, and if the resolution is 0.1 m / pixel, W is 0.2 m or less.

[0037] In this way, the conversion means 152 specifies a figure having a narrow portion as a figure to be transformed by the conversion. At this time, the conversion means 152 can specify, for example, a figure having two vertices that are not adjacent to each other and are close to each other at a distance equal to or less than a lower limit, as a figure having a narrow portion. The conversion means 152 may also specify, as a figure having a narrow portion, a figure having a vertex that does not belong to itself and a side that is close to each other at a distance equal to or less than a lower limit.

[0038] Furthermore, the conversion means 152 may specify only those figures that are significantly changed in shape among the figures that are transformed by the conversion. A figure that is significantly changed in shape refers to, for example, a figure with a protruding portion as shown in Fig. 4, in which the ratio of the area of ​​the region included in the target range to the area of ​​the entire figure is equal to or less than a predetermined value. Also, a figure that is significantly changed in shape refers to, for example, a figure with a narrow portion as shown in Fig. 5, in which the ratio of the area of ​​the smaller part of the divided figures to the area of ​​the larger part is equal to or less than a predetermined value.

[0039] The conversion means 152 converts the graphic data into image data so that the specified graphic is not included. The conversion means 152 extracts graphics other than the specified graphic from the target graphic table T1. The conversion means 152 specifies positions on the image corresponding to each vertex of the extracted graphic in the image data based on the positions of the vertices of the extracted graphic in the target range and the acquired resolution. The conversion means 152 generates image data T2 by drawing sides having a width of a preset number of pixels between each pixel specified as the vertices, and stores the image data T2 in the storage unit 11. Note that the method of converting graphic data into image data is not limited to the above-mentioned method. For example, the conversion means 152 may convert graphic data into image data by executing other known programs such as a map application program stored in advance in the storage unit 11.

[0040] Fig. 6 is a diagram showing an example of an image 700 shown by image data T2 generated by the conversion means 152 for the target range 411 shown in Fig. 4. The image 700 shows only three figures 701, with figures that are deformed by the conversion removed.

[0041] The calculation means 153 calculates the placement position of the label with respect to the figure included in the target range based on the image data generated by the conversion means 152. The calculation means 153 inputs the generated image data to the trained model stored in the storage unit 11, thereby calculating the placement position of the label with respect to the figure included in the target range, and stores the output data T3 output from the trained model in the storage unit 11.

[0042] The trained model is a training model that has learned the relationship between training image data and the placement positions of labels relative to figures included in the training image data by the training means 155 described later. The training model can be, for example, the Stacked Hourglass Networks described in Newell, A., Yang, K., Deng., J., "Stacked Hourglass Networks for Human Pose Estimation," arXiv: 1603.06937, 2016, which estimates posture by detecting multiple joint positions of the human body. The training model may be a model that is a conversion of any keypoint detection model such as PoseNet or PersonLab.

[0043] 7 is a diagram showing an example of the data structure of the output data T3. The output data T3 is two-dimensional heat map data in which pixel information that identifies a pixel is associated with a confidence level. The confidence level is a value indicating the probability that the position of each pixel is the center position of the label, and the larger the value, the higher the probability that the corresponding pixel is the center position of the label.

[0044] The calculation means 153 specifies a candidate position that is the center position of the label based on the output data T3. For example, the calculation means 153 specifies a position where the confidence is equal to or greater than a predetermined value and has a maximum value as a candidate position based on the output data T3. The position where the confidence is the maximum is determined by fitting a two-dimensional Gaussian function to the output data T3 using the least squares method and interpolating the confidence at the intermediate position of multiple pixels. The candidate position may be the same as the position of any pixel, or may be the intermediate position of multiple pixels. In addition, the method of interpolation is not limited to the above example, and methods such as fitting using other functions and linear interpolation may be used.

[0045] The calculation means 153 associates the multiple figures indicated by the image data with the candidate positions. The calculation means 153 uses an inside / outside determination technique such as an intersection number determination to identify which of the multiple figures the candidate pixel is located inside. The calculation means 153 calculates the number of candidate positions within each of the multiple figures.

[0046] When there is one candidate position inside the figure, the calculation means 153 associates the candidate position with the figure and stores it as candidate position data T4 in the storage unit 11. When there are multiple candidate positions inside the figure, the calculation means 153 identifies one candidate position that satisfies a predetermined condition from among the multiple candidate positions, and associates the identified candidate position with the figure and stores it as candidate position data T4 in the storage unit 11. In other words, the candidate position that does not satisfy the predetermined condition is not stored in the candidate position data T4.

[0047] The predetermined condition is that a label can be placed at the candidate position. In this case, the calculation means 153 judges whether or not a label can be placed at the candidate position. The calculation means 153 refers to the target graphic table T1 and acquires the size of the label of the graphic associated with the candidate position. The calculation means 153 sets a rectangular area centered on the candidate position and according to the acquired size of the label. The calculation means 153 judges whether or not the set rectangular area is contained in the corresponding graphic, thereby judging whether or not the label can be placed.

[0048] The predetermined condition may be that the candidate position shown in the output data T3 has the highest confidence. The predetermined condition may be that the distance between the candidate position and a vertex of the figure is the smallest. The predetermined condition may be a combination of the above-mentioned conditions. For example, the predetermined condition may be that the candidate position has the highest confidence among the candidate positions where the label can be placed.

[0049] FIG. 8 is a diagram showing an example of the data structure of candidate position data T4 stored in storage unit 11 by calculation means 153. Candidate position data T4 is data in which a graphic ID that identifies each of a plurality of graphics is associated with a corresponding candidate position. The candidate position may be a position in the graphic data (e.g., a position represented by latitude and longitude) or a position in the image data. Note that no candidate position is associated with the graphic ID of a graphic in which no candidate position is located. In the example shown in FIG. 8, no candidate position is associated with the graphic ID of "0003".

[0050] The output means 154 outputs the placement information including the calculated placement position of the label. The output means 154 outputs information related to the candidate position data T4 as the placement information. For example, the output means 154 refers to the target graphic table T1 to acquire character information of the label to be placed in each graphic. The output means 154 refers to the candidate position data T4 to acquire the candidate position corresponding to each graphic. The output means 154 generates label display data as placement information in which a label including character information is placed on image data including each graphic such that the candidate position of each graphic is at the center, and outputs the data by displaying it on the display unit 14.

[0051] The output means 154 may output the candidate position data T4 by transmitting it to another device as position information via the communication unit 12. The output means 154 may generate candidate position display data in which the candidate positions are displayed in a different manner in the image data generated by the conversion means 152 as position information, and output the data by displaying it on the display unit 13 or transmitting it to another device via the communication unit 12.

[0052] The learning means 155 trains a learning model to learn the relationship between the learning image data, which draws a figure using multiple pixels, and the learning label arrangement, which indicates the arrangement position of a label with respect to the figure included in the learning image data, to generate a trained model. The learning image data is data in a raster format similar to the image data. In other words, the learning image data is image data that does not include protruding figures and figures with narrow parts. The learning label arrangement is data that indicates the arrangement position of a label with respect to the figure included in the learning image data.

[0053] Fig. 9 is a schematic diagram for explaining the label arrangement for learning. In Fig. 9, labels 1002 (shown as rectangles in Fig. 9) are appropriately arranged one by one by the map creator for figures 1001 that are not deformed by conversion among figures included in the learning image data 1000. The label arrangement for learning is two-dimensional heat map data having a two-dimensional Gaussian type distribution of certainty such that the certainty of the center position 1003 of the label 1002, which corresponds to the label arrangement position, is maximized. Note that the shape of the certainty distribution is not limited to the two-dimensional Gaussian type, and may be any shape.

[0054] The learning means 155 inputs the learning image data to the learning model, and calculates the error between the confidence of each pixel output from the learning model and the confidence of each pixel indicated by the learning label arrangement. The error is, for example, a mean square error. The learning means 155 uses a method such as an error backpropagation method to have the learning model learn by updating the parameters of each node of the learning model, which is a neural network, so as to reduce the error, thereby generating a trained model. The learning means 155 stores the generated trained model in the storage unit 11.

[0055] 10 is a flow diagram showing an example of the flow of the label placement calculation process executed by the label placement calculation device 1. The label placement calculation process is realized by the processing unit 15 cooperating with each component of the label placement calculation device 1 based on a program stored in the storage unit 11.

[0056] First, the acquisition means 151 acquires graphic data of a graphic included in a target range for which the placement position of a label is to be calculated, from among a plurality of graphics representing features on a map (S101).

[0057] Next, the conversion means 152 specifies the geometrical features to be transformed by the conversion among the geometrical features included in the target range (S102). The conversion means 152 specifies the geometrical features that are protruding and those that have narrow portions as the geometrical features to be transformed by the conversion.

[0058] Next, the conversion means 152 converts the acquired graphic data into image data that renders the graphic included in the target range using multiple pixels (S103). The converted image data does not include the graphic identified in S102.

[0059] Next, the calculation means 153 calculates the placement position of the label with respect to the figure included in the target range based on the shape of the figure indicated by the image data (S104). The calculation means 153 calculates the placement position of the label by inputting the image data converted in S103 to the trained model stored in the storage unit 11.

[0060] Next, the output means 154 outputs placement information including the calculated placement positions of the labels (S105), and the label placement calculation process ends.

[0061] In the label placement calculation process, step S102 does not have to be executed. In this case, in step S103, the conversion means 152 generates image data including all figures included in the target area.

[0062] As described above, the label placement calculation device 1 stores the learning image data that draws a figure using multiple pixels, and a trained model that has learned the relationship between the learning image data and the placement position of the label with respect to the figure included in the learning image data. The label placement calculation device 1 also acquires figure data of a figure included in a target range for which the placement of the label is to be calculated, among multiple figures that represent features on a map. The label placement calculation device 1 also converts the acquired figure data into image data that draws the figure included in the target range using multiple pixels. The label placement calculation device 1 also inputs the image data into the trained model, thereby calculating the placement position of the label with respect to the figure included in the target range. This makes it possible for the label placement calculation device 1 to calculate an appropriate label placement according to the shape of the figure for a figure that represents a feature on a map.

[0063] That is, the label placement calculation device 1 uses a trained model to calculate the placement of the label, and can reproduce the placement of the label taking into account various conditions without setting an evaluation index. Conventionally, vector-formatted graphic data was not suitable as an input to a trained model that is a neural network. In contrast, the label placement calculation device 1 converts graphic data into raster-formatted image data, making it possible to use a trained model to calculate the placement position of the label, and to calculate an appropriate placement position of the label.

[0064] Furthermore, the label placement calculation device 1 identifies figures that are deformed by the conversion among figures included in the target range, and converts the figure data into image data so that the identified figures are not included. This makes it possible for the label placement calculation device 1 to calculate a more appropriate label placement, since the label placement based on the figure whose shape has changed is no longer calculated.

[0065] That is, since the placement position of the label is determined taking into consideration the overall shape of the figure, even if the placement position of the label is calculated based on the changed shape, it may not be an appropriate placement position of the label for the figure before the transformation. Therefore, there is little need to calculate the placement position of the label for a figure that is transformed by the transformation. And, when the image data contains transformed figures, unnecessary candidate positions corresponding to those figures are identified, so that appropriate candidate positions may not be identified. The label placement calculation device 1 converts the figure data into image data so as not to contain figures that are transformed by the transformation, thereby reducing the possibility of identifying unnecessary candidate positions and calculating a more appropriate label placement position.

[0066] In the above description, the conversion means 152 generates image data that does not include figures to be transformed by the conversion, but the present invention is not limited to this example. For example, the conversion means 152 may convert the figure data into image data such that the figures to be transformed by the conversion are given a color different from the colors of the other figures.

[0067] 11 is a diagram showing an example of an image 1100 in which a shape to be transformed by conversion is colored differently from other shapes. The image 1100 shows an overflowing shape 1101, a shape 1102 having a narrow portion, and other shapes 1103.

[0068] The overflowing graphic 1101 and the graphic 1102 having a narrow portion are given a color (shown by shading in FIG. 11) that is different from the color of the other graphic 1103.

[0069] In this case, the learning image data is data in which the protruding figures and figures having narrow parts are colored in a color different from the colors of the other figures. Also, the label placement positions in the learning label placement are not set inside the figures with different colors, but are set inside the other figures one by one.

[0070] In this way, the label placement calculation device 1 can calculate a more appropriate label placement. That is, in the learning image data, a color different from that of other shapes is assigned to the shape that is deformed by the transformation, and in the learning label placement, a label placement position is not set inside the shape that is assigned a different color. By using a trained model that has learned the relationship between such learning image data and the learning label placement, the calculation means 153 does not specify a candidate position for the shape that is assigned a different color. That is, the label placement calculation device 1 generates image data from which the shape that is deformed by the transformation is deleted, thereby reducing the possibility of specifying an unnecessary candidate position and calculating a more appropriate label placement position.

[0071] In the above description, the label placement position indicates the center position of the label, but is not limited to this example. The label placement position may indicate any position different from the center position of the label, such as the upper left position or the lower right position of the label.

[0072] In the above description, the label placement calculation device 1 has the learning means 155, but the label placement calculation device 1 does not need to have the learning means 155. In this case, the label placement calculation device 1 receives a trained model from another device via the communication unit 12.

[0073] In the above description, in the label placement calculation device 1, the calculation means 153 calculates the placement position of the label using a trained model, but this is not limited to the example. The calculation means 153 may calculate the placement position of the label using other image recognition techniques applicable to raster format image data. For example, the calculation means 153 may calculate the placement position of the label by specifying pixels corresponding to the sides of a figure using a known edge detection method and specifying candidate positions that have a predetermined positional relationship with the pixels corresponding to the specified sides.

[0074] Second embodiment The label placement calculation device 1a according to the second embodiment differs from the label placement calculation device 1 according to the first embodiment in that the label placement calculation device 1a converts graphic data into image data such that a color according to the size of the label to be placed on the graphic is applied to each graphic.

[0075] An example of the schematic configuration of the label placement calculation device 1a will be described. Note that the same components as those in the first embodiment are given the same reference numerals, and the description will be omitted as appropriate. The processing unit 15 of the label placement calculation device 1a includes an acquisition unit 151, a conversion unit 152a, a calculation unit 153, an output unit 154, and a learning unit 155a as its functional blocks.

[0076] The conversion means 152a converts the figure data included in the acquired target range into image data so that each figure is assigned a color according to the size of the label placed on the figure. The conversion means 152a specifies the figures to be transformed by the conversion, and converts the specified figures into image data so that a color that is not used as a color according to the label size is assigned to the specified figures.

[0077] Fig. 12 is a diagram showing an example of an image 1400 displayed by image data converted by the conversion means 152a. The image 1400 includes a graphic 1401 with a label "1-5", a graphic 1402 with a label "1-6", and a graphic 1403 with a label "1-11" (see Fig. 1). The labels of the graphics 1401 and 1402 are both "three characters", so the same color is applied to the graphics 1401 and 1402. The label of the graphic 1403 is "four characters", so the graphic 1403 is given a color different from the graphics 1401 and 1402 (illustrated in Fig. 12 by shading in different directions).

[0078] The color according to the size of the label is a color that changes continuously according to the size of the label. For example, the color assigned to the figure is set so that the brightness increases as the size of the label increases. The color assigned to the figure may be set to blue when the size of the label is small, and the hue may gradually change to red as the size of the label increases. Furthermore, for example, a figure that is deformed by the conversion is assigned black, indicating that it is not a target for label placement.

[0079] The learning means 155a trains a learning model to learn the relationship between the learning image data including figures colored according to the size of the label to be placed and the learning label arrangement indicating the arrangement position of the label with respect to the figure included in the learning image data, and generates a trained model. The colors applied to the figures included in the learning image data are colors that change continuously according to the size of the label and colors that indicate non-target label placement, similar to the colors applied to the figures included in the image data. The learning means 155a stores the generated trained model in the storage unit 11.

[0080] Fig. 13 is a schematic diagram for explaining the label arrangement for learning. In Fig. 13, labels 1502a to 1502c are appropriately arranged by a map creator one by one for figures 1501a to 1501c that are not deformed by conversion among figures included in the learning image data 1500. The labels 1502a to 1502c have different sizes, and are arranged so that the labels fit inside the figures while taking into consideration the respective sizes. The label arrangement for learning is two-dimensional heat map data having the certainty of a distribution of the sum of a plurality of two-dimensional Gaussian types such that the certainty of the center positions 1503a to 1503c of the labels 1502a to 1502c, which correspond to the label arrangement positions, is maximized.

[0081] 14 is a flow diagram showing an example of the flow of the label placement calculation process executed by the label placement calculation device 1a. The label placement calculation process is executed in a state where the trained model generated by the learning means 155a is stored in the storage unit 11. The label placement calculation process is realized by the processing unit 15 cooperating with each component of the label placement calculation device 1a based on the program stored in the storage unit 11.

[0082] First, the acquisition means 151 acquires graphic data indicating a graphic included in a target range for which the placement position of a label is to be calculated, from among a plurality of graphics representing features on a map, and the size of the label to be placed on the graphic included in the target range (S201).

[0083] Next, the conversion means 152a converts the acquired graphic data into image data so that graphics that are transformed by the conversion are colored black, and other graphics are colored in a color corresponding to the size of the label to be placed on the graphics (S202).

[0084] Next, the calculation means 153 calculates the placement position of the label with respect to the figure included in the target range based on the shape of the figure indicated by the image data (S203). The calculation means 153 inputs the converted image data to the trained model stored in the storage unit 11 to calculate the placement position of the label.

[0085] Next, the output means 154 outputs placement information including the calculated placement positions of the labels (S204), and the label placement calculation process ends.

[0086] As described above, the label placement calculation device 1a stores a trained model that has learned the relationship between learning image data that uses multiple pixels to draw a figure with a color according to the size of the label to be placed, and the placement position of a label with a size according to the color of each figure with respect to the figure included in the learning image data. The label placement calculation device 1a also acquires figure data indicating a figure included in a target range that is a target for calculating the placement position of a label among multiple figures that represent features on a map, and the size of a label to be placed on the figure included in the target range. The label placement calculation device 1a also converts the figure data into image data so that the figure data is assigned to each figure that is colored according to the size of the label to be placed on the figure included in the target range. The label placement calculation device 1a also inputs the image data into the trained model to calculate the placement position of the label with respect to the figure included in the target range. This makes it possible for the label placement calculation device 1 to calculate an appropriate placement position of a label with respect to a figure that represents a feature on a map, according to the shape of the figure and the size of the label to be placed.

[0087] That is, the figures included in the learning image data are colored according to the size of the label to be placed. The learning label placement is generated by taking into account the size of the label to be placed in each figure and placing the label so that it fits inside the figure. Therefore, the trained model learns the relationship between the color assigned to the figure and the placement position of the label taking into account the size of the label to be placed in the figure. The label placement calculation device 1a calculates the placement position of the label using such a trained model, thereby making it possible to calculate an appropriate placement position of the label taking into account the size of the label to be placed in addition to the shape of the figure.

[0088] In addition, the colors applied to the figures in the image data and the learning image data change continuously depending on the size of the label. This makes it possible for the trained model to calculate appropriate label positions according to the size of the label without having to learn the label positions for all colors, thereby improving learning efficiency.

[0089] (Third embodiment) The label placement calculation device 1b according to the third embodiment differs from the label placement calculation devices 1 and 1a according to the first and second embodiments in the following points. That is, the label placement calculation device 1b calculates the placement direction in addition to the placement position of the label. The placement direction is information indicating the degree to which the label is inclined with respect to a predetermined direction (for example, the horizontal direction). The label placement calculation device 1b calculates the placement position and placement direction of the label by calculating the top left position and top right position of the label.

[0090] An example of the schematic configuration of the label placement calculation device 1b will be described. Note that the same components as those in the first or second embodiment are denoted by the same reference numerals, and the description thereof will be omitted as appropriate. The processing unit 15 of the label placement calculation device 1b includes an acquisition unit 151, a conversion unit 152a, a calculation unit 153b, an output unit 154, and a learning unit 155b as its functional blocks.

[0091] The calculation means 153b calculates the arrangement position and arrangement direction of the label with respect to the figure included in the target range based on the image data. The calculation means 153b inputs the image data generated by the conversion means 152a to a trained model generated by a learning means 155b described later learning a training model and stored in the storage unit 11, and stores the output data T5 output from the trained model in the storage unit 11.

[0092] The learning model may be, for example, a Stacked Hourglass Networks to which Associate Embedding is applied, described in Newell, A., Huang, Z., Deng, J., "Associative Embedding: End-to-End Learning for Joint Detection and Grouping," NIPS 2017, 2017. The learning model may be another model capable of detecting key points and grouping the detected key points. As another model, for example, a two-stage model that estimates the postures of multiple people included in one image by sequentially detecting a person area and detecting joint positions in the detected person area may be used.

[0093] 15 is a diagram showing an example of the data structure of output data T5 stored in storage unit 11 by calculation means 153b. Output data T5 is four-channel two-dimensional heat map data in which pixel information is associated with a first confidence level, a first tag, a second confidence level, and a second tag. The first confidence level indicates the probability that the position of each pixel is the upper left position of the label. The second confidence level indicates the probability that the position of each pixel is the upper right position of the label. The first tag and the second tag are used to determine the group of the position of each pixel, as described later.

[0094] The calculation means 153b specifies a first candidate position that is the top left position of the label and a second candidate position that is the top right position of the label based on the output data T5. For example, the calculation means 153b specifies a position in the output data T5 where the first confidence level is equal to or greater than a predetermined value and has a maximum value as the first candidate position. The calculation means 153b also specifies a pixel in the output data T5 where the second confidence level is equal to or greater than a predetermined value and has a maximum value as the second candidate position. If the difference between the value of the first tag corresponding to the first candidate position and the value of the second tag corresponding to the second candidate position is equal to or less than a predetermined value, the calculation means 153b sets the first candidate position and the second candidate position as belonging to the same group.

[0095] In the example of FIG. 15, the pixel (X1, Y1) and the pixel (X3, Y3) are pixels whose first confidence level is equal to or greater than a predetermined value and whose value is a maximum value, and therefore the positions of these pixels are identified as the first candidate positions. The pixel (X2, Y2) and the pixel (X4, Y4) are pixels whose second confidence level is equal to or greater than a predetermined value and whose value is a maximum value, and therefore the positions of these pixels are identified as the second candidate positions. And, since the difference between the value of the first tag of the pixel (X1, Y1) and the value of the second tag of the pixel (X2, Y2) is equal to or less than a predetermined value, the calculation means 153b sets the position of the pixel (X1, Y1) and the position of the pixel (X2, Y2) as belonging to the same group. Similarly, the calculation means 153b sets the position of the pixel (X3, Y3) and the position of the pixel (X4, Y4) as belonging to the same group.

[0096] The first candidate position and the second candidate position belong to the same group when these positions indicate the top left position and the top right position of the same label, respectively.

[0097] The calculation means 153b associates the graphic with the first candidate position and the second candidate position. For example, when there is one each of the first candidate position and the second candidate position located inside the graphic and the first candidate position and the second candidate position belong to the same group, the calculation means 153b associates the graphic with the first candidate position and the second candidate position, and stores them as candidate position data T6 in the storage unit 11. Note that, when the midpoint position between the first candidate position and the second candidate position belonging to the same group is located inside the graphic, the calculation means 153b may associate the graphic with the first candidate position and the second candidate position, and store them as candidate position data T6.

[0098] When there are multiple combinations of first and second candidate positions that belong to the same group and are located inside the figure, the calculation means 153b identifies one combination that satisfies a predetermined condition from among the multiple combinations. The calculation means 153b generates candidate position data T6 by associating the identified combination of the first and second candidate positions with the figure, and stores it in the storage unit 11.

[0099] 16 is a diagram showing an example of the data structure of the candidate position data T6 stored in the storage unit 11 by the calculation means 153b. The candidate position data T6 is two-channel two-dimensional heat map data in which a first candidate position and a second candidate position are associated with a figure ID. Since the first candidate position is a position corresponding to the upper left position of the label and the second candidate position is a position corresponding to the upper right position of the label, the arrangement position and arrangement direction of the label are uniquely determined by identifying these positions. That is, the calculation means 153b calculates the arrangement position and arrangement direction of the label by generating the candidate position data T6.

[0100] The learning means 155b makes the learning model learn the relationship between the learning image data including figures colored according to the size of the labels to be placed and the learning label arrangement indicating the arrangement position and arrangement direction of the labels with respect to the figures included in the learning image data, and generates a trained model. The learning means 155b stores the generated trained model in the storage unit 11.

[0101] FIG. 17 is a schematic diagram for explaining the placement of learning labels. In FIG. 17, labels 2002a to 2002c are appropriately placed one by one by a map creator for figures 2001a to 2001c included in learning image data 2000. The labels 2002a to 2002c have different sizes, and are placed at appropriate positions and orientations so that the entire labels fit inside the figures, taking into consideration their sizes. In the example shown in FIG. 17, the labels 2002b and 2002c are placed at positions and orientations that are aligned with the left sides of the figures 2001b and 2001c. On the other hand, the label 2002a is placed at a position and orientation that is aligned with the upper side of the figure 2001a, since the left side of the figure 2001a is short.

[0102] The learning label arrangement is four-channel two-dimensional heat map data in which each pixel is associated with a first confidence level, a first tag, a second confidence level, and a second tag. The first confidence level has a distribution of a sum of multiple two-dimensional Gaussian shapes that is maximized at the top left positions 2003a-2003c of the labels 2002a-2002c, which correspond to the first label arrangement positions. The second confidence level has a distribution of a sum of multiple two-dimensional Gaussian shapes that is maximized at the top right positions 2004a-2004c of the labels 2002a-2002c, which correspond to the second label arrangement positions.

[0103] The learning means 155b calculates an error (pull loss) that indicates a larger value as the difference between the value of the first tag at the upper left position and the value of the second tag at the upper right position of the same label increases in heat map data output when learning image data is input to the learning model. The learning means 155b also calculates an error (push loss) that indicates a larger value as the difference between the value of the first tag at the upper left position or the value of the second tag at the upper right position of different labels decreases in the heat map data. The learning means 155b trains the learning model by updating the parameters of the learning model so that the error (grouping loss) calculated based on these errors becomes smaller. The trained model thus obtained outputs heat map data in which the values ​​of the first tag and the second tag belonging to the same label are the same value and the values ​​of the first tag and the second tag belonging to different labels are different values.

[0104] 18 is a flow diagram showing an example of the flow of the label placement calculation process executed by the label placement calculation device 1b. The label placement calculation process is executed in a state where the trained model generated by the learning means 155b is stored in the storage unit 11. The label placement calculation process is realized by the processing unit 15 cooperating with each component of the label placement calculation device 1b based on the program stored in the storage unit 11.

[0105] First, the acquisition means 151 acquires graphic data indicating a graphic included in a target range for which the placement position of a label is to be calculated, from among a plurality of graphics representing features on a map, and the size of the label to be placed on the graphic included in the target range (S301).

[0106] Next, the conversion means 152a converts the graphic data into image data so that a color according to the size of the label to be placed on each graphic included in the target range is applied to each graphic (S302).

[0107] Next, the calculation means 153b calculates the placement position and placement direction of the label with respect to the figure included in the target range based on the shape of the figure indicated by the generated image data (S303). The calculation means 153 calculates the placement position and placement direction of the label by inputting learning image data that uses multiple pixels to draw a figure with a color according to the size of the label to be placed, and image data converted into a trained model that has learned the relationship between the placement position and placement direction of the label with respect to the figure indicated by the learning image data.

[0108] Next, the output means 154 outputs placement information including the calculated placement position and placement direction of the label (S304), and ends the label placement calculation process. The output means 154 outputs candidate position data T6 as placement information. The output means 154 may generate and output, as placement information, label display data in which the label is placed at a placement position and placement direction based on the candidate position data T6 on image data showing a figure included in the target range.

[0109] As described above, the label placement calculation device 1b stores learning image data that uses multiple pixels to draw a figure with a color according to a label to be placed, and a trained model that has learned the relationship between the placement position and the placement direction of the label with respect to the figure included in the learning image data. The label placement calculation device 1b also acquires figure data indicating a figure included in a target range for which the placement of the label is to be calculated, among multiple figures representing features on a map. The label placement calculation device 1b also converts the figure data into image data so that each figure is colored according to the size of the label to be placed on the figure included in the target range. The label placement calculation device 1b also inputs the image data into the trained model to calculate the placement position and placement direction of the label with respect to the figure included in the target range. This makes it possible for the label placement calculation device 1b to calculate an appropriate placement position and placement direction of the label with respect to the figure representing a feature on a map, according to the shape of the figure and the size of the label to be placed.

[0110] In the above description, the label placement calculation device 1b calculates the top left position and top right position of the label, but this is not limited to this example. The label placement calculation device 1b may calculate the positions of any two points on the label that are different from the top left position and top right position. Even in this case, if the size of the label is known, the placement position and placement direction of the label are uniquely specified.

[0111] Alternatively, the label placement calculation device 1b may calculate the positions of three different points on the label. For example, the label placement calculation device 1b may calculate the top left position, the top right position, and the bottom left position of the label.

[0112] In this case, the trained model outputs a first confidence level indicating the probability that the position of each pixel is the upper left position of the label, a second confidence level indicating the probability that the position of each pixel is the upper right position of the label, and a third confidence level indicating the probability that the position of each pixel is the lower left position of the label, and outputs a first tag, a second tag, and a third tag indicating the group to which the position of each pixel belongs. In addition, the learning image data and the figures included in the image data are colored according to the width and height of the label to be placed. For example, in the image data, when a pixel value consisting of an RGB color system is associated with each pixel, the pixel value of R is set to a value that changes continuously according to the width of the label, and the pixel value of G is set to a value that changes continuously according to the height of the label. In this way, the label placement calculation device 1b can calculate an appropriate placement position and placement direction of the label according to the shape of the figure and the width and height of the label to be placed. Note that the image data is not limited to a one-channel grayscale image or a three-channel color image, and may be data having any number of channels.

[0113] Similarly, the label placement calculation device 1b may calculate the positions of four or more different points on the label. This allows the placement position and placement direction of the label to be specified with redundancy, so that the appropriate label placement can be calculated with higher accuracy.

[0114] In the above description, the label placement calculation device 1b uses the conversion means 152a similar to that in the second embodiment, but when the size of the labels is constant, the conversion means 152 similar to that in the first embodiment may be used instead. In that case, the learning means 155b performs learning using learning image data that is generated without coloring the figures according to the size of the labels.

[0115] In the above description, the label placement calculation device 1b calculates the placement position and the placement direction of the label so that the label fits inside the figure, but the present invention is not limited to this example. The label placement calculation device 1b may calculate the placement position of the label using a leader line.

[0116] FIG. 19 is a schematic diagram for explaining a learning label arrangement in the case where the arrangement position of a label using a leader line is calculated. In FIG. 19, a map creator appropriately arranges labels 2202 one by one on a figure 2201 included in learning image data 2200 using a leader line. The learning label arrangement is four-channel two-dimensional heat map data in which a first confidence level, a first tag, a second confidence level, and a second tag are associated with each pixel. The first confidence level has a distribution of a sum of a plurality of two-dimensional Gaussian types that is maximized at a start point position 2203 of the leader line. The second confidence level has a distribution of a sum of a plurality of two-dimensional Gaussian types that is maximized at an end point position (lower left position of the label) 2204 of the leader line. By using such a learning label arrangement, the label arrangement calculation device 1b can calculate an appropriate arrangement position of a label using a leader line according to the shape of a figure. The label placement calculation device 1b outputs placement information including the start position of a leader line and the end position of the leader line indicating the placement position of the label.

[0117] Furthermore, when calculating the placement of a label using a leader line, the label placement calculation device 1b may further calculate the bottom right position of the label. This enables the label placement calculation device 1b to calculate an appropriate placement position of the label using a leader line according to the shape of the figure and the size of the label.

[0118] It should be understood by those skilled in the art that various changes, substitutions, and modifications can be made to the present invention without departing from the spirit and scope of the present invention. For example, the processes of the above-described parts may be executed in different orders as appropriate within the scope of the present invention. Furthermore, the above-described embodiments and modifications may be combined as appropriate within the scope of the present invention. [Explanation of symbols]

[0119] 1. Label placement calculation device 11 Storage section 12 Communications Department 13 Display section 14 Control section 15 Processing section 151 Acquisition means 152 Generation means 153 Calculation Method 154 Output Method 155 Learning Tools

Claims

1. a storage means for storing, for each of a plurality of figures representing features on a map, graphic data indicating the coordinates of vertices constituting each of the figures, and further storing learning image data that draws the figures using a plurality of pixels, and a trained model that has learned the relationship between the placement positions of labels with respect to the figures represented by the learning image data; an acquisition means for acquiring graphic data of a graphic included in a target range of the map, the graphic data being used to calculate a placement position of a label to be placed on each of the plurality of graphics; a conversion means for converting the acquired graphic data into image data for drawing the graphic included in the target range using a plurality of pixels; A calculation means for calculating a placement position of a label with respect to a figure included in the target range by inputting the converted image data into the trained model; an output means for outputting arrangement information including the calculated arrangement position; A label placement calculation device comprising:

2. The acquiring means further acquires a size of a label to be placed on each figure; the calculation means determines whether or not a label having the acquired size can be placed at the calculated label placement position; the output means outputs placement information including placement positions of the labels determined to be able to be placed. The label placement calculation device according to claim 1 .

3. a storage means for storing, for each of a plurality of figures representing features on a map, graphic data indicating coordinates of vertices constituting each of the figures; an acquisition means for acquiring graphic data of a graphic included in a target range of the map, the graphic data being used to calculate a placement position of a label to be placed on each of the plurality of graphics; a conversion means for converting the acquired graphic data into image data for drawing the graphic included in the target range using a plurality of pixels; a calculation means for calculating a placement position of a label with respect to a figure included in the target range based on a shape of the figure represented by the image data; an output means for outputting arrangement information including the calculated arrangement position; having the conversion means identifies a graphic that will change in shape when the conversion is performed among the graphics included in the target range, and converts the acquired graphic data into the image data so that the identified graphic is not included or so that the identified graphic is colored in a different color from other graphics. A label placement calculation device comprising:

4. a storage means for storing, for each of a plurality of figures representing features on a map, graphic data indicating the coordinates of vertices constituting each of the figures, and further storing learning image data in which a graphic colored according to the size of a label to be placed is drawn using a plurality of pixels, and a trained model that has learned the relationship between the placement positions of labels having sizes according to the colors of each of the figures with respect to the figures included in the learning image data; an acquisition means for acquiring graphic data of a graphic included in a target range of the map, the graphic data being used to calculate a placement position of a label to be placed on each graphic, and a size of the label to be placed on the graphic; a conversion means for converting the acquired graphic data into image data so that a graphic included in the target range is drawn using a plurality of pixels and a color corresponding to the size of a label to be placed on the graphic is applied to each graphic; A calculation means for calculating a placement position of a label with respect to a figure included in the target range by inputting the converted image data into the trained model; an output means for outputting arrangement information including the calculated arrangement position; A label placement calculation device comprising:

5. A program for a computer, comprising: a storage means for storing, for each of a plurality of figures representing features on a map, graphic data indicating the coordinates of vertices constituting each of the figures, and further storing learning image data that draws the figures using a plurality of pixels, and a trained model that has learned the relationship between the placement positions of labels with respect to the figures represented by the learning image data; an acquisition means for acquiring graphic data of a graphic included in a target range of the map, the graphic data being used to calculate a placement position of a label to be placed on each of the plurality of graphics; a conversion means for converting the acquired graphic data into image data for drawing the graphic included in the target range using a plurality of pixels; A calculation means for calculating a placement position of a label with respect to a figure included in the target range by inputting the converted image data into the trained model; an output means for outputting arrangement information including the calculated arrangement position; A program characterized by causing the program to function as a

6. storing, for each of a plurality of figures representing features on a map, graphic data indicating the coordinates of vertices constituting each of the figures, and further storing a trained model that has learned a relationship between training image data that draws the figures using a plurality of pixels and the placement positions of labels relative to the figures represented by the training image data; acquiring graphic data of a graphic included in a target range of the map, the graphic data being used to calculate a placement position of a label to be placed on each of the graphic figures; converting the acquired graphic data into image data that renders the graphic included in the target range using a plurality of pixels; A step of calculating a placement position of a label with respect to a figure included in the target range by inputting the converted image data into the trained model; outputting placement information including the calculated placement position; A method for calculating a label placement, comprising:

Citation Information

Patent Citations

  • Generating method and updating method for electronic map

    JP1999242430A

  • Output controller and its method, and computer program

    JP2002351311A

  • Position display method and navigation system

    JP2005037128A

  • Map information processor, navigation device, map information processing method and program

    JP2012168069A

  • Map information processing device, map information processing system, map information processing method and program

    JP2014032308A