CN107403010A - Information displaying method, device, computer-readable recording medium and mobile terminal - Google Patents
Information displaying method, device, computer-readable recording medium and mobile terminal Download PDFInfo
- Publication number
- CN107403010A CN107403010A CN201710626265.6A CN201710626265A CN107403010A CN 107403010 A CN107403010 A CN 107403010A CN 201710626265 A CN201710626265 A CN 201710626265A CN 107403010 A CN107403010 A CN 107403010A
- Authority
- CN
- China
- Prior art keywords
- position location
- image
- dark channel
- visibility
- information
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/54—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Image Analysis (AREA)
Abstract
The present invention relates to a kind of information displaying method, device, computer-readable recording medium and mobile terminal.Methods described includes:The position location of user terminal input is obtained, and obtains positioning scene image corresponding to the position location;According to dark channel image corresponding to the positioning scene image and with reference to dark channel image, visibility characterization information corresponding to the position location is obtained;By the visibility characterization information, corresponding position location is shown in electronic map.Above- mentioned information methods of exhibiting, device, computer-readable recording medium and mobile terminal, the visibility characterization information is shown on the electronic map, user by electronic map check the air visibility of position location, and user can be helped to be familiar with road conditions, ensures safety.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of information displaying method, device, computer-readable deposit
Storage media and mobile terminal.
Background technology
Traffic system is that people's life is provided convenience, the especially development of electronic map so that the trip of people is more
It is convenient.During trip, user can at any time by the traffic of electronic map query destination, including travel route,
Travel time, the trip information such as road conditions and peripheral facility.And due to the particularity of traffic system so that trip is highly prone to weather
Influence, such as heavy snow, haze, rainstorm weather all can substantially reduce the safety coefficient during trip.
The content of the invention
The embodiment of the present invention provides a kind of information displaying method, device, computer-readable recording medium and mobile terminal, can
To show traffic visibility information on map, ensure the safety of user.
A kind of information displaying method, methods described include:
The position location of user terminal input is obtained, and obtains positioning scene image corresponding to the position location;
According to dark channel image corresponding to the positioning scene image and with reference to dark channel image, the position location is obtained
Corresponding visibility characterization information;
By the visibility characterization information, corresponding position location is shown in electronic map.
A kind of device for displaying information, described device include:
Image collection module, for obtaining the position location of user terminal input, and obtain corresponding to the position location
Positioning scene image;
Data obtaining module, for the dark channel image according to corresponding to the positioning scene image and with reference to dark channel diagram
Picture, obtain visibility characterization information corresponding to the position location;
Information display module, for corresponding position location to be opened up in electronic map by the visibility characterization information
Show.
A kind of computer-readable recording medium, is stored thereon with computer program, and the program is realized when being executed by processor
Following steps:
The position location of user terminal input is obtained, and obtains positioning scene image corresponding to the position location;
According to dark channel image corresponding to the positioning scene image and with reference to dark channel image, the position location is obtained
Corresponding visibility characterization information;
By the visibility characterization information, corresponding position location is shown in electronic map.
A kind of mobile terminal, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, following steps are realized during the computing device described program:
The position location of user terminal input is obtained, and obtains positioning scene image corresponding to the position location;
According to dark channel image corresponding to the positioning scene image and with reference to dark channel image, the position location is obtained
Corresponding visibility characterization information;
By the visibility characterization information, corresponding position location is shown in electronic map.
Information displaying method, device, computer-readable recording medium and mobile terminal provided in an embodiment of the present invention, pass through
User terminal inputs position location, and obtains positioning scene image corresponding to position location, by corresponding to positioning scene image
Dark channel image and reference dark channel image obtain visibility characterization information, and by the visibility characterization information on the electronic map
It is shown.The visibility characterization information can represent the air visibility of position location, and user is looked into by electronic map
See, user can be helped to be familiar with road conditions, ensure safety.
Brief description of the drawings
Fig. 1 is the internal structure schematic diagram of electronic equipment in one embodiment;
Fig. 2 is the internal structure schematic diagram of server in one embodiment;
Fig. 3 is the flow chart of information displaying method in one embodiment;
Fig. 4 is the flow chart of information displaying method in another embodiment;
Fig. 5 is the displaying schematic diagram of visibility characterization information in one embodiment;
Fig. 6 is the structural representation of information displaying method in one embodiment;
Fig. 7 is the schematic diagram of image processing circuit in one embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe various elements herein,
But these elements should not be limited by these terms.These terms are only used for distinguishing first element and another element.Citing comes
Say, without departing from the scope of the invention, the first client can be referred to as the second client, and similarly, can incite somebody to action
Second client is referred to as the first client.First client and the second client both clients, but it is not same visitor
Family end.
Fig. 1 is the internal structure schematic diagram of electronic equipment in one embodiment.As shown in figure 1, the electronic equipment includes leading to
Cross processor, non-volatile memory medium, built-in storage and the network interface, display screen and input unit of system bus connection.
Wherein, the non-volatile memory medium of electronic equipment is stored with operating system and computer-readable instruction.The computer-readable finger
Make when being executed by processor to realize a kind of information displaying method.The processor is used to provide calculating and control ability, and support is whole
The operation of individual electronic equipment.Built-in storage in electronic equipment is the fortune of the computer-readable instruction in non-volatile memory medium
Row provides environment.Network interface is used to carry out network service with server, and request is obtained to clothes as sent visibility characterization information
Business device, visibility characterization information that the reception server returns etc..The display screen of electronic equipment can be LCDs or electricity
Sub- ink display screen etc., input unit can be set on the touch layer or electronic equipment casing covered on display screen
Button, trace ball or Trackpad or external keyboard, Trackpad or mouse etc..The electronic equipment can be mobile phone,
Tablet personal computer or personal digital assistant or Wearable etc..It will be understood by those skilled in the art that the knot shown in Fig. 1
The block diagram of structure, the only part-structure related to application scheme, do not form what application scheme was applied thereon
The restriction of electronic equipment, specific electronic equipment can include more some than more or less parts shown in figure, or combination
Part, or arranged with different parts.
Fig. 2 is the internal structure schematic diagram of server in one embodiment.As shown in Fig. 2 the server is including passing through
Processor, non-volatile memory medium, built-in storage and the network interface of bus of uniting connection.Wherein, the server is non-volatile
Property storage medium is stored with operating system and computer-readable instruction.To realize when the computer-readable instruction is executed by processor
A kind of information displaying method.The processor of the server is used to provide calculating and control ability, supports the operation of whole server.
The network interface of the server be used for according to this with outside terminal communicated by network connection, such as receiving terminal send can see
Characterization information is spent to obtain request and return to visibility characterization information etc. to terminal.Server can with independent server or
Multiple server groups into server cluster realize.It will be understood by those skilled in the art that the structure shown in Fig. 2, only
Only it is the block diagram of the part-structure related to application scheme, does not form the server being applied thereon to application scheme
Restriction, specific server can include than more or less parts shown in figure, either combine some parts or tool
There is different part arrangements.
Fig. 3 is the flow chart of information displaying method in one embodiment.As shown in figure 3, the information displaying method includes step
Rapid 302 to step 306.Wherein:
Step 302, the position location of user terminal input is obtained, and obtains positioning scene image corresponding to position location.
In embodiment provided by the invention, user terminal refers to the equipment that network outermost is in computer network,
It is mainly used in the input of position location and the output of result etc..It is understood that the user terminal can with but it is unlimited
Then mobile phone, tablet personal computer, wearable device etc..Position location refers to needs that user is inputted by user terminal on map
The geographical location information checked.User inputs position location by user terminal, can be, but not limited to be by word, language
What the forms such as sound, picture recognition were inputted.
Positioning scene image is image corresponding to scene where designated bit places, and the positioning scene image can be clearly
The air visibility of scene where showing position location.It is understood that in embodiments of the present invention, positioning scene image can
Directly to be obtained by image collecting device or be obtained from default memory space, this is default
The memory space memory space for being used to deposit positioning scene image that refers to pre-set.
That is, after user terminal input position location is carried out, photographing instruction can be directly initiated to pass through image
Harvester gathers positioning scene image, can also be and positioning corresponding to position location is obtained directly from default memory space
Scene image.Wherein, image collecting device refers to the device for gathering positioning scene image.Such as image collecting device can be shone
The devices such as camera, video camera on camera, mobile terminal.
Step 304, the dark channel image and with reference to dark channel image according to corresponding to positioning scene image, obtains position location
Corresponding visibility characterization information.
It is understood that positioning scene image is made up of several pixels, each pixel has corresponding RGB
Triple channel value, for representing the information such as the color of pixel and brightness in positioning scene image.Wherein, RGB triple channels value difference table
The size of the component of three colors such as red, green, blue of each pixel in pending image is shown, dark channel value is then specific bit
Smallest passage value in tri- channel values of RGB of scene image.It is generally believed that the dark channel value is smaller, what respective pixel was subject to
The influence of mistiness degree is smaller.
Dark channel image corresponding to positioning scene image refers to dark corresponding to each pixel in positioning scene image
It is worth the image of composition, the journey that each pixel is influenceed by mistiness degree in positioning scene image is known that by the dark channel image
Degree.
With reference to the dark channel diagram corresponding to the positioning scene image that dark channel image is designated bit places in the case of fogless
Picture.In general, because in the case where the influence of mistiness degree is smaller, dark channel value is all smaller, so with reference to dark channel diagram
Dark channel value corresponding to each pixel is typically smaller as in.
Visibility characterization information refers to the information for characterizing air visibility, can be with by the visibility characterization information user
The air visibility near position location is solved, facilitates user to go on a journey.In the present embodiment, it can pre-set with reference to dark channel diagram
The standard reference value of each pixel as in, for representing under the fogless scene of standard in positioning scene image corresponding to each pixel secretly
Channel standard value.It is understood that the dark channel value that can make to refer to each pixel in dark channel image is 0.
In one embodiment, can according to corresponding to positioning scene image dark channel image and with reference to dark channel image,
Obtain visibility characterization information corresponding to position location.If that is, dark channel image corresponding to positioning scene image and ginseng
Examine that dark channel image is closer, illustrate the positioning scene image that positioning scene image is obtained in the case of fogless, that is, position
Scene image is influenceed smaller by mistiness degree;If dark channel image corresponding to positioning scene image differs with reference to dark channel image
It is bigger, illustrate positioning scene image with it is fogless in the case of the positioning scene image that obtains differ bigger, i.e., positioning scene image by
The influence of mistiness degree is bigger.Therefore, it is compared by dark channel image corresponding to positioning scene image and with reference to dark channel image,
It is known that visibility corresponding to position location.
Step 306, by visibility characterization information, corresponding position location is shown in electronic map.
It is understood that electronic map can be, but not limited to be an application program on user terminal, user can lead to
The position location of positioning needed for application program input is crossed, and is carried out the position location by the displaying interface of the application program
Displaying.
Specifically, visibility characterization information can be, but not limited to be one in the forms such as numeral, picture, video, histogram
Kind is a variety of.Electronic map refers to the map for being stored and being consulted in a digital manner, can be checked by electronic map each
The information such as the relevant position in geographical position and road conditions.
Further, user terminal can also obtain preset range corresponding to position location after position location is got
Positioning scene image corresponding to interior each geographical position, further according to dark channel image corresponding to positioning scene image and with reference to dark
Channel image, visibility characterization information corresponding to each geographical position is obtained, and by the visibility characterization information of acquisition in electronics
Corresponding geographical position is shown in map.For example, the position location of user terminal input is certain street, then can obtain
The visibility characterization information of the street and its visibility characterization information of adjacent street, Bing Jianggai streets and its adjacent street is in electricity
Shown on sub- map.
Above- mentioned information exhibiting device, position location is inputted by user terminal, and obtain localization field corresponding to position location
Scape image, visibility characterization information is obtained by dark channel image corresponding to positioning scene image and with reference to dark channel image, and
The visibility characterization information is shown on the electronic map.The visibility characterization information can represent the air of position location
Visibility, user are checked by electronic map, and user can be helped to be familiar with road conditions, ensure safety.
Fig. 4 is the flow chart of information displaying method in another embodiment.As shown in figure 4, the information displaying method includes
Step 402 is to step 406.Wherein:
Step 402, the position location of user terminal input is obtained, and obtains positioning scene image corresponding to position location.
In one embodiment, user can received by user terminal input position positioning instruction, user terminal
After the positioning instruction of position, the geographical location information according to corresponding to being searched the position unique identifier included in the positioning instruction of position
Position location as user's input.For example, the position location can be street, sight spot or market etc..
Specifically, user can input the first position location by user terminal, and user terminal receives user's input
Behind first position location, obtain and the geographical location information related to the first position location, Ran Houyong are shown on terminal interface
Family selects the second position location further according to the geographical location information shown on terminal interface, the position location as user's input.
For example, user inputs the first position location " Shenzhen " on the subscriber terminal, then can be shown on user terminal interface
The geographical location information " Baoan district of Shenzhen city " of association, " Nanshan District, Shenzhen City ", " Enterprises of Futian District " etc., then user's root again
The second position location " Nanshan District, Shenzhen City " further is selected according to the geographical location information of displaying, as the sprocket bit finally entered
Put.
In other embodiment provided by the invention, after can also be user's input position positioning instruction, user terminal is straight
GPS (Global Positioning System, global positioning system) positioning terminal present position was connected, and should
Terminal present position is as position location.
It is understood that positioning scene image obtains or is stored in advance in default storage in real time
In space, then position unique identifier goes what is obtained directly according to corresponding to position location.It is that is, defeated in user terminal
After entering position location, photographing instruction can be initiated by user terminal, then be gathered and determined in real time by image collecting device again
The positioning scene image of position position correspondence, can also obtain positioning scene image directly from default memory space.
Positioning scene image corresponding to each geographical position is prestored in the default memory space, user terminal can be with
Position unique identifier goes to obtain directly according to corresponding to position location.In addition, the default memory space can be in server
On can also be that and positioning scene figure corresponding to each geographical position of renewal time timing acquisition can be set on user terminal
Picture, and positioning scene image corresponding to each geographical position of acquisition is updated in default memory space.For example, every
Once positioning scene image corresponding to each geographical position is obtained within 5 minutes, and is updated in default memory space.
Further, if position location is terminal present position, camera is opened;Terminal is obtained by camera
Positioning scene image corresponding to present position.That is, behind user terminal input position location, user terminal, which obtains, works as
Preceding position, and by position location compared with terminal present position, if position location, which is terminal, is currently located position
Put, then open the camera of user terminal, in real time positioning scene image corresponding to acquisition.Can also be, user terminal directly obtains
Terminal present position is taken then to open positioning scene image corresponding to camera acquisition as position location.
Further, if camera is opened in position location in the range of the pre-determined distance of terminal present position;
Positioning scene image corresponding to terminal present position is obtained by camera.In general, air visibility is in small distance
In the range of change it is smaller, if therefore position location in the range of the pre-determined distance of terminal present position, can be
The air visibility of position location and the air visibility of terminal present position regard identical as.
Step 404, reference scene image corresponding to position location is obtained.
In one embodiment, reference scene image refers to localization field corresponding to the position location that obtains in the case of fogless
Scape image.After user terminal inputs position location, position unique identifier can obtain directly according to corresponding to position location
The reference scene image.The reference scene image is stored in advance in default memory space, and the default memory space can be with
It is in the user terminal or in the server.
Step 406, the dark channel diagram corresponding to dark channel image and reference scene image according to corresponding to positioning scene image
Picture, obtain visibility characterization information corresponding to position location.
In embodiment provided by the invention, each pixel in positioning scene image and reference scene image has
RGB triple channel values, RGB triple channels value represent the size of the component of three colors of red, green, blue of pending image pixel respectively,
The span of each channel value is between 0 to 255, and the component of Color Channel is bigger corresponding to the bigger expression of numerical value.And
Generally, for each pixel of positioning scene image and reference scene image, can all exist in RGB triple channel values
One minimum channel value, this minimum channel value are exactly dark channel value corresponding to the pixel.
Usually, in the case where bright light is not influenceed by mistiness degree, this dark channel value is a very small value,
One can consider that this dark channel value is smaller, pixel by mistiness degree influenceed it is smaller;On the contrary, dark channel value is bigger, pixel
By mistiness degree influenceed it is bigger.
Can be obtained according to reference scene image with reference to dark channel image in embodiment provided by the invention, by
In reference scene image be positioning scene image corresponding to the position location that obtains in the case of fogless, that is to say, that reference scene
Image by mistiness degree influenceed to be very small, therefore the dark channel value in dark channel image corresponding to reference scene image
It is typically smaller.
In one embodiment, the RGB of positioning scene image and each pixel in reference scene image can be traveled through
Triple channel value, dark channel value corresponding to each pixel is obtained, so as to obtain whole positioning scene image and reference scene image
Corresponding dark channel image, dark channel image corresponding to reference scene image be refer to dark channel image.
In one embodiment, compared by dark channel image corresponding to positioning scene image and with reference to dark channel image
Compared with the otherness of dark channel image corresponding to positioning scene image and reference dark channel image is bigger, it is believed that positioning scene image
Influenceed by mistiness degree bigger.
Dark channel image corresponding to positioning scene image and the difference with reference to dark channel image can be obtained;Obtained according to difference
Take visibility characterization information corresponding to position location.Here the visibility of the bigger expression position location of difference is lower, and difference is got over
The visibility of small expression position location is higher.Specifically, the corresponding relation of difference and visibility characterization information is pre-established, is being obtained
After getting difference, visibility characterization information is obtained according to the corresponding relation of the difference and difference and visibility characterization information.
Further, dark channel image corresponding to positioning scene image is obtained and with reference to each picture in dark channel image
The difference of element;Mean difference is obtained according to each pixel value difference, and passes through the mean difference and mean difference and visibility meter
The corresponding relation of reference breath, obtains visibility characterization information corresponding to position location.
If for example, the mean difference is less than or equal to 0, visibility characterization information is shown in green, represents position location pair
The scene answered is not influenceed by mistiness degree;If the mean difference, between 0 to 100, visibility characterization information is shown as yellow, represent
Scene corresponding to position location is influenceed smaller by mistiness degree;If the mean difference is between 100 to 255, visibility meter reference
Breath is shown as yellow, and it is more serious to represent that scene corresponding to position location is influenceed by mistiness degree.
It is understood that obtain dark channel image corresponding to positioning scene image and the difference with reference to dark channel image;
The visibility characterization information according to corresponding to difference obtains position location can also include:Obtain and helped secretly corresponding to positioning scene image
Road image and the difference with reference to the reference pixel in dark channel image;According to pair of the difference and difference and visibility characterization information
It should be related to, obtain visibility characterization information corresponding to position location.Wherein, reference pixel refers to the one or more that sampling is chosen
Pixel, the visibility characterization information obtained according to the one or more pixel, can represent see corresponding to positioning scene image
Spend characterization information.
In another embodiment, dark channel image corresponding to positioning scene image and the ratio with reference to dark channel image are obtained
Value;Visibility characterization information corresponding to stating position location is obtained according to ratio.Here the bigger expression position location of ratio can be seen
Degree is lower, and visibility corresponding to the smaller expression of ratio is higher.
Further, dark channel image corresponding to positioning scene image is obtained and with reference to each picture in dark channel image
The ratio of element;Mean ratio is obtained according to each pixel ratio, and energy corresponding to position location is obtained by the mean ratio
Degree of opinion characterization information.Specifically, the corresponding relation of mean ratio and visibility characterization information is pre-established, is getting average specific
After value, visibility characterization information is obtained according to the mean ratio and mean ratio and the corresponding relation of visibility characterization information.
In other embodiment provided by the invention, obtain dark channel image corresponding to positioning scene image and reference is helped secretly
The ratio of road image;The visibility characterization information according to corresponding to ratio obtains position location can also include:Obtain positioning scene
Dark channel image corresponding to image and the ratio with reference to the reference pixel in dark channel image;According to the ratio and ratio with that can see
The corresponding relation of characterization information is spent, obtains visibility characterization information corresponding to position location.
Step 408, by visibility characterization information, corresponding position location is shown in electronic map.
In one embodiment, behind user terminal input position location, Location Request can be sent to server, obtained simultaneously
The visibility characterization information of position location.User terminal can be tied after the positioning result that the reception server returns according to positioning
Fruit positions and shows region corresponding to position location on the electronic map, while the visibility characterization information that displaying is got.Can
With understanding, the visibility characterization information is obtained or obtained on the subscriber terminal on the server.
Fig. 5 is the displaying schematic diagram of visibility characterization information in one embodiment.Position location 502 is illustrated in Fig. 5, with
And the visibility characterization information of the air visibility of the position location 502 is represented with color.
Above- mentioned information methods of exhibiting, position location is inputted by user terminal, and obtain localization field corresponding to position location
Scape image, visibility characterization information is obtained by dark channel image corresponding to positioning scene image and with reference to dark channel image, and
The visibility characterization information is shown on the electronic map.The visibility characterization information can represent the air of position location
Visibility, user are checked by electronic map, and user can be helped to be familiar with road conditions, ensure safety.
Fig. 6 is the structural representation of information displaying method in one embodiment.As shown in fig. 6, the information displaying method 600
Including image collection module 602, data obtaining module 604 and information display module 606.Wherein:
Image collection module 602, for obtaining the position location of user terminal input, and it is corresponding to obtain the position location
Positioning scene image.
Data obtaining module 604, for the dark channel image according to corresponding to the positioning scene image and with reference to dark
Image, obtain visibility characterization information corresponding to the position location.
Information display module 606, for corresponding position location to be entered in electronic map by the visibility characterization information
Row displaying.
Above- mentioned information exhibiting device, position location is inputted by user terminal, and obtain localization field corresponding to position location
Scape image, visibility characterization information is obtained by dark channel image corresponding to positioning scene image and with reference to dark channel image, and
The visibility characterization information is shown on the electronic map.The visibility characterization information can represent the air of position location
Visibility, user are checked by electronic map, and user can be helped to be familiar with road conditions, ensure safety.
In one embodiment, if it is terminal present position that image collection module 602, which is additionally operable to the position location,
Then open camera;Positioning scene image corresponding to terminal present position is obtained by the camera.
In one of the embodiments, data obtaining module 604 is additionally operable to obtain reference field corresponding to the position location
Scape image;According to dark channel image corresponding to dark channel image corresponding to the positioning scene image and reference scene image, obtain
Take visibility characterization information corresponding to the position location.
In embodiment provided by the invention, data obtaining module 604 is additionally operable to obtain the positioning scene image correspondingly
Dark channel image and with reference to dark channel image difference;The visibility meter according to corresponding to the difference obtains the position location
Reference ceases.
In another embodiment, data obtaining module 604 is additionally operable to obtain and helped secretly corresponding to the positioning scene image
Road image and the ratio with reference to dark channel image;The visibility meter reference according to corresponding to the ratio obtains the position location
Breath.
The division of modules is only used for for example, in other embodiments, will can believe in above- mentioned information exhibiting device
Breath exhibiting device is divided into different modules as required, to complete all or part of function of above- mentioned information exhibiting device.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium.A kind of computer-readable recording medium, its
On be stored with computer program, the program realizes following steps when being executed by processor:
The position location of user terminal input is obtained, and obtains positioning scene image corresponding to the position location;
According to dark channel image corresponding to the positioning scene image and with reference to dark channel image, the position location is obtained
Corresponding visibility characterization information;
By the visibility characterization information, corresponding position location is shown in electronic map.
In one embodiment, positioning scene image bag corresponding to the acquisition position location being executed by processor
Include:
If the position location is terminal present position, camera is opened;
Positioning scene image corresponding to terminal present position is obtained by the camera.
In one of the embodiments, the dark according to corresponding to the positioning scene image being executed by processor
Image and with reference to dark channel image, obtaining visibility characterization information corresponding to the position location includes:
Obtain reference scene image corresponding to the position location;
According to dark channel image corresponding to dark channel image corresponding to the positioning scene image and reference scene image, obtain
Take visibility characterization information corresponding to the position location.
In another embodiment, the dark channel diagram according to corresponding to the positioning scene image being executed by processor
Picture and with reference to dark channel image, obtaining visibility characterization information corresponding to the position location includes:
Obtain dark channel image corresponding to the positioning scene image and the difference with reference to dark channel image;
The visibility characterization information according to corresponding to the difference obtains the position location.
In embodiment provided by the invention, what is be executed by processor is described dark according to corresponding to the positioning scene image
Channel image and with reference to dark channel image, obtaining visibility characterization information corresponding to the position location includes:
Obtain dark channel image corresponding to the positioning scene image and the ratio with reference to dark channel image;
The visibility characterization information according to corresponding to the ratio obtains the position location.
The embodiment of the present invention also provides a kind of computer equipment.Above computer equipment includes image processing circuit, figure
As process circuit can utilize hardware and/or component software to realize, it may include define ISP (Image Signal
Processing, picture signal processing) pipeline various processing units.Fig. 7 is that image processing circuit shows in one embodiment
It is intended to.As shown in fig. 7, for purposes of illustration only, the various aspects of the image processing techniques related to the embodiment of the present invention are only shown.
As shown in fig. 7, image processing circuit includes ISP processors 740 and control logic device 750.Imaging device 710 is caught
View data handled first by ISP processors 740, ISP processors 740 view data is analyzed with catch can be used for it is true
The image statistics of fixed and/or imaging device 710 one or more control parameters.Imaging device 710 may include there is one
The camera of individual or multiple lens 712 and imaging sensor 714.Imaging sensor 714 may include colour filter array (such as
Bayer filters), imaging sensor 714 can obtain the luminous intensity caught with each imaging pixel of imaging sensor 714 and wavelength
Information, and the one group of raw image data that can be handled by ISP processors 740 is provided.Sensor 720 can be connect based on sensor 720
Raw image data is supplied to ISP processors 740 by mouth type.The interface of sensor 720 can utilize SMIA (Standard
Mobile Imaging Architecture, Standard Mobile Imager framework) interface, other serial or parallel camera interfaces or
The combination of above-mentioned interface.
ISP processors 740 handle raw image data pixel by pixel in various formats.For example, each image pixel can
Bit depth with 8,10,12 or 14 bits, ISP processors 740 can be carried out at one or more images to raw image data
Reason operation, statistical information of the collection on view data.Wherein, image processing operations can be by identical or different bit depth precision
Carry out.
ISP processors 740 can also receive pixel data from video memory 730.For example, from the interface of sensor 720 by original
Beginning pixel data is sent to video memory 730, and the raw pixel data in video memory 730 is available to ISP processors
740 is for processing.Video memory 730 can be independent in a part, storage device or electronic equipment for storage arrangement
Private memory, and may include DMA (Direct Memory Access, direct direct memory access (DMA)) feature.
When receiving the raw image data from the interface of sensor 720 or from video memory 730, ISP processing
Device 740 can carry out one or more image processing operations, such as time-domain filtering.View data after processing can be transmitted to be stored to image
Device 730, to carry out other processing before shown.ISP processors 740 can also be from the reception processing of video memory 730
Data, the image real time transfer in original domain and in RGB and YCbCr color spaces is carried out to above-mentioned processing data.After processing
View data may be output to display 780, for user watch and/or by graphics engine or GPU (Graphics
Processing Unit, graphics processor) further processing.In addition, the output of ISP processors 740 also can be transmitted and be deposited to image
Reservoir 730, and display 780 can read view data from video memory 730.In one embodiment, video memory 730
It can be configured as realizing one or more frame buffers.In addition, the output of ISP processors 740 can be transmitted to encoder/decoder
770, so as to encoding/decoding image data.The view data of coding can be saved, and on the equipment of display 780 is shown in it
Preceding decompression.
View data after ISP processing can be transmitted to defogging module 760, to carry out defogging to image before shown
Processing.Defogging module 760, which carries out defogging processing to view data, may include to obtain each pixel in positioning scene image
Mist parameter, and defogging processing etc. is carried out to positioning scene image according to defogging parameter.Wherein, defogging module 760 can be mobile whole
CPU (Central Processing Unit, central processing unit) or GPU (Graphics Processing Unit, figure in end
Shape processor) etc..After view data is carried out defogging processing by defogging module 760, the view data after can defogging be handled is sent
To encoder/decoder 770, so as to encoding/decoding image data.The view data of coding can be saved, and in display and be shown
Decompressed before showing in the equipment of device 780.It is understood that the view data after defogging module 760 is handled can be without volume
Code device/decoder 770, directly issues display 780 and is shown.View data after the processing of ISP processors 740 can also be first
Encoded device/decoder 770 is handled, and is then handled again by defogging module 760.
The statistics that ISP processors 740 determine, which can be transmitted, gives the unit of control logic device 750.For example, statistics can wrap
Include the image sensings such as automatic exposure, AWB, automatic focusing, flicker detection, black level compensation, the shadow correction of lens 712
The statistical information of device 714.Control logic device 750 may include the processor and/or micro-control for performing one or more routines (such as firmware)
Device processed, one or more routines according to the statistics of reception, can determine control parameter and the ISP processing of imaging device 710
The control parameter of device 740.For example, control parameter may include the control parameter of sensor 720 (such as gain, the integration of spectrum assignment
Time), camera flash control parameter, the group of the control parameter of lens 712 (such as focus on or zoom focal length) or these parameters
Close.ISP control parameters may include the gain level for being used for AWB and color adjustment (for example, RGB processing during) and
Color correction matrix, and the shadow correction parameter of lens 712.
It it is below the step of realizing information displaying method with image processing techniques in Fig. 7:
The position location of user terminal input is obtained, and obtains positioning scene image corresponding to the position location;
According to dark channel image corresponding to the positioning scene image and with reference to dark channel image, the position location is obtained
Corresponding visibility characterization information;
By the visibility characterization information, corresponding position location is shown in electronic map.
In one embodiment, positioning scene image bag corresponding to the acquisition position location being executed by processor
Include:
If the position location is terminal present position, camera is opened;
Positioning scene image corresponding to terminal present position is obtained by the camera.
In one of the embodiments, the dark according to corresponding to the positioning scene image being executed by processor
Image and with reference to dark channel image, obtaining visibility characterization information corresponding to the position location includes:
Obtain reference scene image corresponding to the position location;
According to dark channel image corresponding to dark channel image corresponding to the positioning scene image and reference scene image, obtain
Take visibility characterization information corresponding to the position location.
In another embodiment, the dark channel diagram according to corresponding to the positioning scene image being executed by processor
Picture and with reference to dark channel image, obtaining visibility characterization information corresponding to the position location includes:
Obtain dark channel image corresponding to the positioning scene image and the difference with reference to dark channel image;
The visibility characterization information according to corresponding to the difference obtains the position location.
In embodiment provided by the invention, what is be executed by processor is described dark according to corresponding to the positioning scene image
Channel image and with reference to dark channel image, obtaining visibility characterization information corresponding to the position location includes:
Obtain dark channel image corresponding to the positioning scene image and the ratio with reference to dark channel image;
The visibility characterization information according to corresponding to the ratio obtains the position location.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a non-volatile computer and can be read
In storage medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage is situated between
Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of information displaying method, it is characterised in that methods described includes:
The position location of user terminal input is obtained, and obtains positioning scene image corresponding to the position location;
According to dark channel image corresponding to the positioning scene image and with reference to dark channel image, it is corresponding to obtain the position location
Visibility characterization information;
By the visibility characterization information, corresponding position location is shown in electronic map.
2. information displaying method according to claim 1, it is characterised in that described obtain is determined corresponding to the position location
Position scene image includes:
If the position location is terminal present position, camera is opened;
Positioning scene image corresponding to terminal present position is obtained by the camera.
3. information displaying method according to claim 1, it is characterised in that described corresponding according to the positioning scene image
Dark channel image and with reference to dark channel image, obtaining visibility characterization information corresponding to the position location includes:
Obtain reference scene image corresponding to the position location;
According to dark channel image corresponding to dark channel image corresponding to the positioning scene image and reference scene image, institute is obtained
State visibility characterization information corresponding to position location.
4. according to the information displaying method described in any one of claims 1 to 3, it is characterised in that described according to the localization field
Dark channel image corresponding to scape image and with reference to dark channel image, obtains visibility characterization information bag corresponding to the position location
Include:
Obtain dark channel image corresponding to the positioning scene image and the difference with reference to dark channel image;
The visibility characterization information according to corresponding to the difference obtains the position location.
5. according to the information displaying method described in any one of claims 1 to 3, it is characterised in that described according to the localization field
Dark channel image corresponding to scape image and with reference to dark channel image, obtains visibility characterization information bag corresponding to the position location
Include:
Obtain dark channel image corresponding to the positioning scene image and the ratio with reference to dark channel image;
The visibility characterization information according to corresponding to the ratio obtains the position location.
6. a kind of device for displaying information, it is characterised in that described device includes:
Image collection module, for obtaining the position location of user terminal input, and obtain and positioned corresponding to the position location
Scene image;
Data obtaining module, for the dark channel image according to corresponding to the positioning scene image and with reference to dark channel image, obtain
Take visibility characterization information corresponding to the position location;
Information display module, for corresponding position location to be shown in electronic map by the visibility characterization information.
7. device for displaying information according to claim 6, it is characterised in that if described image acquisition module be additionally operable to it is described
Position location is terminal present position, then opens camera;Terminal present position pair is obtained by the camera
The positioning scene image answered.
8. the device for displaying information according to claim 6 or 7, it is characterised in that described information acquisition module is additionally operable to obtain
Take dark channel image corresponding to the positioning scene image and the difference with reference to dark channel image;According to obtaining the difference
Visibility characterization information corresponding to position location.
9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor
The information displaying method as any one of claim 1 to 5 is realized during row.
10. a kind of mobile terminal, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, it is characterised in that the letter as any one of claim 1 to 5 is realized during the computing device described program
Cease methods of exhibiting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710626265.6A CN107403010A (en) | 2017-07-27 | 2017-07-27 | Information displaying method, device, computer-readable recording medium and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710626265.6A CN107403010A (en) | 2017-07-27 | 2017-07-27 | Information displaying method, device, computer-readable recording medium and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107403010A true CN107403010A (en) | 2017-11-28 |
Family
ID=60401266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710626265.6A Pending CN107403010A (en) | 2017-07-27 | 2017-07-27 | Information displaying method, device, computer-readable recording medium and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107403010A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110019628A (en) * | 2017-12-27 | 2019-07-16 | 努比亚技术有限公司 | Localization method, mobile terminal and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104809707A (en) * | 2015-04-28 | 2015-07-29 | 西南科技大学 | Method for estimating visibility of single fog-degraded image |
CN105282421A (en) * | 2014-07-16 | 2016-01-27 | 宇龙计算机通信科技(深圳)有限公司 | Defogged image obtaining method, device and terminal |
CN105527251A (en) * | 2014-10-22 | 2016-04-27 | 姜海梅 | Highway visibility monitoring and early warning system based on cloud computing platform |
CN105844257A (en) * | 2016-04-11 | 2016-08-10 | 吉林大学 | Early warning system based on machine vision driving-in-fog road denoter missing and early warning method |
CN105872373A (en) * | 2016-03-31 | 2016-08-17 | 北京奇虎科技有限公司 | Automatic defogging photographing method, device and equipment |
-
2017
- 2017-07-27 CN CN201710626265.6A patent/CN107403010A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105282421A (en) * | 2014-07-16 | 2016-01-27 | 宇龙计算机通信科技(深圳)有限公司 | Defogged image obtaining method, device and terminal |
CN105527251A (en) * | 2014-10-22 | 2016-04-27 | 姜海梅 | Highway visibility monitoring and early warning system based on cloud computing platform |
CN104809707A (en) * | 2015-04-28 | 2015-07-29 | 西南科技大学 | Method for estimating visibility of single fog-degraded image |
CN105872373A (en) * | 2016-03-31 | 2016-08-17 | 北京奇虎科技有限公司 | Automatic defogging photographing method, device and equipment |
CN105844257A (en) * | 2016-04-11 | 2016-08-10 | 吉林大学 | Early warning system based on machine vision driving-in-fog road denoter missing and early warning method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110019628A (en) * | 2017-12-27 | 2019-07-16 | 努比亚技术有限公司 | Localization method, mobile terminal and computer readable storage medium |
CN110019628B (en) * | 2017-12-27 | 2023-12-29 | 努比亚技术有限公司 | Positioning method, mobile terminal and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107424133A (en) | Image defogging method, device, computer can storage medium and mobile terminals | |
CN108174172B (en) | Image pickup method and device, computer readable storage medium and computer equipment | |
CN107704798B (en) | Image blurring method and device, computer readable storage medium and computer device | |
CN108024107A (en) | Image processing method, device, electronic equipment and computer-readable recording medium | |
CN108156435A (en) | Image processing method and device, computer readable storage medium and computer equipment | |
CN108012134B (en) | Image pickup method and device, computer readable storage medium and computer equipment | |
CN107317967B (en) | Image processing method, image processing device, mobile terminal and computer readable storage medium | |
CN107277299A (en) | Image processing method, device, mobile terminal and computer-readable recording medium | |
CN107872663B (en) | Image processing method and device, computer readable storage medium and computer equipment | |
CN107465903A (en) | Image white balance method, device and computer-readable recording medium | |
CN108063926A (en) | Image processing method and device, computer readable storage medium and computer equipment | |
CN107454319A (en) | Image processing method, device, mobile terminal and computer-readable recording medium | |
CN108012135B (en) | Image processing method and device, computer readable storage medium and computer equipment | |
CN107801011A (en) | White balancing treatment method, device and the equipment of pan-shot | |
CN107194901B (en) | Image processing method, image processing device, computer equipment and computer readable storage medium | |
CN108986062A (en) | Image processing method and device, electronic device, storage medium and computer equipment | |
CN107454317B (en) | Image processing method, image processing device, computer-readable storage medium and computer equipment | |
CN107341782A (en) | Image processing method, device, computer equipment and computer-readable recording medium | |
CN108063934A (en) | Image processing method and device, computer readable storage medium and computer equipment | |
CN107959843B (en) | Image processing method and device, computer readable storage medium and computer equipment | |
CN107277369B (en) | Image processing method, device, computer readable storage medium and computer equipment | |
CN107920205A (en) | Image processing method, device, storage medium and electronic equipment | |
CN107230373A (en) | Information recommendation method, device, computer-readable recording medium and mobile terminal | |
CN107464225A (en) | Image processing method, device, computer-readable recording medium and mobile terminal | |
CN107392870B (en) | Image processing method, image processing device, mobile terminal and computer readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171128 |