CN107908383A - A kind of screen color method of adjustment, device and mobile terminal - Google Patents

A kind of screen color method of adjustment, device and mobile terminal Download PDF

Info

Publication number
CN107908383A
CN107908383A CN201711122235.8A CN201711122235A CN107908383A CN 107908383 A CN107908383 A CN 107908383A CN 201711122235 A CN201711122235 A CN 201711122235A CN 107908383 A CN107908383 A CN 107908383A
Authority
CN
China
Prior art keywords
color
display area
background color
screen
value
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.)
Granted
Application number
CN201711122235.8A
Other languages
Chinese (zh)
Other versions
CN107908383B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711122235.8A priority Critical patent/CN107908383B/en
Publication of CN107908383A publication Critical patent/CN107908383A/en
Application granted granted Critical
Publication of CN107908383B publication Critical patent/CN107908383B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Abstract

The present invention provides a kind of screen color method of adjustment, device and mobile terminal.This method includes:Detect whether the background color of immobilized substance display area in the display interface of screen matches with the background color of variable content display area;If mismatching, the background color of predeterminable area in the variable content display area is obtained;The background color of the predeterminable area is carried out taking color to handle, obtains color of object;The background color of the immobilized substance display area is replaced with into the color of object.The present invention enables to the display interface background color coordinating and unifying of whole screen, improves screen interface display effect, brings the full frame immersion of giant-screen mobile terminal to experience, and lifts user's visual experience.

Description

A kind of screen color method of adjustment, device and mobile terminal
Technical field
The present embodiments relate to terminal display technology field, more particularly to a kind of screen color method of adjustment, device and Mobile terminal.
Background technology
With the continuous development of Large Screen Display Technology, the screen of mobile terminal (such as mobile phone) is also increasing, in display Hold also increasingly abundanter.With the arrival in comprehensive screen mobile phone epoch, in order to pursue the screen accounting of superelevation, virtual navigation column is also melted Enter in screen.
Under normal circumstances, the virtual navigation column region on existing mobile phone screen interface is all shown with fixing color, such as black Color, white etc..Since the color of the main display area on mobile phone screen interface changes with being particularly shown content, often occur empty Intend the navigation bar region situation inconsistent with the color of main display area, cause mobile phone screen interface display uncoordinated, in content In the presence of sense is isolated, the usage experience of user is influenced, the advantage of large-screen mobile phone can not be played, meet user to the complete of large-screen mobile phone Shield immersion experience.
The content of the invention
The embodiment of the present invention provides a kind of screen color method of adjustment, device and mobile terminal, to solve existing Mobile phone screen Virtual navigation column region and the inconsistent caused screen interface of color of main display area show the problem of uncoordinated on curtain interface.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of screen color method of adjustment, including:
Detect the background color of immobilized substance display area and the back of the body of variable content display area in the display interface of screen Whether scape color matches;
If mismatching, the background color of predeterminable area in the variable content display area is obtained;
The background color of the predeterminable area is carried out taking color to handle, obtains color of object;
The background color of the immobilized substance display area is replaced with into the color of object.
The embodiment of the present invention additionally provides a kind of screen color adjusting apparatus, including:
Detection module, the background color and variable content of immobilized substance display area in the display interface for detecting screen Whether the background color of display area matches;
Acquisition module, for the background color of immobilized substance display area in display interface and variable content display area Background color when mismatching, obtain the background color of predeterminable area in the variable content display area;
Color processing module is taken, for carrying out taking color to handle to the background color of the predeterminable area, obtains color of object;
Color replacement module, for the background color of the immobilized substance display area to be replaced with the color of object.
An embodiment of the present invention provides a kind of mobile terminal, including:Processor, memory and it is stored on the memory And the computer program that can be run on the processor, realized when the computer program is performed by the processor as above-mentioned The step of described screen color method of adjustment.
In embodiments of the present invention, when in the display interface for detect screen the background color of immobilized substance display area with When the background color of variable content display area mismatches, pass through predeterminable area in the variable content display area to getting Background color carries out taking color to handle, and obtains color of object, and the background color of immobilized substance display area is replaced with the target Color so that the display interface background color coordinating and unifying of whole screen, improves screen interface display effect, bring giant-screen to move The full frame immersion experience of dynamic terminal, lifts user's visual experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the flow chart of the screen color method of adjustment of one embodiment of the invention;
Fig. 2 is the particular flow sheet of step 101 in Fig. 1;
Fig. 3 is the idiographic flow schematic diagram of step 103 in Fig. 1;
Fig. 4 is the structure diagram for the screen color adjusting apparatus that one embodiment of the invention provides;
Fig. 5 is the structure diagram of the screen color adjusting apparatus of the offer of another embodiment of the present invention;
Fig. 6 is the mobile terminal structure schematic diagram of the offer of further embodiment of this invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the screen color method of adjustment of one embodiment of the invention, applied to mobile terminal.Below should Figure illustrates the implementation process of this method.
Step 101, the background color of immobilized substance display area in the display interface of screen is detected to show with variable content Whether the background color in region matches.
Here, mobile terminal has superelevation screen accounting.It is also understood that the screen of mobile terminal is screen comprehensively.
Here, it is preferred that, immobilized substance display area is region residing for virtual navigation column.That is, virtual navigation column It is located in screen, and below non-screen.
It should be noted that two field colors match refer to two area pixels color value is identical or color value between Difference within a predetermined range.
Here, the color value of pixel includes:RGB (RGB, Red Green Blue) color value, CMY (it is blue or green pinkish red yellow, Cyan Magenta Yellow) color value etc..
For example, the difference of the color value and the color value of the R component of second area pixel when the R component of first area pixel In the range of first threshold, and the difference of the color value of the color value of G components and the G components of second area pixel is in second threshold Scope, and and B component color value and second area pixel B component color value difference in the 3rd threshold range when, Two field colors match.
Here, the specific of the basis for estimation whether to match using CMY color values as definite two field colors treats Journey is seen example above, and which is not described herein again.
Step 102, if mismatching, the background color of predeterminable area in the variable content display area is obtained.
Here, predeterminable area is the adjacent domain of fixed display area.In this way, the background color of predeterminable area is to fix The background color of the adjacent domain of display area, easy to subsequently adjust fixed display area according to the background color of the adjacent domain Background color, be conducive to seamlessly transitting for color, ensure that full screen shows the coordinating and unifying.
Here, further, if the background color of immobilized substance display area and the background color of variable content viewing area During matching, then the background color of immobilized substance display area in display interface is not processed.That is, maintain display area The background color of interior immobilized substance display area is constant.
Step 103, the background color of the predeterminable area is carried out taking color to handle, obtains color of object.
Here, the background color of predeterminable area is probably single color, it is also possible to changeable color.And to preset areas The background color in domain carries out taking color to handle, in order to optimal color, that is, color of object is obtained, so that subsequent screen After curtain color is according to the optimal color adjustment, the coordinating and unifying of full screen display effect.
Step 104, the background color of the immobilized substance display area is replaced with into the color of object.
Screen color method of adjustment provided in an embodiment of the present invention, when immobilized substance is shown in the display interface for detect screen When showing that the background color in region is mismatched with the background color of variable content display area, by being shown to the variable content got Show that the background color of predeterminable area in region carries out taking color to handle, obtain color of object, and by the back of the body of immobilized substance display area Scape color replaces with the color of object so that the display interface background color coordinating and unifying of whole screen, improves screen interface and show Show effect, bring the full frame immersion of giant-screen mobile terminal to experience, lift user's visual experience.
On the basis of the embodiment shown in above-mentioned Fig. 1, as a preferable implementation, as shown in Fig. 2, present invention step Rapid 101 may include:
Step 1011, the Part I region sectional drawing and the variable content for obtaining the immobilized substance display area are shown Show the Part II region sectional drawing in region.
Here specifically, the immobilized substance display area for treating sectional drawing and variable content display area can be set by software Area size;Afterwards, according to the area size set, obtain immobilized substance display area Part I region sectional drawing and can Become the Part II region sectional drawing of content display region.
It should be noted that software is set before the area size of Part I region sectional drawing and Part II region sectional drawing corresponds to Fixed area size.
Step 1012, the first color value and Part II region sectional drawing of Part I region sectional drawing are judged Whether the difference of the second color value is in preset threshold range.
Here, it is preferred that, the first color value and the second color value are RGB color value.
Step 1013, if the difference of first color value and second color value is more than in the preset threshold range It is interior, it is determined that the background color of the background color of the immobilized substance display area and the variable content display area is not Match somebody with somebody.
On the basis of the embodiment shown in above-mentioned Fig. 1, as a preferable implementation, step 102 of the present invention can wrap Include:
Identify that immobilized substance display area described in distance is more than zero and is less than or equal in the variable content display area The predeterminable area of default pixels tall;Obtain the background color of the predeterminable area.
Here, it is preferred that, predeterminable area is more than for immobilized substance display area described in distance in variable content display area Zero and less than or equal to the region of 2 pixels talls.
Certainly, the height of predeterminable area is not limited only to 2 pixels talls, can set as the case may be.
On the basis of the embodiment shown in above-mentioned Fig. 1, as a preferable implementation, as shown in figure 3, present invention step Rapid 103 may include:
Step 1031, the color value of each pixels sampled in the predeterminable area is obtained;
Specifically, being evenly dividing the predeterminable area for more sub-regions, the pixel in every sub-regions is taken Sample;Obtain the color value of each pixels sampled in per sub-regions.
Here, pixels sampled is pixel discrete in predeterminable area.
It should be noted that the color value of each pixels sampled is RGB color value.
Step 1032, the normal distyribution function of the color value based on each pixels sampled, to the background face of the predeterminable area Color carries out taking color to handle, and obtains color of object.
Here, the stochastic variable of normal distyribution function is the color value of pixels sampled.
Preferably, which may particularly include:
According to the color value of each pixels sampled, the average value and variance of the color value of the pixels sampled are calculated;
Here, the variance of the color value of each pixels sampled can be according between average value and the color value of each pixels sampled Mathematic interpolation obtains.
Here, the variance of the color value of each pixels sampled refers to the color value and gross sample pixel of each pixels sampled The average of the quadratic sum of the difference of the average value of color value.
That is, after calculating the difference between average value and the color value of each pixels sampled, it is squared, sums respectively It is averaged again afterwards.
, will be described pre- according to the normal distyribution function corresponding to the average value and the color value of each pixels sampled of variance If fall the probability in the normal distyribution function section in region is determined as mesh for the background color corresponding to the region of preset value Mark color.
Here, it is preferred that, preset value 80%.
Here, color processing procedure is taken by 1031~step 1032 of above-mentioned steps, obtained for replacing fixed display The optimal color in region, that is, color of object.So that after screen subsequent color is adjusted according to the optimal color, overall screen The coordinating and unifying of screen display effect.
In conclusion screen color method of adjustment provided in an embodiment of the present invention, when in the display interface for detecting screen When the background color of immobilized substance display area and the background color of variable content display area mismatch, by getting The background color of predeterminable area carries out taking color to handle in variable content display area, obtains color of object, and immobilized substance is shown Show that the background color in region replaces with the color of object so that the display interface background color coordinating and unifying of whole screen, is improved Screen interface display effect, brings the full frame immersion of giant-screen mobile terminal to experience, and lifts user's visual experience.
As shown in figure 4, the structure diagram of the screen color adjusting apparatus provided for one embodiment of the invention.Wherein, should Device 200 includes:
Detection module 201, in the display interface for detecting screen the background color of immobilized substance display area with it is variable Whether the background color of content display region matches;
Acquisition module 202, shows for the background color of immobilized substance display area in display interface and variable content When the background color in region mismatches, the background color of predeterminable area in the variable content display area is obtained;
Color processing module 203 is taken, for carrying out taking color to handle to the background color of the predeterminable area, obtains target face Color;
Color replacement module 204, for the background color of the immobilized substance display area to be replaced with the target face Color.
On the basis of Fig. 4, it is preferred that as shown in figure 5, the detection module 201 includes:
First acquisition submodule 2011, for obtain the immobilized substance display area Part I region sectional drawing and The Part II region sectional drawing of the variable content display area;
Judging submodule 2012, for the first color value for judging Part I region sectional drawing and the Part II Whether the difference of the second color value of region sectional drawing is in preset threshold range;
Detect determination sub-module 2013, for first color value and second color value difference described pre- If when in threshold range, determine the background color of the immobilized substance display area and the background of the variable content display area Color mismatches.
Preferably, the acquisition module 202 includes:
Region recognition submodule 2021, for identifying, immobilized substance described in distance is shown in the variable content display area Show that region is more than or equal to zero and less than or equal to the predeterminable area of default pixels tall;
Second acquisition submodule 2022, for obtaining the background color of the predeterminable area.
Preferably, it is described to take color processing module 203 to include:
3rd acquisition submodule 2031, for obtaining the color value of each pixels sampled in the predeterminable area;
Color is taken to handle submodule 2032, for the normal distyribution function of the color value based on each pixels sampled, to described pre- If the background color in region carries out taking color to handle, color of object is obtained.
Preferably, it is described to take color processing submodule 2032 to include:
Computing unit 20321, for the color value according to each pixels sampled, calculates the color value of each pixels sampled Average value and variance;
Color element 20322 is taken, for corresponding to the normal state of the average value and the color value of each pixels sampled of variance point Cloth function, it is the back of the body corresponding to the region of preset value that the probability in the normal distyribution function section will be fallen in the predeterminable area Scape color is determined as color of object.
Preferably, the immobilized substance display area is region residing for virtual navigation column.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 5 Each process, to avoid repeating, which is not described herein again.
Mobile terminal provided in an embodiment of the present invention, when detection module detects that immobilized substance is shown in the display interface of screen When showing that the background color in region is mismatched with the background color of variable content display area, by taking color processing module to obtaining mould The background color of predeterminable area carries out taking color to handle in the variable content display area that block is got, and obtains color of object, and lead to Cross color replacement module and the background color of immobilized substance display area is replaced with into the color of object so that the display of whole screen Interface background color coordination is unified, improves screen interface display effect, brings the full frame immersion of giant-screen mobile terminal to experience, Lift user's visual experience.
Fig. 6 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention, the mobile terminal 300 Including but not limited to:It is radio frequency unit 301, mixed-media network modules mixed-media 302, audio output unit 303, input unit 304, sensor 305, aobvious Show the components such as unit 306, user input unit 307, interface unit 308, memory 309, processor 310 and power supply 311. It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 6 does not form the restriction to mobile terminal, it is mobile whole End can be included than illustrating more or fewer components, either combine some components or different components arrangement.In the present invention In embodiment, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear Wear equipment and pedometer etc..
Wherein, processor 310, in the display interface for detecting screen the background color of immobilized substance display area with can Whether the background color for becoming content display region matches;If mismatching, preset areas in the variable content display area is obtained The background color in domain;The background color of the predeterminable area is carried out taking color to handle, obtains color of object;By the immobilized substance The background color of display area replaces with the color of object.
Mobile terminal 300 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
The mobile terminal 300 of the embodiment of the present invention, enables to the display interface background color coordinating and unifying of whole screen, Screen interface display effect is improved, brings the full frame immersion of giant-screen mobile terminal to experience, lifts user's visual experience.
It should be understood that in the embodiment of the present invention, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 310;In addition, by uplink Data sending is to base station.In general, radio frequency unit 301 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by mixed-media network modules mixed-media 302 and has accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 303 can be receiving by radio frequency unit 301 or mixed-media network modules mixed-media 302 or in memory 309 It is sound that the voice data of storage, which is converted into audio signal and exports,.Moreover, audio output unit 303 can also be provided and moved The relevant audio output of specific function that dynamic terminal 300 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 303 includes loudspeaker, buzzer and receiver etc..
Input unit 304 is used to receive audio or video signal.Input unit 304 can include graphics processor (Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Picture frame after processing may be displayed on display unit 306.Picture frame after the processing of graphics processor 3041 can be deposited Storage is transmitted in memory 309 (or other storage mediums) or via radio frequency unit 301 or mixed-media network modules mixed-media 302.Mike Wind 3042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 301 by being converted in the case of telephone calling model.
Mobile terminal 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when mobile terminal 300 is moved in one's ear Display panel 3061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 306 is used for the information for showing by information input by user or being supplied to user.Display unit 306 can wrap Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 3061.
User input unit 307 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 307 include contact panel 3071 and Other input equipments 3072.Contact panel 3071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects or annex such as finger, stylus on contact panel 3071 or in contact panel 3071 Neighbouring operation).Contact panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area Manage the order that device 310 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 3071.Except contact panel 3071, user input unit 307 can also include other input equipments 3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, contact panel 3071 can be covered on display panel 3061, when contact panel 3071 is detected at it On or near touch operation after, send to processor 310 with determine touch event type, be followed by subsequent processing device 310 according to touch The type for touching event provides corresponding visual output on display panel 3061.Although in figure 6, contact panel 3071 and display Panel 3061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments In, can be integrated by contact panel 3071 and display panel 3061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 308 is the interface that external device (ED) is connected with mobile terminal 300.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 308 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 300 can be used in 300 He of mobile terminal Data are transmitted between external device (ED).
Memory 309 can be used for storage software program and various data.Memory 309 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 309 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection A part, by running or performing the software program and/or module that are stored in memory 309, and calls and is stored in storage Data in device 309, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Mobile terminal 300 can also include the power supply 311 (such as battery) to all parts power supply, it is preferred that power supply 311 Can be logically contiguous by power-supply management system and processor 310, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 300 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor, and memory, is stored in memory Computer program that is upper and can running on the processor, the computer program realize above-mentioned screen face when being executed by processor Each process of color adjustment embodiment of the method, and identical technique effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize each process of above-mentioned screen color method of adjustment embodiment when being executed by processor, And identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable recording medium, Such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, services Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much Form, belongs within the protection of the present invention.

Claims (13)

  1. A kind of 1. screen color method of adjustment, applied to mobile terminal, it is characterised in that including:
    Detect the background color of immobilized substance display area and the background face of variable content display area in the display interface of screen Whether color matches;
    If mismatching, the background color of predeterminable area in the variable content display area is obtained;
    The background color of the predeterminable area is carried out taking color to handle, obtains color of object;
    The background color of the immobilized substance display area is replaced with into the color of object.
  2. 2. screen color method of adjustment according to claim 1, it is characterised in that detect fixed in the display interface of screen The step of whether background color of content display region matches with the background color of variable content display area, including:
    Obtain the immobilized substance display area Part I region sectional drawing and the variable content display area second Subregion sectional drawing;
    Judge the first color value of Part I region sectional drawing and the second color value of Part II region sectional drawing Whether difference is in preset threshold range;
    If the difference of first color value and second color value is in the preset threshold range, it is determined that the fixation The background color of content display region and the background color of the variable content display area mismatch.
  3. 3. screen color method of adjustment according to claim 1, it is characterised in that obtain the variable content display area The step of background color of interior predeterminable area, including:
    Identify that immobilized substance display area described in distance is more than zero and less than or equal to default in the variable content display area The predeterminable area of a pixels tall;
    Obtain the background color of the predeterminable area.
  4. 4. screen color method of adjustment according to claim 1, it is characterised in that to the background color of the predeterminable area The step of take color to handle, obtain color of object, including:
    Obtain the color value of each pixels sampled in the predeterminable area;
    The normal distyribution function of color value based on each pixels sampled, to the background color of the predeterminable area take at color Reason, obtains color of object.
  5. 5. screen color method of adjustment according to claim 4, it is characterised in that the color value based on each pixels sampled Normal distyribution function, the step of to the background color of the predeterminable area take color to handle, obtain color of object, including:
    According to the color value of each pixels sampled, the average value and variance of the color value of the pixels sampled are calculated;
    According to the normal distyribution function corresponding to the average value and the color value of each pixels sampled of variance, by the preset areas Fall the probability in the normal distyribution function section in domain and be determined as target face for the background color corresponding to the region of preset value Color.
  6. 6. screen color method of adjustment according to claim 1, it is characterised in that the immobilized substance display area is void Intend region residing for navigation bar.
  7. A kind of 7. screen color adjusting apparatus, it is characterised in that including:
    Detection module, the background color of immobilized substance display area is shown with variable content in the display interface for detecting screen Whether the background color in region matches;
    Acquisition module, for the background color of immobilized substance display area in display interface and the back of the body of variable content display area When scape color mismatches, the background color of predeterminable area in the variable content display area is obtained;
    Color processing module is taken, for carrying out taking color to handle to the background color of the predeterminable area, obtains color of object;
    Color replacement module, for the background color of the immobilized substance display area to be replaced with the color of object.
  8. 8. device according to claim 7, it is characterised in that the detection module includes:
    First acquisition submodule, for obtaining the Part I region sectional drawing of the immobilized substance display area and described variable The Part II region sectional drawing of content display region;
    Judging submodule, for judging the first color value and Part II region sectional drawing of Part I region sectional drawing The second color value difference whether in preset threshold range;
    Detect determination sub-module, for first color value and second color value difference in the predetermined threshold value model When enclosing interior, do not determine the background color of the background color of the immobilized substance display area and the variable content display area not Match somebody with somebody.
  9. 9. device according to claim 7, it is characterised in that the acquisition module includes:
    Region recognition submodule, for identifying, immobilized substance display area described in distance is big in the variable content display area In equal to zero and less than or equal to the predeterminable area of default pixels tall;
    Second acquisition submodule, for obtaining the background color of the predeterminable area.
  10. 10. device according to claim 7, it is characterised in that described to take color processing module to include:
    3rd acquisition submodule, for obtaining the color value of each pixels sampled in the predeterminable area;
    Color is taken to handle submodule, for the normal distyribution function of the color value based on each pixels sampled, to the predeterminable area Background color carries out taking color to handle, and obtains color of object.
  11. 11. device according to claim 10, it is characterised in that described to take color processing submodule to include:
    Computing unit, for the color value according to each pixels sampled, calculate each pixels sampled color value average value with And variance;
    Color element is taken, will for the normal distyribution function corresponding to the average value and the color value of each pixels sampled of variance It is true for the background color corresponding to the region of preset value to fall the probability in the normal distyribution function section in the predeterminable area It is set to color of object.
  12. 12. device according to claim 7, it is characterised in that the immobilized substance display area is virtual navigation column institute Locate region.
  13. A kind of 13. mobile terminal, it is characterised in that including:Processor, memory and it is stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 6 is realized when the computer program is performed by the processor Any one of screen color method of adjustment the step of.
CN201711122235.8A 2017-11-14 2017-11-14 Screen color adjusting method and device and mobile terminal Active CN107908383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711122235.8A CN107908383B (en) 2017-11-14 2017-11-14 Screen color adjusting method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711122235.8A CN107908383B (en) 2017-11-14 2017-11-14 Screen color adjusting method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107908383A true CN107908383A (en) 2018-04-13
CN107908383B CN107908383B (en) 2020-07-07

Family

ID=61845350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711122235.8A Active CN107908383B (en) 2017-11-14 2017-11-14 Screen color adjusting method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107908383B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299310A (en) * 2018-12-05 2019-02-01 王相军 A kind of screen picture takes color and searching method and system
CN109451110A (en) * 2018-11-28 2019-03-08 维沃移动通信有限公司 A kind of display methods and mobile terminal
CN109460272A (en) * 2018-09-11 2019-03-12 广州优视网络科技有限公司 For the application display method and device of Android system
CN109901897A (en) * 2019-01-11 2019-06-18 珠海天燕科技有限公司 A kind of method and apparatus of the color of match views in the application
CN110109725A (en) * 2019-04-30 2019-08-09 努比亚技术有限公司 A kind of interface color method of adjustment and wearable device
CN110119260A (en) * 2019-04-28 2019-08-13 维沃移动通信有限公司 A kind of screen display method and terminal
CN111104193A (en) * 2018-10-25 2020-05-05 北京奇虎科技有限公司 Application program active interface display method and device, storage medium and terminal equipment
CN111429538A (en) * 2020-03-19 2020-07-17 政采云有限公司 Method, system and equipment for playing carousel pictures and readable storage medium
CN111488191A (en) * 2020-04-13 2020-08-04 Oppo广东移动通信有限公司 Screen display method, electronic device and storage medium
CN111639205A (en) * 2020-05-27 2020-09-08 惠州Tcl移动通信有限公司 Image processing method, device, storage medium and mobile terminal
CN112512184A (en) * 2020-12-02 2021-03-16 深圳市智岩科技有限公司 Color-taking illumination control method, device, system and storage medium
CN112783459A (en) * 2019-11-08 2021-05-11 北京汉美奥科节能设备有限公司 Device for changing color of designated position of screen by transmitting position data through screen and receiving position information point by point
CN113396643A (en) * 2019-02-13 2021-09-14 昕诺飞控股有限公司 Determining a light effect based on an average color after a detected content transition
CN113407133A (en) * 2020-03-17 2021-09-17 宏碁股份有限公司 Electronic device and color configuration adjustment method
CN113793395A (en) * 2021-09-15 2021-12-14 湖南快乐阳光互动娱乐传媒有限公司 Key color extraction method and device
CN115145442A (en) * 2022-06-07 2022-10-04 杭州海康汽车软件有限公司 Environment image display method and device, vehicle-mounted terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1841370A (en) * 2005-03-29 2006-10-04 腾讯科技(深圳)有限公司 User interface display method
CN102955803A (en) * 2011-08-26 2013-03-06 腾讯科技(深圳)有限公司 Website display method and browser
CN103440326A (en) * 2013-09-02 2013-12-11 百度在线网络技术(北京)有限公司 Method and apparatus for providing representation information
CN105204807A (en) * 2015-09-24 2015-12-30 北京金山安全软件有限公司 Method and device for adjusting color of display content at front end of screen
CN106201535A (en) * 2016-07-14 2016-12-07 广州神马移动信息科技有限公司 The method and apparatus that toolbar background color converts along with the domain color of picture
CN106569678A (en) * 2016-11-16 2017-04-19 努比亚技术有限公司 Display adjusting method and device of suspending operation board and terminal
CN107315515A (en) * 2017-06-20 2017-11-03 努比亚技术有限公司 Color change method, terminal and the computer-readable recording medium of status bar icon

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1841370A (en) * 2005-03-29 2006-10-04 腾讯科技(深圳)有限公司 User interface display method
CN102955803A (en) * 2011-08-26 2013-03-06 腾讯科技(深圳)有限公司 Website display method and browser
CN103440326A (en) * 2013-09-02 2013-12-11 百度在线网络技术(北京)有限公司 Method and apparatus for providing representation information
CN105204807A (en) * 2015-09-24 2015-12-30 北京金山安全软件有限公司 Method and device for adjusting color of display content at front end of screen
CN106201535A (en) * 2016-07-14 2016-12-07 广州神马移动信息科技有限公司 The method and apparatus that toolbar background color converts along with the domain color of picture
CN106569678A (en) * 2016-11-16 2017-04-19 努比亚技术有限公司 Display adjusting method and device of suspending operation board and terminal
CN107315515A (en) * 2017-06-20 2017-11-03 努比亚技术有限公司 Color change method, terminal and the computer-readable recording medium of status bar icon

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460272A (en) * 2018-09-11 2019-03-12 广州优视网络科技有限公司 For the application display method and device of Android system
CN111104193A (en) * 2018-10-25 2020-05-05 北京奇虎科技有限公司 Application program active interface display method and device, storage medium and terminal equipment
CN109451110A (en) * 2018-11-28 2019-03-08 维沃移动通信有限公司 A kind of display methods and mobile terminal
CN109299310A (en) * 2018-12-05 2019-02-01 王相军 A kind of screen picture takes color and searching method and system
CN109901897A (en) * 2019-01-11 2019-06-18 珠海天燕科技有限公司 A kind of method and apparatus of the color of match views in the application
CN113396643A (en) * 2019-02-13 2021-09-14 昕诺飞控股有限公司 Determining a light effect based on an average color after a detected content transition
CN110119260A (en) * 2019-04-28 2019-08-13 维沃移动通信有限公司 A kind of screen display method and terminal
CN110119260B (en) * 2019-04-28 2023-04-18 维沃移动通信有限公司 Screen display method and terminal
CN110109725A (en) * 2019-04-30 2019-08-09 努比亚技术有限公司 A kind of interface color method of adjustment and wearable device
CN112783459A (en) * 2019-11-08 2021-05-11 北京汉美奥科节能设备有限公司 Device for changing color of designated position of screen by transmitting position data through screen and receiving position information point by point
CN113407133A (en) * 2020-03-17 2021-09-17 宏碁股份有限公司 Electronic device and color configuration adjustment method
CN111429538A (en) * 2020-03-19 2020-07-17 政采云有限公司 Method, system and equipment for playing carousel pictures and readable storage medium
CN111488191A (en) * 2020-04-13 2020-08-04 Oppo广东移动通信有限公司 Screen display method, electronic device and storage medium
CN111639205A (en) * 2020-05-27 2020-09-08 惠州Tcl移动通信有限公司 Image processing method, device, storage medium and mobile terminal
CN111639205B (en) * 2020-05-27 2023-09-12 广西三方大供应链技术服务有限公司 Image processing method, device, storage medium and mobile terminal
CN112512184A (en) * 2020-12-02 2021-03-16 深圳市智岩科技有限公司 Color-taking illumination control method, device, system and storage medium
CN113793395A (en) * 2021-09-15 2021-12-14 湖南快乐阳光互动娱乐传媒有限公司 Key color extraction method and device
CN115145442A (en) * 2022-06-07 2022-10-04 杭州海康汽车软件有限公司 Environment image display method and device, vehicle-mounted terminal and storage medium

Also Published As

Publication number Publication date
CN107908383B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN107908383A (en) A kind of screen color method of adjustment, device and mobile terminal
CN108257581B (en) Light intensity detection device, mobile terminal and display screen brightness adjustment method
CN107665697B (en) A kind of adjusting method and mobile terminal of screen intensity
CN110602473B (en) White balance calibration method and device
CN107943551A (en) A kind of screen display method and mobile terminal
CN108073343A (en) A kind of display interface method of adjustment and mobile terminal
CN108492246A (en) A kind of image processing method, device and mobile terminal
CN107895352A (en) A kind of image processing method and mobile terminal
CN107977652A (en) The extracting method and mobile terminal of a kind of screen display content
CN109189281A (en) Color adaptation method, terminal and the computer storage medium of wallpaper and icon
CN108037966A (en) A kind of interface display method, device and mobile terminal
CN107846583A (en) A kind of image shadow compensating method and mobile terminal
CN108347558A (en) A kind of method, apparatus and mobile terminal of image optimization
CN108965589A (en) A kind of screen brightness control method, terminal and computer readable storage medium
CN108541015A (en) A kind of signal strength reminding method and mobile terminal
CN107845363A (en) A kind of display control method and mobile terminal
CN111899695A (en) Backlight adjusting method, terminal device and readable storage medium
CN109727212A (en) A kind of image processing method and mobile terminal
CN108021379A (en) A kind of upgrade method of application program, mobile terminal and server
CN109544140A (en) A kind of identification code scan method, terminal and readable storage medium storing program for executing
CN107977947A (en) A kind of image processing method, mobile terminal
CN108419283A (en) A kind of method and mobile terminal of WIFI hot spot scanning
CN108038889A (en) The processing method and mobile terminal of a kind of image color cast
CN110312274A (en) A kind of method for building up and electronic equipment of wireless access point
CN109729280A (en) A kind of image processing method and mobile terminal

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