Color migration method for urban and rural planning online base map

By building a color migration calculation model on the client, the problem of low color adjustment efficiency of urban and rural planning online base maps is solved, intelligent and fast color migration and color coordination are achieved, and the display effect of urban and rural planning online base maps is improved.

CN118918197APending Publication Date: 2024-11-08JIANGSU INST OF URBAN PLANNING & DESIGN
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411099665.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing online base map of urban and rural planning is difficult to adjust colors intelligently and quickly, and a large number of map tiles are involved in the generation, resulting in low color adjustment efficiency.

Method used

The color migration calculation model is constructed by the client, including the overall image color migration model M1 and the local image color migration model M2, the map tile service is generated through the server, and the color migration process is performed on the client, and the color is used to use RGB and LAB color spaces for color. Conversion and clustering processing to achieve intelligent and fast color adjustment.

Benefits of technology

It realizes intelligent and fast color migration of online base maps of urban and rural planning, improves color adjustment efficiency and effect, and ensures the color coordination of multiple map tiles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118918197A_ABST
    Figure CN118918197A_ABST
Patent Text Reader

Abstract

The invention discloses a color migration method for an urban and rural planning online base map, and relates to the technical fields of urban planning, geographic information systems, smart city digital bases and the like. The method comprises the following steps: firstly, generating an urban and rural planning online base map into a map tile service at a server side; secondly, the client downloads map tiles from the map tile service of the server according to the map display range; thirdly, the client constructs a color migration calculation model according to the input image; and finally, the client performs color migration processing on all the downloaded map tiles according to the color migration calculation model. And drawing the map tile after the color migration processing on the client. According to the method, the color migration of the urban and rural planning online base map can be intelligently and quickly realized through the given image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of urban planning, geographic information system, smart city digital base and the like, and in particular to a color migration method for an online base map of urban and rural planning. Background Art

[0002] The online base map of urban and rural planning usually includes online remote sensing images, road network maps, planning maps, etc., and is mostly provided to users in the form of map tiles. Map tiles are essentially images in a picture format and do not have the flexible and editable characteristics of vector spatial data. In practical applications, in order to better enhance the display richness of the online base map of urban and rural planning and improve its practicality, it is necessary to dynamically adjust the color of the map tiles related to the online base map of urban and rural planning. On the other hand, when the online base map of urban and rural planning is generated, multiple map display levels are involved, and the number of related map tiles generated is also very large, which requires the ability to automatically adjust the color of the online base map of urban and rural planning intelligently and quickly. Summary of the invention

[0003] The technical problem to be solved by the present invention is to overcome the deficiencies of the prior art and provide a color migration method for an online base map of urban and rural planning. The present invention can intelligently and quickly realize the color migration of an online base map of urban and rural planning through a given image.

[0004] The present invention adopts the following technical solutions to solve the above technical problems:

[0005] A color migration method for an online base map of urban and rural planning proposed in the present invention comprises the following steps:

[0006] Step 1: Generate the urban and rural planning online base map as a map tile service on the server side;

[0007] Step 2: The client downloads map tiles from the map tile service on the server side according to the map display range;

[0008] Step 3: The client constructs a color migration calculation model based on the input image;

[0009] Step 4: The client implements color migration processing for all downloaded map tiles according to the color migration calculation model;

[0010] Step 5: The client draws the map tiles after color migration processing.

[0011] As a further optimization scheme of the color migration method of an online base map of urban and rural planning described in the present invention, step 1 is specifically as follows:

[0012] Step 1.1: Organize the urban and rural planning online base map in ArcGIS MXD format on the server side;

[0013] Step 1.2: Publish the urban and rural planning online base map organized in step 1.1 as a map tile service that can be displayed at multiple map scales through ArcGIS Server service. The map tile service uses the RGB color space mode.

[0014] As a further optimization scheme of the color migration method of an online base map of urban and rural planning described in the present invention, step 2 is specifically as follows:

[0015] Step 2.1, calculate the map tile number to be downloaded and the corresponding download address according to the geographic coordinate range of the study area and the zoom level of the map display;

[0016] Step 2.2, then download each map tile according to its number and download address, and save the map tile to a local disk file.

[0017] As a further optimization scheme of the color migration method of an online base map of urban and rural planning described in the present invention, in step 3, the color migration calculation model includes an overall image color migration model M1 of a map tile and a local image color migration model M2 of a map tile, wherein the specific steps of constructing M1 and M2 are as follows:

[0018] Through an image X, the calculation process of constructing the overall image color migration model M1 and M1 of the map tile is:

[0019] Assume that L0, A0, and B0 are the pixel values ​​on the L, A, and B channels of the map tile, respectively; L2, A2, and B2 are the pixel values ​​on the L, A, and B channels of the map tile after the color migration processing of the overall image color migration model M1;

[0020] ml, ma, mb are the mean values ​​of the pixel values ​​of the map tiles on the L, A, and B channels respectively; ml', ma', mb' are the mean values ​​of the pixel values ​​of the image X on the L, A, and B channels respectively;

[0021] nl, na, nb are the standard deviations of the pixel values ​​of the map tiles on the L, A, and B channels respectively; nl', na', nb' represent the standard deviations of the pixel values ​​of the image X on the L, A, and B channels;

[0022] The pixel values ​​of the L, A, and B channels of the map tiles after color migration are:

[0023] L2=(nl' / nl)*(L0–ml)+ml'

[0024] A2=(na' / na)*(A0–ma)+ma'

[0025] B2=(nb' / nb)*(B0–mb)+mb'

[0026] Through another image Y, a local image color migration model M2 of the map tile is constructed; the pixel values ​​of the L, A, and B channels of the map tile after color migration in M2 are respectively:

[0027] L2'=(nl' / nl)*(L0–ml)+ml'+R

[0028] A2'=(na' / na)*(A0–ma)+ma'

[0029] B2'=(nb' / nb)*(B0–mb)+mb'

[0030] Among them, R is the brightness adjustment value, L2', A2', and B2' are the pixel values ​​of the map tile on the L, A, and B channels after the color migration processing of the local image color migration model M2.

[0031] As a further optimization scheme of the color migration method of an online base map of urban and rural planning described in the present invention, in step 3, the color migration calculation model includes an overall image color migration model M1 of a map tile and a local image color migration model M2 of a map tile, wherein the specific steps of constructing M1 and M2 are as follows:

[0032] Through an image X, the calculation process of constructing the overall image color migration model M1 and M1 of the map tile is:

[0033] Assume that L0, A0, and B0 are the pixel values ​​on the L, A, and B channels of the map tile, respectively; L2, A2, and B2 are the pixel values ​​on the L, A, and B channels of the map tile after the color migration processing of the overall image color migration model M1;

[0034] ml1, ma1, mb1 are the mean values ​​of the pixel values ​​of multiple adjacent map tiles on the L, A, and B channels respectively; ml', ma', mb' are the mean values ​​of the pixel values ​​of image X on the L, A, and B channels respectively;

[0035] nl1, na1, nb1 are the standard deviations of the pixel values ​​of multiple adjacent map tiles on the L, A, and B channels respectively; nl', na', nb' represent the standard deviations of the pixel values ​​of image X on the L, A, and B channels respectively;

[0036] The pixel values ​​of the L, A, and B channels of the map tiles after color migration are:

[0037] L2=(nl' / nl1)*(L0–ml1)+ml'

[0038] A2=(na' / na1)*(A0–ma1)+ma'

[0039] B2=(nb' / nb1)*(B0–mb1)+mb'

[0040] Through another image Y, a local image color migration model M2 of the map tile is constructed; the pixel values ​​of the L, A, and B channels of the map tile after color migration in M2 are respectively:

[0041] L2'=(nl' / nl1)*(L0–ml1)+ml'+R

[0042] A2'=(na' / na1)*(A0–ma1)+ma'

[0043] B2'=(nb' / nb1)*(B0–mb1)+mb'

[0044] Among them, R is the brightness adjustment value, L2', A2', and B2' are the pixel values ​​of the map tile on the L, A, and B channels after the color migration processing of the local image color migration model M2.

[0045] As a further optimization scheme of the color migration method of an online base map of urban and rural planning described in the present invention, step 4 is specifically as follows:

[0046] Step 4.1, the client converts the color space of each map tile into the LAB color space for all downloaded map tiles, and then performs clustering processing on the pixel values ​​in the LAB color space of the map tiles, and automatically extracts the class with the highest average pixel value in the clustering result as the pixel part for calculation of the local image color migration model;

[0047] Step 4.2: For each map tile, first use model M1 to perform overall image color migration conversion calculation, and the calculation result is recorded as result1; then use model M2 to perform overall image color migration conversion calculation, and the calculation result is recorded as result2;

[0048] Step 4.3, respectively convert the color space of result1 and result2 into the RGB color space mode, and record the conversion results as result1a and result2 respectively; then superimpose result1a and result2a to obtain a new map tile.

[0049] As a further optimization scheme of the color migration method of the online base map of urban and rural planning described in the present invention, in step 4.3, during the overlay calculation, the pixel value of result2a is taken as the final overlay calculation result value.

[0050] As a further optimization scheme of the color migration method of an online base map of urban and rural planning described in the present invention, step 5 is as follows:

[0051] The client selects the map tiles after color migration according to the map display level and geographic space range;

[0052] The client draws the filtered color migration processed map tiles according to the geographic coordinate file of the map tiles.

[0053] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:

[0054] (1) The present invention provides a method for color migration of an online base map of urban and rural planning, which can realize the color migration of an online base map of urban and rural planning intelligently and quickly;

[0055] (2) Based on the technical idea of ​​combining image color migration and conversion processing technology with map tile data organizational structure characteristics, the present invention proposes a color migration method for online base maps of urban and rural planning. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a schematic diagram of the overall process of the present invention.

[0057] Figure 2 It is a schematic diagram of the map tile color migration process of the present invention.

[0058] Figure 3 It is a schematic diagram of an original map tile in the example of the present invention.

[0059] Figure 4 FIG. 1 is a schematic diagram of an example image of image X in an example of the present invention.

[0060] Figure 5 It is a schematic diagram of an example image of image Y in an example of the present invention.

[0061] Figure 6 Schematic diagram of map tiles after color migration in an example of the present invention.

[0062] Figure 7 It is a schematic diagram of the new map tile generation process of the present invention. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0064] Since the map tiles can exist in the form of raster images, the present invention focuses on using the image migration algorithm to change the color of the tile map through two specified reference images. For the color migration of a single map tile, the present invention is specifically divided into two models for color migration processing. Among them, one model is used for the overall image color migration, and the other model is used for the color migration processing of the specified part.

[0065] Step 1: See attached Figure 1 , generating the urban and rural planning online base map as a map tile service on the server side;

[0066] Step 1.1: Organize the online base map of urban and rural planning in ArcGIS MXD format on the server side. Since ArcGIS MXD format files can be quickly generated as map services, the present invention uses this software by default to generate map tile services of the online base map of urban and rural planning.

[0067] Step 1.2: Publish the urban and rural planning online base map organized in step 1.1 as a map tile service that can be displayed at multiple map scales through ArcGIS Server service. The map tile service uses the RGB color space mode. In this step, the ArcGIS MXD format file is published as an ArcGIS Server service, which can be provided to users in the form of map tiles.

[0068] Step 2: The client downloads map tiles from the map tile service on the server side according to the map display range;

[0069] Step 2.1: Calculate the map tile number and the corresponding download address according to the geographic coordinate range of the study area and the zoom level of the map display. The map tile download is related to the zoom level of the map. At the same time, all the relevant map tiles in the study area have numbers and corresponding download addresses. Therefore, it is necessary to calculate these basic download information first.

[0070] Step 2.2: Then, for each map tile, download it according to its number and download address, and save it to a local disk file. According to the basic information downloaded in step 2.1, the relevant map tiles can be downloaded to a local disk file for further color migration processing.

[0071] Step 3, see attached Figure 2 The client constructs a color migration calculation model based on the input image. The present invention proposes that two color migration models are needed. One color migration model is used for the color migration processing of the entire map tile, and the other color migration model is used for the color migration processing of the local map tile. To this end, the present invention further provides the specific implementation steps of the two color migration models M1 and M2.

[0072] In step 3, the color migration calculation model includes an overall image color migration model M1 of the map tile and a local image color migration model M2 of the map tile, wherein the specific steps of constructing M1 and M2 are as follows:

[0073] Through an image X, the overall image color migration model M1 of the map tile is constructed. The calculation process of M1 is:

[0074] Assume that L0, A0, and B0 are the pixel values ​​on the L, A, and B channels of the map tile, respectively; L2, A2, and B2 are the pixel values ​​on the L, A, and B channels of the map tile after the color migration processing of the overall image color migration model M1;

[0075] ml, ma, mb are the mean values ​​of the pixel values ​​of the map tiles on the L, A, and B channels; ml', ma', mb' are the mean values ​​of the pixel values ​​of the image X on the L, A, and B channels respectively;

[0076] nl, na, nb are the standard deviations of the pixel values ​​of the map tiles on the L, A, and B channels respectively; nl', na', nb' represent the standard deviations of the pixel values ​​of the image X on the L, A, and B channels;

[0077] The pixel values ​​of the L, A, and B channels of the map tiles after color migration are:

[0078] L2=(nl' / nl)*(L0–ml)+ml'

[0079] A2=(na' / na)*(A0–ma)+ma'

[0080] B2=(nb' / nb)*(B0–mb)+mb'

[0081] Through another image Y, a local image color migration model M2 of the map tile is constructed. After the color migration in M2, the pixel values ​​of the L, A, and B channels of the map tile are:

[0082] L2'=(nl' / nl)*(L0–ml)+ml'+R

[0083] A2'=(na' / na)*(A0–ma)+ma'

[0084] B2'=(nb' / nb)*(B0–mb)+mb'

[0085] Among them, R is the brightness adjustment value, L2', A2', and B2' are the pixel values ​​of the map tile on the L, A, and B channels after the color migration processing of the local image color migration model M2.

[0086] In practical applications, when the colors of adjacent map tiles are quite different, it is necessary to consider the color characteristics of multiple adjacent map tiles for color migration calculation. The benefit of this invention design is that multiple adjacent map tiles can be processed for color migration according to a more unified standard, that is, this will prevent multiple adjacent tile maps from having large differences after color migration, and improve the overall color effect of the original adjacent map tiles. In other words, when multiple adjacent tile maps are displayed together, the colors will be more coordinated.

[0087] Then step 3 can also be performed according to the following process. The color migration calculation model includes the overall image color migration model M1 of the map tile and the local image color migration model M2 of the map tile, wherein the specific steps of constructing M1 and M2 are as follows:

[0088] Through an image X, the calculation process of constructing the overall image color migration model M1 and M1 of the map tile is:

[0089] Assume that L0, A0, and B0 are the pixel values ​​on the L, A, and B channels of the map tile, respectively; L2, A2, and B2 are the pixel values ​​on the L, A, and B channels of the map tile after the color migration processing of the overall image color migration model M1;

[0090] ml1, ma1, mb1 are the mean values ​​of the pixel values ​​of multiple adjacent map tiles on the L, A, and B channels respectively; ml', ma', mb' are the mean values ​​of the pixel values ​​of image X on the L, A, and B channels respectively;

[0091] nl1, na1, nb1 are the standard deviations of the pixel values ​​of multiple adjacent map tiles on the L, A, and B channels respectively; nl', na', nb' represent the standard deviations of the pixel values ​​of image X on the L, A, and B channels respectively;

[0092] The pixel values ​​of the L, A, and B channels of the map tiles after color migration are:

[0093] L2=(nl' / nl1)*(L0–ml1)+ml'

[0094] A2=(na' / na1)*(A0–ma1)+ma'

[0095] B2=(nb' / nb1)*(B0–mb1)+mb'

[0096] Through another image Y, a local image color migration model M2 of the map tile is constructed; the pixel values ​​of the L, A, and B channels of the map tile after color migration in M2 are respectively:

[0097] L2'=(nl' / nl1)*(L0–ml1)+ml'+R

[0098] A2'=(na' / na1)*(A0–ma1)+ma'

[0099] B2'=(nb' / nb1)*(B0–mb1)+mb'

[0100] Among them, R is the brightness adjustment value, L2', A2', and B2' are the pixel values ​​of the map tile on the L, A, and B channels after the color migration processing of the local image color migration model M2.

[0101] Step 4: The client implements color migration processing for all downloaded map tiles according to the color migration calculation model;

[0102] Step 4.1, the client converts the color space of each map tile into the LAB color space for all downloaded map tiles, and then performs clustering processing on the pixel values ​​in the LAB color space of the map tiles, and automatically extracts the class with the highest average pixel value in the clustering result as the pixel part for calculation of the local image color migration model;

[0103] Step 4.2, see attached Figure 6 , for each map tile, first use model M1 to perform the overall image color migration conversion calculation, and the calculation result is recorded as result1; then use model M2 to perform the overall image color migration conversion calculation, and the calculation result is recorded as result2;

[0104] Step 4.3: Convert the color space of result1 and result2 to RGB color space mode respectively, and record the conversion results as result1a and result2 respectively; then overlay result1a and result2a to obtain a new map tile. When overlaying, take the pixel value of result2a as the final overlay calculation result value.

[0105] Attached Figure 3 Schematic diagram of an original map tile in the present invention. Figure 4 FIG. 1 is a schematic diagram of an example image of image X in an example of the present invention. Figure 5 FIG. 1 is a schematic diagram of an example image of image Y in an example of the present invention. Figure 6 Schematic diagram of map tiles after color migration in the example of the present invention. From the comparison before and after the map tile color migration process, it can be seen that the image color of the map tile has undergone certain changes, and the brightness of the local area has been enhanced.

[0106] Figure 7This is a schematic diagram of the new map tile generation process of the present invention. This figure mainly shows that after a tile map is processed by models M1 and M2, it is merged into a new tile map by image superposition.

[0107] Step 5: The client draws the map tiles after color migration processing.

[0108] The client selects the map tiles after color migration according to the map display level and geographic space range;

[0109] The client draws the filtered map tiles after color migration processing according to the geographic coordinate file of the map tiles.

[0110] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention.

Claims

1. A color migration method for online base maps of urban and rural planning, It is characterized in that The following steps are involved: Step 1: Generate the urban and rural planning online base map as a map tile service on the server side; Step 2: The client downloads map tiles from the map tile service on the server according to the map display range; Step 3: The client constructs a color migration calculation model based on the input image; Step 4: The client implements color migration processing for all downloaded map tiles according to the color migration calculation model; Step 5: The client draws the map tiles after color migration processing.

2. The color migration method of an online base map of urban and rural planning according to claim 1, It is characterized in that Step 1 is as follows: Step 1.1: Organize the urban and rural planning online base map in ArcGIS MXD format on the server side; Step 1.2: Publish the urban and rural planning online base map organized in step 1.1 as a map tile service that can be displayed at multiple map scales through ArcGIS Server service. The map tile service uses the RGB color space mode.

3. The color migration method of an online base map for urban and rural planning according to claim 1, It is characterized in that Step 2 is as follows: Step 2.1, calculate the map tile number to be downloaded and the corresponding download address according to the geographic coordinate range of the study area and the zoom level of the map display; Step 2.2, then download each map tile according to its number and download address, and save the map tile to a local disk file.

4. The color migration method of an online base map for urban and rural planning according to claim 1, It is characterized in that In step 3, the color migration calculation model includes the overall image color migration model M1 of the map tile and the local image color migration model M2 of the map tile, wherein the specific steps of constructing M1 and M2 are as follows: Through an image X, the calculation process of constructing the overall image color migration model M1 and M1 of the map tile is: Assume that L0, A0, and B0 are the pixel values ​​on the L, A, and B channels of the map tile, respectively; L2, A2, and B2 are the pixel values ​​on the L, A, and B channels of the map tile after the color migration processing of the overall image color migration model M1; ml, ma, mb are the mean values ​​of the pixel values ​​of the map tiles on the L, A, and B channels respectively; ml', ma', mb' are the mean values ​​of the pixel values ​​of the image X on the L, A, and B channels respectively; nl, na, nb are the standard deviations of the pixel values ​​of the map tiles on the L, A, and B channels respectively; nl', na', nb' represent the standard deviations of the pixel values ​​of the image X on the L, A, and B channels; The pixel values ​​of the L, A, and B channels of the map tiles after color migration are: L2=(nl' / nl)*(L0–ml)+ml' A2=(na' / na)*(A0–ma)+ma' B2=(nb' / nb)*(B0–mb)+mb' Through another image Y, a local image color migration model M2 of the map tile is constructed; the pixel values ​​of the L, A, and B channels of the map tile after color migration in M2 are respectively: L2'=(nl' / nl)*(L0–ml)+ml'+R A2'=(na' / na)*(A0–ma)+ma' B2'=(nb' / nb)*(B0–mb)+mb' Among them, R is the brightness adjustment value, L2', A2', and B2' are the pixel values ​​of the map tile on the L, A, and B channels after the color migration processing of the local image color migration model M2.

5. The color migration method of an online base map for urban and rural planning according to claim 1, It is characterized in that In step 3, the color migration calculation model includes the overall image color migration model M1 of the map tile and the local image color migration model M2 of the map tile, wherein the specific steps of constructing M1 and M2 are as follows: Through an image X, the calculation process of constructing the overall image color migration model M1 and M1 of the map tile is: Assume that L0, A0, and B0 are the pixel values ​​on the L, A, and B channels of the map tile, respectively; L2, A2, and B2 are the pixel values ​​on the L, A, and B channels of the map tile after the color migration processing of the overall image color migration model M1; ml 1 、ma 1 mb 1 are the mean values ​​of the pixel values ​​of multiple adjacent map tiles on the L, A, and B channels respectively; ml', ma', and mb' are the mean values ​​of the pixel values ​​of image X on the L, A, and B channels respectively; nl 1 、na 1 、nb 1 are the standard deviations of the pixel values ​​of multiple adjacent map tiles on the L, A, and B channels respectively; nl', na', and nb' represent the standard deviations of the pixel values ​​of image X on the L, A, and B channels respectively; The pixel values ​​of the L, A, and B channels of the map tiles after color migration are: <h2 style=";text-align:left;direction:ltr">L2=(nl' / nl<h2 style=";text-align:left;direction:ltr"> 1 <h2 style=";text-align:left;direction:ltr"> )*(L0–ml<h2 style=";text-align:left;direction:ltr"> 1 <h2 style=";text-align:left;direction:ltr"> )+ml' A2=(by' / by 1 )*(A0–in 1 )+on' <h2 style=";text-align:left;direction:ltr">B2=(nb' / nb<h2 style=";text-align:left;direction:ltr"> 1 <h2 style=";text-align:left;direction:ltr"> )*(B0–mb<h2 style=";text-align:left;direction:ltr"> 1 <h2 style=";text-align:left;direction:ltr"> )+mb' Through another image Y, a local image color migration model M2 of the map tile is constructed; the pixel values ​​of the L, A, and B channels of the map tile after color migration in M2 are respectively: <h2 style=";text-align:left;direction:ltr">L2' = (nl' / nl<h2 style=";text-align:left;direction:ltr"> 1 <h2 style=";text-align:left;direction:ltr"> )*(L0–ml<h2 style=";text-align:left;direction:ltr"> 1 <h2 style=";text-align:left;direction:ltr"> )+ml'+R A2'=(by' / by 1 )*(A0–in 1 )+on' <h2 style=";text-align:left;direction:ltr">B2'=(nb' / nb<h2 style=";text-align:left;direction:ltr"> 1 <h2 style=";text-align:left;direction:ltr"> )*(B0–mb<h2 style=";text-align:left;direction:ltr"> 1 <h2 style=";text-align:left;direction:ltr"> )+mb' Among them, R is the brightness adjustment value, L2', A2', and B2' are the pixel values ​​of the map tile on the L, A, and B channels after the color migration processing of the local image color migration model M2.

6. The color migration method of an online base map of urban and rural planning according to claim 1, It is characterized in that Step 4 is as follows: Step 4.1, the client converts the color space of each map tile into the LAB color space for all downloaded map tiles, and then performs clustering processing on the pixel values ​​in the LAB color space of the map tiles, and automatically extracts the class with the highest average pixel value in the clustering result as the pixel part for calculation of the local image color migration model; Step 4.2: For each map tile, first use model M1 to perform overall image color migration conversion calculation, and the calculation result is recorded as result1; then use model M2 to perform overall image color migration conversion calculation, and the calculation result is recorded as result2; Step 4.3, respectively convert the color space of result1 and result2 into the RGB color space mode, and record the conversion results as result1a and result2 respectively; then superimpose result1a and result2a to obtain a new map tile.

7. The color migration method of an online base map of urban and rural planning according to claim 6, It is characterized in that In step 4.3, during the overlay calculation, the pixel value of result2a is taken as the final overlay calculation result value.

8. The color migration method of an online base map for urban and rural planning according to claim 1, It is characterized in that Step 5 is as follows: The client selects the map tiles after color migration according to the map display level and geographic space range; The client draws the filtered color migration processed map tiles according to the geographic coordinate file of the map tiles.

Citation Information

Patent Citations

  • Large-range aerial remote sensing image toning method based on sub-space progressive control

    CN112884676A

  • Method for automatically migrating thematic map style

    CN115564667A

  • Dynamic color matching method for online map tiles

    CN116893871A

  • Electronic map generation method and device, electronic equipment and storage medium

    CN117009445A

  • Method and system for automatically migrating topographic map style

    CN118097085A