CN109994037B - Method, device, terminal and storage medium for generating electronic map - Google Patents

Method, device, terminal and storage medium for generating electronic map Download PDF

Info

Publication number
CN109994037B
CN109994037B CN201810530535.8A CN201810530535A CN109994037B CN 109994037 B CN109994037 B CN 109994037B CN 201810530535 A CN201810530535 A CN 201810530535A CN 109994037 B CN109994037 B CN 109994037B
Authority
CN
China
Prior art keywords
target
map
source
color system
slice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810530535.8A
Other languages
Chinese (zh)
Other versions
CN109994037A (en
Inventor
戎朔晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Publication of CN109994037A publication Critical patent/CN109994037A/en
Application granted granted Critical
Publication of CN109994037B publication Critical patent/CN109994037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/005Map projections or methods associated specifically therewith

Abstract

The invention discloses a method, a device, a terminal and a storage medium for generating an electronic map, and belongs to the technical field of image processing. The method comprises the following steps: acquiring at least one source map slice included in an electronic map of a source color system, wherein the electronic map of the source color system is a generated electronic map; determining a target color system, wherein the target color system is different from the source color system; converting the at least one source map slice into a map slice of the target color system according to the target color system to obtain at least one target map slice; and composing the at least one target map slice into an electronic map of the target color system. And the terminal generates an electronic map by an image processing method by means of the existing map slice of the source color system. The vector data and the vector data pattern of the electronic map are separated, so that the threshold requirement on workers is reduced; and the terminal can realize the automatic generation electronic map, has saved the human cost and has improved the generation efficiency.

Description

Method, device, terminal and storage medium for generating electronic map
The present application claims priority of chinese patent application entitled "method, apparatus, terminal, and storage medium for generating electronic map" filed by the chinese intellectual property office in 2017, 12, 29, and having application number 201711467858.9, which is incorporated herein by reference in its entirety.
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method, an apparatus, a terminal, and a storage medium for generating an electronic map.
Background
Electronic maps have played an indispensable role in human life through years of development; and with the increase of the user demand, the white electronic map can not meet the demand of the user. To protect the eyes of the user, a night color electronic map appears. When the user uses the electronic map at night, the night color system electronic map can be used.
At present, a professional worker generally makes an electronic map of the night system by means of a drawing tool, and the process may be: the staff inputs the vector data of the electronic map into the terminal and configures the styles of various types of vector data in the night system, including road styles, green space styles, building styles and the like. The terminal generates an electronic map slice of a night system according to the vector data and the styles of various types of quantity data; and performing slicing on the electronic map into at least one map slice, and combining the at least one map slice into a night system electronic map.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
in the method, a worker is required to configure various types of vector data patterns, but the worker needs to have certain map configuration experience to configure the vector data patterns, so that the threshold for generating the electronic map is high. Also, it takes long time for a user to manually configure a vector data pattern, resulting in inefficient generation of an electronic map.
Disclosure of Invention
The invention provides a method, a device, a terminal and a storage medium for generating an electronic map, which can solve the problems of high threshold and low efficiency of generating the electronic map. The technical scheme is as follows:
in one aspect, the present invention provides a method of generating an electronic map, the method comprising:
acquiring at least one source map slice included in an electronic map of a source color system, wherein the electronic map of the source color system is a generated electronic map;
determining a target color system, wherein the target color system is different from the source color system;
converting the at least one source map slice into a map slice of the target color system according to the target color system to obtain at least one target map slice;
and composing the at least one target map slice into an electronic map of the target color system.
In a possible implementation manner, the converting the at least one source map slice into a map slice of the target color system according to the target color system to obtain at least one target map slice includes:
performing decolorizing processing on the at least one source map slice to obtain a gray image of the at least one source map slice;
performing color changing processing on the gray level image of the at least one source map slice according to the target color system to obtain a color changing image of the at least one source map slice;
acquiring a mask image to be superposed;
and superposing the mask image on the color-changing image of the at least one source map slice to obtain the at least one target map slice.
In one possible implementation, the superimposing the mask image on the color-changed image of the at least one source map slice to obtain the at least one target map slice includes:
for the color-changing image of any source map slice, overlapping the mask image on the color-changing image of any source map slice to obtain an overlapped image;
for any pixel point in the superposed image, determining a first pixel value of the any pixel point in any source map slice and a second pixel value of the any pixel point in the mask image;
determining a third pixel value of any pixel point in a target map slice according to the first pixel value and the second pixel value;
and setting the pixel value of any pixel point in the superposed image as the third pixel value to obtain a target map slice.
In a possible implementation manner, after the converting the at least one source map slice into a map slice of the target color system according to the target color system to obtain at least one target map slice, the method further includes:
determining a brightness adjustment coefficient corresponding to the target color system;
and adjusting the brightness value of the at least one target map slice according to the brightness adjustment coefficient.
In a possible implementation manner, after the converting the at least one source map slice into a map slice of the target color system according to the target color system to obtain at least one target map slice, the method further includes:
determining a sharpening coefficient corresponding to the target color system;
and based on the sharpening coefficient, sharpening the at least one target map slice.
In one possible implementation manner, before determining the sharpening coefficient corresponding to the target color system, the method further includes:
and performing Gaussian blur processing on the at least one target map slice.
In one possible implementation, the obtaining of the at least one source map slice included in the electronic map of the source color system includes:
determining a target zoom level of the electronic map;
according to the target zoom level, acquiring an electronic map corresponding to the target zoom level from the electronic map of the source color system;
and acquiring at least one source map slice included in the electronic map corresponding to the target zoom level.
In one aspect, the present invention provides an apparatus for generating an electronic map, the apparatus comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring at least one source map slice included by an electronic map of a source color system, and the electronic map of the source color system is a generated electronic map;
a determining module for determining a target color system, the target color system being different from the source color system;
the conversion module is used for converting the at least one source map slice into a map slice of the target color system according to the target color system to obtain at least one target map slice;
and the generating module is used for forming the electronic map of the target color system by the at least one target map slice.
In one possible implementation manner, the conversion module includes:
the decoloring unit is used for decoloring the at least one source map slice to obtain a gray image of the at least one source map slice;
the color changing unit is used for performing color changing processing on the gray level image of the at least one source map slice according to the target color system to obtain a color changing image of the at least one source map slice;
an acquisition unit for acquiring a mask image to be superimposed;
and the superposition unit is used for superposing the mask image on the color-changed image of the at least one source map slice to obtain the at least one target map slice.
In a possible implementation manner, the overlaying unit is further configured to overlay the mask image on the color-changed image of any source map slice to obtain an overlaid image, for the color-changed image of any source map slice; for any pixel point in the superposed image, determining a first pixel value of the any pixel point in any source map slice and a second pixel value of the any pixel point in the mask image; determining a third pixel value of any pixel point in a target map slice according to the first pixel value and the second pixel value; and setting the pixel value of any pixel point in the superposed image as the third pixel value to obtain a target map slice.
In one possible implementation, the apparatus further includes:
the determining module is further configured to determine a brightness adjustment coefficient corresponding to the target color system;
and the adjusting module is used for adjusting the brightness value of the at least one target map slice according to the brightness adjusting coefficient.
In one possible implementation, the apparatus further includes:
the processing module is used for determining a sharpening coefficient corresponding to the target color system; and based on the sharpening coefficient, sharpening the at least one target map slice.
In one possible implementation manner, the processing module is further configured to perform gaussian blurring processing on the at least one target map slice.
In a possible implementation manner, the obtaining module is further configured to determine a target zoom level of the electronic map; according to the target zoom level, acquiring an electronic map corresponding to the target zoom level from the electronic map of the source color system; and acquiring at least one source map slice included in the electronic map corresponding to the target zoom level.
In one aspect, the present invention provides a terminal, including a processor and a memory, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the memory, and the instruction, the program, the code set, or the set of instructions is loaded and executed by the processor to implement the operations performed in the method for generating an electronic map.
In one aspect, the present invention provides a computer-readable storage medium, which stores at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the operations performed in the method for generating an electronic map.
In the embodiment of the invention, the terminal generates the electronic map by an image processing method by means of the existing map slice of the source color system. The vector data and the vector data pattern of the electronic map are separated, so that the threshold requirement on workers is reduced; and the terminal can realize the automatic generation electronic map, has saved the human cost and has improved the generation efficiency.
Drawings
Fig. 1 is a flowchart of a method for generating an electronic map according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for generating an electronic map according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for generating an electronic map according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a conversion module according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another apparatus for generating an electronic map according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another apparatus for generating an electronic map according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The embodiment of the invention provides a method for generating an electronic map, and with reference to fig. 1, the method comprises the following steps:
step 101: and acquiring at least one source map slice included in the electronic map of the source color system, wherein the electronic map of the source color system is the generated electronic map.
Step 102: a target color system is determined, the target color system being different from the source color system.
Step 103: and converting the at least one source map slice into a map slice of the target color system according to the target color system to obtain at least one target map slice.
Step 104: and forming the electronic map of the target color system by the at least one target map slice.
In one possible implementation, converting the at least one source map slice into a map slice of the target color system according to the target color system to obtain at least one target map slice includes:
performing decolorizing processing on the at least one source map slice to obtain a gray image of the at least one source map slice;
performing color changing processing on the gray level image of the at least one source map slice according to the target color system to obtain a color changing image of the at least one source map slice;
acquiring a mask image to be superposed;
and superposing the mask image on the color-changed image of the at least one source map slice to obtain the at least one target map slice.
In one possible implementation, superimposing the mask image on the color-shifted image of the at least one source map slice to obtain the at least one target map slice includes:
for the color-changing image of any source map slice, superposing the mask image on the color-changing image of any source map slice to obtain a superposed image;
for any pixel point in the superposed image, determining a first pixel value of the pixel point in any source map slice and a second pixel value of the pixel point in the mask image;
determining a third pixel value of any pixel point in the target map slice according to the first pixel value and the second pixel value;
and setting the pixel value of any pixel point in the superposed image as the third pixel value to obtain the target map slice.
In one possible implementation, after converting the at least one source map slice into a map slice of the target color system according to the target color system, and obtaining at least one target map slice, the method further includes:
determining a brightness adjustment coefficient corresponding to the target color system;
and adjusting the brightness value of the at least one target map slice according to the brightness adjustment coefficient.
In one possible implementation, after converting the at least one source map slice into a map slice of the target color system according to the target color system, and obtaining at least one target map slice, the method further includes:
determining a sharpening coefficient corresponding to the target color system;
and based on the sharpening coefficient, sharpening the at least one target map slice.
In one possible implementation manner, before determining a sharpening coefficient corresponding to the target color system, the method further includes:
and performing Gaussian blur processing on the at least one target map slice.
In one possible implementation, obtaining at least one source map slice included in an electronic map of a source color system includes:
determining a target zoom level of the electronic map;
according to the target zoom level, acquiring an electronic map corresponding to the target zoom level from the electronic map of the source color system;
and acquiring at least one source map slice included in the electronic map corresponding to the target zoom level.
In the embodiment of the invention, the terminal generates the electronic map by an image processing method by means of the existing map slice of the source color system. The vector data and the vector data pattern of the electronic map are separated, so that the threshold requirement on workers is reduced; and the terminal can realize the automatic generation electronic map, has saved the human cost and has improved the generation efficiency. Moreover, the effect of displaying the map slices after color removal, superposition and brightening is clearer, and the map mark display is more obvious when the map slices are checked, so that the quality of the generated electronic map is improved.
The embodiment of the invention provides a method for generating an electronic map, which is used for generating the electronic map by separating vector data and a vector data pattern of the electronic map by means of the existing map slices of other color systems, so that no threshold requirement is required for workers, the electronic map is automatically generated, the labor cost is saved, and the generation efficiency is improved. The execution subject of the method can be any terminal with image processing capability; for example, a mobile phone terminal with image processing capability, a PAD (Portable Android Device) terminal, or a computer terminal. Referring to fig. 2, the method includes:
step 201: and the terminal acquires at least one source map slice included by the electronic map of the source color system, wherein the electronic map of the source color system is the generated electronic map.
The electronic map is a Web (Web page) electronic map, and the electronic map is stored in the form of map slices. The invention generates the electronic map of the target color system by means of the map slice of the existing source color system. Therefore, the terminal needs to acquire at least one source map slice included in the electronic map of the source color system. In one possible implementation manner, when the terminal locally stores the electronic map of the source color system, in this step, the terminal locally acquires at least one source map slice included in the stored electronic map of the source color system. In another possible implementation manner, when the terminal does not locally store the electronic map of the source color system, in this step, the terminal acquires, from the server, at least one source map slice included in the electronic map of the source color system. Wherein, the source color system can be any color system of the generated electronic map; for example, the source color system may be a white color system, a gray color system, or the like. The source color system is not particularly limited in the embodiments of the present invention.
Because the Web electronic map can be zoomed. The terminal stores a plurality of zoom levels of the Web electronic map. In the embodiment of the invention, the terminal can generate the electronic map of the target color system at any zoom level in a plurality of zoom levels; when the terminal generates the electronic map of the target color system at the target zoom level, the terminal needs to use the source map slice of the target zoom level of the existing source color system. Accordingly, this step can be realized by the following steps (1) to (3), including:
(1): the terminal determines a target zoom level of the electronic map.
In one possible implementation manner, the user may set a target zoom level in the terminal in advance, and the terminal obtains the target zoom level set by the user in advance. In another possible implementation, a default zoom level may be stored in the terminal, and the terminal determines the default zoom level as the target zoom level. In another possible implementation, the user may also currently select the target zoom level. When the user currently selects the target zoom level, this step may be: the terminal displays a first setting interface, wherein the first setting interface comprises a plurality of zoom levels, and the state of each zoom level is a selectable state; the user may set the state of the selected zoom level to the selected state. And the terminal takes the selected zoom level as a target zoom level. The target zoom level may be any zoom level, and in the embodiment of the present invention, the target zoom level is not specifically limited; for example, the target zoom level may be 0, 1, 2, 3, 4, etc.
In this step, since the Web electronic map can be zoomed, the terminal may generate the electronic map corresponding to each zoom level in the target color system according to the method of the embodiment of the present invention. And after the terminal generates the electronic map corresponding to a certain zoom level in the target color system, the terminal stores the target color system, the corresponding relationship between the zoom level and the electronic map in an associated manner, so that a subsequent terminal can obtain the electronic map corresponding to the zoom level in the target color system from the corresponding relationship between the target color system, the zoom level and the electronic map directly according to the zoom level and the target color system. In this step, as for the zoom level of the electronic map in the target color system, the terminal does not generate the electronic map corresponding to the zoom level in the target color system again. Accordingly, the step of the terminal determining the target zoom level of the electronic map may be: and the terminal determines the zoom level of the electronic map which is not generated in the plurality of zoom levels in the target color system, and takes the zoom level of the electronic map which is not generated in the target color system as the target zoom level.
The step of the terminal determining the zoom level of the electronic map which is not generated in the plurality of zoom levels under the target color system may be: the terminal determines a zoom level of the corresponding relation between the unassociated storage target color system and the electronic map in the plurality of zoom levels, and determines the zoom level of the corresponding relation between the unassociated storage target color system and the electronic map as the zoom level of the electronic map which is not generated under the target color system.
(2): and the terminal acquires the electronic map corresponding to the target zoom level from the electronic map of the source color system according to the target zoom level.
In one possible implementation manner, the terminal locally stores the electronic map of the source color system, and the terminal stores the electronic map in a manner of corresponding relationship among the source color system, the zoom level and the electronic map. Correspondingly, the steps can be as follows: and the terminal acquires the electronic map of the target zoom level in the source color system from the corresponding relation among the source color system, the zoom level and the electronic map according to the source color system and the target zoom level. In another possible implementation manner, the terminal does not locally store the electronic map of the source color system, and the terminal acquires the electronic map from the server. Correspondingly, the steps can be as follows: and the terminal sends an acquisition request to the server, wherein the acquisition request carries the source color system and the target zoom level. The server receives the acquisition request, and acquires the electronic map of the target zoom level in the source color system from the corresponding relation of the source color system, the zoom level and the electronic map according to the source color system and the target zoom level; and returning the electronic map of the target zoom level in the source color system to the terminal. And the terminal receives the electronic map of the target zoom level in the source color system returned by the server.
(3): and the terminal acquires at least one source map slice included in the electronic map corresponding to the target zoom level.
The electronic map comprises map slices; and each zoom level contains a number of map slices to the power of n of 4, where n is the zoom level. For example: zoom level 0 contains 1 map slice; zoom level 1 contains 4 map slices; zoom level 2 contains 16 map slices. The terminal acquires at least one source map slice from the electronic map.
Step 202: and the terminal determines a target color system, wherein the target color system is different from the source color system.
In one possible implementation manner, the user may set the target color system in the terminal in advance, and the terminal obtains the target color system set by the user in advance. In another possible implementation manner, a default color system may be stored in the terminal, and the terminal determines the default color system as the target color system. In another possible implementation, the user may also currently select a target color system. When the user currently selects the target color system, the step may be: the terminal displays a second setting interface, the second setting interface comprises a plurality of color systems, and the state of each color system is an optional state; the user may set the state of the selected color system to the selected state. And the terminal takes the selected color system as a target color system. It should be noted that the second setting interface and the first setting interface may be the same setting interface, or may be two different setting interfaces. In the embodiment of the present invention, the second setting interface is not particularly limited.
The target color system may be any color system different from the source color system, and in the embodiment of the present invention, the target color system is not particularly limited. For example, the target color system may be a night color system or a gray color system. And after the terminal determines the target color system, the terminal converts at least one source map slice into a map slice of the target color system in an image processing mode.
Step 203: and the terminal performs decolorizing processing on at least one source map slice to obtain a gray image of the at least one source map slice.
For each source map slice, the terminal acquires the pixel value of each pixel point of the source map slice, and determines the gray value of each pixel point according to the pixel value of each pixel point. And for each pixel point, the terminal modifies the pixel value of the pixel point of the source map slice into the gray value of the pixel point to obtain the gray image of the source map slice.
For each pixel point, the step of determining the gray value of the pixel point by the terminal according to the pixel value of the pixel point may be: the terminal acquires an R (red) value, a G (green) value and a B (blue) value which are included in the pixel values of the pixel points. Determining a first conversion coefficient, a second conversion coefficient and a third conversion coefficient corresponding to the R value, the G value and the B value; and determining the gray value of the pixel point according to the R value, the G value and the B value, the first conversion coefficient, the second conversion coefficient and the third conversion coefficient by the following formula I.
The formula I is as follows:
Figure BDA00016770686300001012
gray is the Gray value of the pixel point, color.red is the R value of the pixel point, color.green is the G value of the pixel point, and color.blue is the B value of the pixel point.
Figure BDA0001677068630000102
In order to be the first conversion factor,
Figure BDA0001677068630000103
in order to be the second conversion coefficient,
Figure BDA0001677068630000104
is the third conversion coefficient.
Figure BDA0001677068630000105
And
Figure BDA0001677068630000106
can be set and changed according to the needs, in the embodiment of the invention, the
Figure BDA0001677068630000107
And
Figure BDA0001677068630000108
neither is specifically limited. For example,
Figure BDA0001677068630000109
Figure BDA00016770686300001010
and
Figure BDA00016770686300001011
30, 59 and 11 respectively.
Step 204: and the terminal performs color changing processing on the gray level image of at least one source map slice according to the target color system to obtain a color changing image of at least one source map slice.
And the terminal performs color changing processing on the gray level image of at least one source map slice by using an image processing technology. The specific color changing method is not particularly limited in the embodiment of the present invention. For example, when the target color system is a night color system, the terminal performs a reverse color process on the grayscale image of at least one source map slice, thereby realizing color change. For the gray image of any source map slice, the terminal performs inverse color processing on the gray image, and the step of obtaining the color-changed image of any source map slice may be:
and for any pixel point in the gray image of any source map slice, the terminal determines a first pixel value of any pixel point, determines a second pixel value of any pixel point through the following formula II, and modifies the first pixel value of any pixel point in the gray image of any source map slice into the second pixel value to obtain a color-changed image of any source map slice.
The formula II is as follows: opposite color ═ (R, G, B) (255-color.red,255-color.green, 255-color.blue);
wherein, OppositeColor is the second pixel value of any pixel point, color.RED is the R value included by the first pixel value of any pixel point, color.GREEN is the G value included by the first pixel value of any pixel point, and color.BLUE is the B value included by the first pixel value of any pixel point.
After the terminal obtains the color changing image of at least one source map slice, the at least one color changing image can be directly formed into the electronic map of the target color system. Of course, in order to improve the image quality, after the terminal obtains the color-changed image of the at least one source map slice, the color-changed image of the at least one source map slice may be further subjected to a masking process by the following step 205.
Step 205: and the terminal acquires the mask image to be superposed.
The mask image may be a transparent or translucent image. The mask image is stored in the terminal, and in this step, the terminal acquires the stored mask image.
Step 206: and the terminal superposes the mask image on the color-changed image of the at least one source map slice to obtain at least one target map slice.
In this step, the terminal may superimpose the mask image on the color-changed image of the at least one source map slice by any image superimposing method. The image superimposing method according to the embodiment of the present invention is not particularly limited. For example, the terminal implements image superposition by modifying the color value of the image. Accordingly, this step can be realized by the following steps (1) to (4), including:
(1): and for any source map slice, the terminal superposes the mask image on any source map slice to obtain a superposed image.
(2): for any pixel point in the superposed image, the terminal determines a first pixel value of any pixel point in any source map slice and a second pixel value in the mask image.
(3): and the terminal determines a third pixel value of any pixel point in the target map slice according to the first pixel value and the second pixel value.
And when the first pixel value is not larger than the preset value, the terminal determines a third pixel value of any pixel point in the target map slice according to the first pixel value and the second pixel value through the following formula III. And when the first pixel value is not larger than the preset value, the terminal determines a third pixel value of any pixel point in the target map slice according to the first pixel value and the second pixel value through the following formula IV.
The formula III is as follows: c ═ a × B)/255;
the formula four is as follows: c is 255- ((255-A) × (255-B))/preset value
And C is a third pixel value of any pixel point in the target map slice, A is a first pixel value of any pixel point in any source map slice, and B is a second pixel value of any pixel point in the mask image. The preset value can be set and changed according to the requirement, and in the embodiment of the invention, the preset value is not specifically limited; for example, the preset value may be 128 or 127, etc.
(4): and the terminal sets the pixel value of any pixel point in the superposed image as a third pixel value to obtain the target map slice.
After the terminal obtains the at least one target map slice, the at least one target map slice can be directly formed into the electronic map of the target color system. Of course, in order to improve the image quality, the terminal may also perform brightness adjustment on at least one target map slice through the following step 207.
Step 207: and the terminal determines a brightness adjustment coefficient corresponding to the target color system and adjusts the brightness value of at least one target map slice according to the brightness adjustment coefficient.
In one possible implementation, the terminal performs brightness adjustment on the target map slice by a default brightness adjustment coefficient. Correspondingly, the step of determining the brightness adjustment coefficient corresponding to the target color system by the terminal may be: and the terminal takes the default brightness adjustment coefficient as the brightness adjustment coefficient corresponding to the target color system. In another possible implementation manner, brightness adjustment coefficients corresponding to different color systems are stored in the terminal. Correspondingly, the step of determining the brightness adjustment coefficient corresponding to the target color system by the terminal may be: and the terminal acquires the brightness adjustment coefficient corresponding to the target color system from the corresponding relation between the color system and the brightness adjustment coefficient according to the target color system. In another possible implementation, the user may also currently input a brightness adjustment coefficient. When the user currently inputs the brightness adjustment coefficient, the step of the terminal determining the brightness adjustment coefficient corresponding to the target color system may be: the terminal displays a third setting interface, the third setting interface comprises an input box corresponding to the brightness adjustment coefficient, and a user can input the brightness adjustment coefficient in the input box; the terminal acquires the brightness adjustment coefficient input by the user.
For any pixel point of any target map slice, the step of adjusting the brightness value of any target map slice by the terminal according to the brightness adjustment coefficient may be: and the terminal determines the pixel value of any pixel point in any target map slice, and takes the product of the pixel value of any pixel point and the brightness adjusting coefficient as the pixel value of any pixel point after adjustment.
For example, when the brightness adjustment coefficient is 1.5, the terminal determines the pixel value of any pixel point after adjustment through the following formula five.
The formula five is as follows: BrightnessColor ═ (R, G, B) (overlamingcolor.red 1.5, overlamingcolor.green 1.5, overlamingcolor.blue 1.5)
The BrightnessColor is the pixel value of any pixel point after adjustment, the overlamingcolor.red is the R value included by the pixel value of any pixel point before adjustment, the overlamingcolor.green is the G value included by the pixel value of any pixel point before adjustment, and the overlamingcolor.blue is the B value included by the pixel value of any pixel point before adjustment.
After the terminal adjusts the brightness value of at least one target map slice, the adjusted at least one target map slice can be directly combined into an electronic map of a target color system. Of course, in order to improve the image quality, the terminal may further perform a sharpening process on at least one target map slice through the following step 208, so as to improve the image definition.
Step 208: and the terminal sharpens at least one target map slice and forms the processed at least one target map slice into an electronic map of a target color system.
In a possible implementation manner, the terminal may perform gaussian blurring processing on at least one target map slice first, and then perform sharpening processing on at least one target map slice after the gaussian blurring processing. In addition, in the step, the target map slice can be sharpened through any sharpening algorithm; in the embodiment of the present invention, the sharpening algorithm is not particularly limited; for example, the sharpening algorithm may be a USM sharpening algorithm. Accordingly, the step of sharpening the at least one target map slice by the terminal may be implemented by the following steps (1) to (3), including:
(1): and the terminal performs Gaussian blur processing on at least one target map slice to obtain at least one blurred image.
(2): and the terminal determines a sharpening coefficient corresponding to the target color system.
In one possible implementation manner, the terminal sharpens the target map slice by a default sharpening factor. Correspondingly, the steps can be as follows: and the terminal takes the default sharpening coefficient as the sharpening coefficient corresponding to the target color system. In another possible implementation manner, sharpening coefficients corresponding to different color systems are stored in the terminal. Correspondingly, the steps can be as follows: and the terminal acquires the sharpening coefficient corresponding to the target color system from the corresponding relation between the target color system and the sharpening coefficient according to the target color system. In another possible implementation, the user may also currently input a sharpening factor. Correspondingly, the steps can be as follows: the terminal displays a fourth setting interface, the fourth setting interface comprises an input box corresponding to the sharpening coefficient, and a user can input the sharpening coefficient in the input box; the terminal acquires the sharpening coefficient input by the user.
It should be noted that the fourth setting interface and the third setting interface may be the same setting interface; of course, the fourth setting interface and the third setting interface may be two different setting interfaces. In the embodiment of the present invention, the fourth setting interface is not particularly limited.
(3): and the terminal sharpens at least one target map slice based on at least one blurred image and the sharpening coefficient.
For any target map slice and a blurred image corresponding to the any target map slice, the terminal determines the pixel value of each pixel point included in the any target map slice and the pixel value of each pixel point included in the blurred image. And for any pixel point included in any target map slice, determining the sharpened pixel value of the pixel point according to the third pixel value of the pixel point and the fourth pixel value of the pixel point by the following formula six. The third pixel value is the pixel value of the pixel point in any target map slice, and the fourth pixel value is the pixel value of the pixel point in the blurred image.
Formula six: sharp color.red ═ (sharp color.red-weight @ ausssian color.red)/(1-weight);
SharperColor.GREEN=(SharperColor.GREEN–weight*ussianColor.GREEN)/(1-weight);
SharperColor.BLUE=(SharperColor.BLUE–weight*GaussianColor.BLUE)/(1-weight);
red is an R value included in the sharpened pixel value of the pixel point, green is a G value included in the sharpened pixel value of the pixel point, and blue is a B value included in the sharpened pixel value of the pixel point. Red is an R value included for the third pixel value, green is a G value included for the third pixel value, and blue is a B value included for the third pixel value; red is an R value included for the fourth pixel value, ussiancolor green is a G value included for the fourth pixel value, and gaussiancolor blue is a B value included for the fourth pixel value. Weight is the sharpening factor. The sharpening coefficient can be set and changed as required, and in the embodiment of the invention, the sharpening coefficient is not specifically limited; for example, the sharpening coefficient may have a value range of 0.1 to 0.9, and preferably, the sharpening coefficient may be 0.6.
The point to be described is that the terminal performs gaussian blur processing on at least one target map slice, and can remove noise in the at least one target map slice, so that when the blurred image after the gaussian blur processing is sharpened, the definition of the sharpened target map slice can be improved.
In another possible implementation manner, in step 208, the terminal may also directly perform a sharpening process on the at least one target map slice, so as to improve the efficiency of the sharpening process. Accordingly, step 208 may be implemented by the following steps (a) and (B), including:
(A) the method comprises the following steps And the terminal determines a sharpening coefficient corresponding to the target color system.
This step is the same as step (2), and is not described herein again.
(B) The method comprises the following steps And the terminal sharpens at least one target map slice based on the sharpening coefficient.
And for any pixel point in any target map slice, the terminal determines the pixel value of any pixel point in any target map slice, and determines the product of the pixel value and the sharpening coefficient as the sharpened pixel value of any pixel point in any target map slice.
In a possible implementation manner, since the electronic map of the source color system and the electronic map of the target color system are stored in the terminal, after the terminal obtains the electronic map of the target color system, the terminal may further store the corresponding relationship between the target color system, the target zoom level, and the electronic map. Correspondingly, when the terminal displays the electronic map, the terminal acquires a target color system and a target zoom level; according to the target color system and the target zoom level, the electronic map is obtained from the corresponding relationship among the target color system, the target zoom level and the electronic map, and at least one target map slice included in the electronic map is displayed, so that the electronic map corresponding to the target zoom level in the target color system does not need to be generated through the steps 201 and 208, the processing time is shortened, and the display efficiency is improved.
In the embodiment of the invention, the terminal generates the electronic map by an image processing method by means of the existing map slice of the source color system. The vector data and the vector data pattern of the electronic map are separated, so that the threshold requirement on workers is reduced; and the terminal can realize the automatic generation electronic map, has saved the human cost and has improved the generation efficiency. Moreover, the effect of displaying the map slices after color removal, superposition and brightening is clearer, and the map mark display is more obvious when the map slices are checked, so that the quality of the generated electronic map is improved.
An embodiment of the present invention provides an apparatus for generating an electronic map, and referring to fig. 3, the apparatus includes:
an obtaining module 301, configured to obtain at least one source map slice included in an electronic map of a source color system, where the electronic map of the source color system is a generated electronic map;
a determining module 302, configured to determine a target color system, where the target color system is different from the source color system;
a conversion module 303, configured to convert the at least one source map slice into a map slice of the target color system according to the target color system, so as to obtain at least one target map slice;
a generating module 304, configured to compose the at least one target map slice into an electronic map of the target color system.
In one possible implementation, referring to fig. 4, the conversion module 303 includes:
a decolorizing unit 3031, configured to perform decolorizing processing on the at least one source map slice to obtain a grayscale image of the at least one source map slice;
a color changing unit 3032, configured to perform color changing processing on the grayscale image of the at least one source map slice according to the target color system, so as to obtain a color changed image of the at least one source map slice;
an obtaining unit 3033, configured to obtain a mask image to be superimposed;
a superimposing unit 3034 configured to superimpose the mask image on the color-changed image of the at least one source map slice to obtain the at least one target map slice.
In a possible implementation manner, the superimposing unit 3034 is further configured to superimpose, for the color-changed image of any source map slice, the mask image on the color-changed image of any source map slice, so as to obtain a superimposed image; for any pixel point in the superposed image, determining a first pixel value of the pixel point in any source map slice and a second pixel value of the pixel point in the mask image; determining a third pixel value of any pixel point in the target map slice according to the first pixel value and the second pixel value; and setting the pixel value of any pixel point in the superposed image as the third pixel value to obtain the target map slice.
In one possible implementation, referring to fig. 5, the apparatus further includes:
the determining module 302 is further configured to determine a brightness adjustment coefficient corresponding to the target color system;
an adjusting module 305, configured to adjust a brightness value of the at least one target map slice according to the brightness adjustment coefficient.
In one possible implementation, referring to fig. 6, the apparatus further includes:
a processing module 306, configured to determine a sharpening coefficient corresponding to the target color system; and based on the sharpening coefficient, sharpening the at least one target map slice.
In one possible implementation, the processing module 306 is further configured to perform gaussian blurring on at least one target map slice.
In a possible implementation manner, the obtaining module 301 is further configured to determine a target zoom level of the electronic map; according to the target zoom level, acquiring an electronic map corresponding to the target zoom level from the electronic map of the source color system; and acquiring at least one source map slice included in the electronic map corresponding to the target zoom level.
In the embodiment of the invention, the terminal generates the electronic map by an image processing method by means of the existing map slice of the source color system. The vector data and the vector data pattern of the electronic map are separated, so that the threshold requirement on workers is reduced; and the terminal can realize the automatic generation electronic map, has saved the human cost and has improved the generation efficiency. Moreover, the effect of displaying the map slices after color removal, superposition and brightening is clearer, and the map mark display is more obvious when the map slices are checked, so that the quality of the generated electronic map is improved.
It should be noted that: in the device for generating an electronic map according to the above embodiment, when the electronic map is generated, only the division of the above functional modules is taken as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the apparatus for generating an electronic map and the method for generating an electronic map provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 7 is a schematic structural diagram of a terminal 400 according to an embodiment of the present invention. For example, the terminal 400 may be configured to perform the terminal control methods provided in the above-described respective embodiments. Referring to fig. 7, the terminal 400 includes:
the terminal 400 may include RF (Radio Frequency) circuitry 410, memory 420 including one or more computer-readable storage media, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a WiFi (Wireless Fidelity) module 470, a processor 480 including one or more processing cores, and a power supply 490. Those skilled in the art will appreciate that the terminal structure shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 410 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink information from a base station and processing the received downlink information by one or more processors 480; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 410 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 410 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
The memory 420 may be used to store software programs and modules, and the processor 480 executes various functional applications and data processing by operating the software programs and modules stored in the memory 420. The memory 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 400, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 420 may also include a memory controller to provide access to memory 420 by processor 480 and input unit 430.
The input unit 430 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 430 may include a touch-sensitive surface 431 as well as other input devices 432. The touch-sensitive surface 431, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 431 (e.g., operations by a user on or near the touch-sensitive surface 431 using any suitable object or attachment such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 431 may comprise both a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 480, and receives and executes commands sent from the processor 480. In addition, the touch-sensitive surface 431 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 430 may include other input devices 432 in addition to the touch-sensitive surface 431. In particular, other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 440 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 400, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 440 may include a Display panel 441, and optionally, the Display panel 441 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 431 may overlay the display panel 441, and when a touch operation is detected on or near the touch-sensitive surface 431, the touch operation is transmitted to the processor 480 to determine the type of the touch event, and then the processor 480 provides a corresponding visual output on the display panel 441 according to the type of the touch event. Although in FIG. 7 the touch sensitive surface 431 and the display panel 441 are two separate components to implement input and output functions, in some embodiments the touch sensitive surface 431 and the display panel 441 may be integrated to implement input and output functions.
The terminal 400 can also include at least one sensor 450, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 441 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 441 and/or a backlight when the terminal 400 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 400, detailed descriptions thereof are omitted.
The audio circuit 460, speaker 461, microphone 462 may provide an audio interface between a user and the terminal 400. The audio circuit 460 may transmit the electrical signal converted from the received audio data to the speaker 461, and convert the electrical signal into a sound signal for output by the speaker 461; on the other hand, the microphone 462 converts the collected sound signal into an electric signal, which is received by the audio circuit 460 and converted into audio data, which is then processed by the audio data output processor 480, and then transmitted to, for example, another terminal via the RF circuit 410, or output to the memory 420 for further processing. The audio circuit 460 may also include an earbud jack to provide communication of a peripheral headset with the terminal 400.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 400 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 470, and provides the user with wireless broadband internet access. Although fig. 7 shows the WiFi module 470, it is understood that it does not belong to the essential constitution of the terminal 400 and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 480 is a control center of the terminal 400, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 400 and processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory 420, thereby integrally monitoring the mobile phone. Optionally, processor 480 may include one or more processing cores; preferably, the processor 480 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 480.
The terminal 400 also includes a power supply 490 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 480 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 490 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any like components.
Although not shown, the terminal 400 may further include a camera, a bluetooth module, etc., which will not be described herein. In this embodiment, the display unit of the terminal is a touch screen display, and the terminal further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the methods described above in connection with the embodiments of fig. 1 or 2.
An embodiment of the present invention further provides a computer-readable storage medium, which is applied to a terminal, and in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the instruction, the program, the code set, or the set of instructions is loaded and executed by a processor to implement the operations performed by the terminal in the method for generating an electronic map according to the foregoing embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (13)

1. A method of generating an electronic map, the method comprising:
acquiring at least one source map slice included in an electronic map of a source color system, wherein the electronic map of the source color system is a generated electronic map;
determining a target color system, wherein the target color system is different from the source color system;
performing decolorizing processing on the at least one source map slice to obtain a gray image of the at least one source map slice;
according to the target color system, performing reverse color processing on the gray level image of the at least one source map slice to obtain a color changing image of the at least one source map slice;
acquiring a mask image to be superposed;
superimposing the mask image on the color-changed image of the at least one source map slice to obtain at least one target map slice;
and composing the at least one target map slice into an electronic map of the target color system.
2. The method of claim 1, wherein superimposing the mask image on the color-shifted image of the at least one source map slice to obtain the at least one target map slice comprises:
for the color-changing image of any source map slice, overlapping the mask image on the color-changing image of any source map slice to obtain an overlapped image;
for any pixel point in the superposed image, determining a first pixel value of the any pixel point in any source map slice and a second pixel value of the any pixel point in the mask image;
determining a third pixel value of any pixel point in a target map slice according to the first pixel value and the second pixel value;
and setting the pixel value of any pixel point in the superposed image as the third pixel value to obtain a target map slice.
3. The method of claim 1, wherein after superimposing the mask image on the color-shifted image of the at least one source map slice to obtain the at least one target map slice, the method further comprises:
determining a brightness adjustment coefficient corresponding to the target color system;
and adjusting the brightness value of the at least one target map slice according to the brightness adjustment coefficient.
4. The method according to any one of claims 1 to 3, further comprising:
determining a sharpening coefficient corresponding to the target color system;
and based on the sharpening coefficient, sharpening the at least one target map slice.
5. The method of claim 4, wherein prior to determining the sharpening factor corresponding to the target color family, the method further comprises:
and performing Gaussian blur processing on the at least one target map slice.
6. The method of claim 1, wherein obtaining the electronic map of the source color system comprises at least one source map slice comprising:
determining a target zoom level of the electronic map;
according to the target zoom level, acquiring an electronic map corresponding to the target zoom level from the electronic map of the source color system;
and acquiring at least one source map slice included in the electronic map corresponding to the target zoom level.
7. An apparatus for generating an electronic map, the apparatus comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring at least one source map slice included by an electronic map of a source color system, and the electronic map of the source color system is a generated electronic map;
a determining module for determining a target color system, the target color system being different from the source color system;
the conversion module is used for performing decolorizing processing on the at least one source map slice to obtain a gray image of the at least one source map slice; according to the target color system, performing reverse color processing on the gray level image of the at least one source map slice to obtain a color changing image of the at least one source map slice; acquiring a mask image to be superposed; superimposing the mask image on the color-changed image of the at least one source map slice to obtain at least one target map slice;
and the generating module is used for forming the electronic map of the target color system by the at least one target map slice.
8. The apparatus of claim 7, further comprising:
the determining module is further configured to determine a brightness adjustment coefficient corresponding to the target color system;
and the adjusting module is used for adjusting the brightness value of the at least one target map slice according to the brightness adjusting coefficient.
9. The apparatus of any one of claims 7 to 8, further comprising:
the determining module is further configured to determine a sharpening coefficient corresponding to the target color system;
and the processing module is used for carrying out sharpening processing on the at least one target map slice based on the sharpening coefficient.
10. The apparatus of claim 9,
the processing module is further configured to perform gaussian blur processing on the at least one target map slice.
11. The apparatus of claim 7,
the acquisition module is further used for determining the target zoom level of the electronic map; according to the target zoom level, acquiring an electronic map corresponding to the target zoom level from the electronic map of the source color system; and acquiring at least one source map slice included in the electronic map corresponding to the target zoom level.
12. A terminal, characterized in that it comprises a processor and a memory in which at least one instruction, at least one program, set of codes or set of instructions is stored, which is loaded and executed by the processor to carry out the operations performed in the method of generating an electronic map according to any one of claims 1 to 6.
13. A computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to carry out the operations performed in the method of generating an electronic map according to any one of claims 1 to 6.
CN201810530535.8A 2017-12-29 2018-05-29 Method, device, terminal and storage medium for generating electronic map Active CN109994037B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711467858 2017-12-29
CN2017114678589 2017-12-29

Publications (2)

Publication Number Publication Date
CN109994037A CN109994037A (en) 2019-07-09
CN109994037B true CN109994037B (en) 2021-12-14

Family

ID=67129065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810530535.8A Active CN109994037B (en) 2017-12-29 2018-05-29 Method, device, terminal and storage medium for generating electronic map

Country Status (1)

Country Link
CN (1) CN109994037B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103650488A (en) * 2011-07-01 2014-03-19 株式会社半导体能源研究所 Image processing method, image processing system and display device
CN105046655A (en) * 2015-06-24 2015-11-11 武汉烽火众智数字技术有限责任公司 Method and device for automatically sharpening video image
CN105374061A (en) * 2015-10-23 2016-03-02 世纪龙信息网络有限责任公司 Image sketching method and system
CN105549928A (en) * 2015-12-02 2016-05-04 广州阿里巴巴文学信息技术有限公司 Color matching method and device of display content
CN106484396A (en) * 2016-09-18 2017-03-08 北京京东尚科信息技术有限公司 Night changing method, device and terminal unit
CN106503067A (en) * 2016-09-29 2017-03-15 百度在线网络技术(北京)有限公司 The exhibiting method and device of electronic chart

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2997546B1 (en) * 2013-05-15 2020-09-02 Google LLC Efficient composition and rendering of graphical elements
US9536325B2 (en) * 2013-06-09 2017-01-03 Apple Inc. Night mode
CN103474043B (en) * 2013-09-24 2016-04-20 沈阳美行科技有限公司 A kind of method according to screen intensity adjustment color of navigation map
CN103559726B (en) * 2013-11-21 2017-02-15 广东威创视讯科技股份有限公司 Map color blending method and shader
CN104407727B (en) * 2014-08-29 2017-11-07 小米科技有限责任公司 screen protection method and device
CN107256555B (en) * 2017-05-25 2021-11-02 腾讯科技(上海)有限公司 Image processing method, device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103650488A (en) * 2011-07-01 2014-03-19 株式会社半导体能源研究所 Image processing method, image processing system and display device
CN105046655A (en) * 2015-06-24 2015-11-11 武汉烽火众智数字技术有限责任公司 Method and device for automatically sharpening video image
CN105374061A (en) * 2015-10-23 2016-03-02 世纪龙信息网络有限责任公司 Image sketching method and system
CN105549928A (en) * 2015-12-02 2016-05-04 广州阿里巴巴文学信息技术有限公司 Color matching method and device of display content
CN106484396A (en) * 2016-09-18 2017-03-08 北京京东尚科信息技术有限公司 Night changing method, device and terminal unit
CN106503067A (en) * 2016-09-29 2017-03-15 百度在线网络技术(北京)有限公司 The exhibiting method and device of electronic chart

Also Published As

Publication number Publication date
CN109994037A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
KR101859312B1 (en) Image processing method and apparatus, and computer device
CN107093418B (en) Screen display method, computer equipment and storage medium
EP3410390A1 (en) Image processing method and device, computer readable storage medium and electronic device
EP3370204B1 (en) Method for detecting skin region and device for detecting skin region
CN103634580B (en) A kind of colour gamut method of adjustment and device of coloured image
US10269160B2 (en) Method and apparatus for processing image
CN105867730B (en) The display methods and device of status bar
CN108701365B (en) Light spot identification method, device and system
US20170147187A1 (en) To-be-shared interface processing method, and terminal
CN105989572B (en) Picture processing method and device
US9760998B2 (en) Video processing method and apparatus
CN110458921B (en) Image processing method, device, terminal and storage medium
CN110234152B (en) Channel scanning method, device, storage medium and electronic equipment
WO2016173350A1 (en) Picture processing method and device
CN107067842B (en) Color value adjusting method, mobile terminal and storage medium
CN106204423A (en) A kind of picture-adjusting method based on augmented reality, device and terminal
US20150212793A1 (en) Mobile terminal and image processing method thereof
CN104574452B (en) Method and device for generating window background
CN105303591B (en) Method, terminal and server for superimposing location information on jigsaw puzzle
CN105635553B (en) Image shooting method and device
CN111966436A (en) Screen display control method and device, terminal equipment and storage medium
CN109888882B (en) Communication method, terminal equipment and power adapter
CN110621071B (en) Processing method of measurement interval, terminal and network node
CN108564539B (en) Method and device for displaying image
CN105338403B (en) Filter processing method and device and electronic equipment

Legal Events

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