[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110413360A - Image display method, device, mobile terminal and storage medium - Google Patents

Image display method, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN110413360A
CN110413360A CN201910647110.XA CN201910647110A CN110413360A CN 110413360 A CN110413360 A CN 110413360A CN 201910647110 A CN201910647110 A CN 201910647110A CN 110413360 A CN110413360 A CN 110413360A
Authority
CN
China
Prior art keywords
color gamut
gamut space
picture
space
user interface
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
Application number
CN201910647110.XA
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910647110.XA priority Critical patent/CN110413360A/en
Publication of CN110413360A publication Critical patent/CN110413360A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/32Image data format

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)

Abstract

This application discloses a kind of image display method, device, mobile terminal and storage mediums, the image display method includes: that the color gamut space of the picture is obtained when detecting that currently running application program loads picture as the color gamut space of the first color gamut space and the user interface of the application program as the second color gamut space;Judge whether first color gamut space and second color gamut space are identical;If it is not the same, the color gamut space of the color gamut space of the picture and the user interface is adjusted to consistent;After the color gamut space of the color gamut space of the picture and the user interface is adjusted to consistent, the picture is shown.This method can keep picture consistent with the color gamut space of user interface in the interface of application program when exhibiting pictures, promote the display effect of picture and user interface.

Description

Image display method, device, mobile terminal and storage medium
Technical field
This application involves technical field of mobile terminals, eventually more particularly, to a kind of image display method, device, movement End and storage medium.
Background technique
Mobile terminal, such as mobile phone, tablet computer etc. have become most common consumer electronics in people's daily life One of product.With the rapid development of scientific and technological level, the achievable function and application of mobile terminal is more and more, for example, mobile Terminal can show the images such as picture and video.But current mobile terminal exhibiting pictures in the interface of application program When poor display effect, affect user experience.
Summary of the invention
In view of the above problems, present applicant proposes a kind of image display method, device, mobile terminal and storage medium, with Improve the above problem.
In a first aspect, the embodiment of the present application provides a kind of image display method, which comprises current detecting When the application program of operation loads picture, the color gamut space of the picture is obtained as the first color gamut space and described The color gamut space of the user interface of application program is as the second color gamut space;Judge first color gamut space and second color Whether domain space is identical;If it is not the same, the color gamut space of the picture and the color gamut space of the user interface are adjusted to Unanimously;After the color gamut space of the color gamut space of the picture and the user interface is adjusted to consistent, by the picture It is shown.
Second aspect, the embodiment of the present application provide a kind of image display apparatus, and described device includes: that colour gamut obtains mould Block, colour gamut judgment module, colour gamut adjustment module and display execution module, wherein the colour gamut obtains module for detecting When being loaded to currently running application program to picture, obtain the color gamut space of the picture as the first color gamut space with And the color gamut space of the user interface of the application program is as the second color gamut space;The colour gamut judgment module is for judging institute It states the first color gamut space and whether second color gamut space is identical;The colour gamut adjustment module is used for if it is not the same, by institute The color gamut space of the color gamut space and the user interface of stating picture is adjusted to consistent;By the color gamut space of the picture and institute State user interface color gamut space be adjusted to consistent after, the picture is shown.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, comprising: one or more processors;Memory; One or more application program, wherein one or more of application programs be stored in the memory and be configured as by One or more of processors execute, and one or more of programs are configured to carry out the picture that above-mentioned first aspect provides Display methods.
Fourth aspect, the embodiment of the present application provides a kind of computer-readable storage medium, described computer-readable Program code is stored in storage medium, said program code can be called the picture for executing above-mentioned first aspect and providing by processor Display methods.
Scheme provided by the present application obtains picture when detecting that currently running application program loads picture Color gamut space as the color gamut space of the first color gamut space and the user interface of application program as the second color gamut space, sentence Whether disconnected first color gamut space and the second color gamut space are identical, if it is not the same, by the color gamut space of picture and user interface Color gamut space is adjusted to unanimously, then again to show picture.Therefore, in the interface of application program exhibiting pictures constantly, It is consistent with the color gamut space of user interface to ensure that picture, to promote the display effect of picture and user interface.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the application environment schematic diagram suitable for image display method provided by the embodiments of the present application.
Fig. 2 shows the image display method flow charts according to the application one embodiment.
Fig. 3 shows a kind of interface schematic diagram provided according to the application one embodiment.
Fig. 4 shows the image display method flow chart according to another embodiment of the application.
Fig. 5 shows the image display method flow chart according to this another embodiment of Shen.
Fig. 6 shows the image display method flow chart according to this Shen further embodiment.
Fig. 7 shows a kind of block diagram of the image display apparatus according to the application one embodiment.
Fig. 8 shows a kind of block diagram of colour gamut adjustment module in the image display apparatus according to the application one embodiment.
Fig. 9 shows another frame of colour gamut adjustment module in the image display apparatus according to the application one embodiment Figure.
Figure 10 shows another frame of colour gamut adjustment module in the image display apparatus according to the application one embodiment Figure.
Figure 11 is the embodiment of the present application for executing the mobile terminal of the image display method according to the embodiment of the present application Block diagram.
Figure 12 is the embodiment of the present application for saving or carrying the picture display side realized according to the embodiment of the present application The storage unit of the program code of method.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.
With the promotion of the hardware performance of mobile terminal, more mobile terminals can support user circle in application program The display of the higher picture of clarity is carried out in face.However inventor has found under study for action, influences the factor of image display effect Other than the information of picture itself, there are also the matching degrees between pictorial information and the user interface of application program.
By taking color gamut space as an example.Colour gamut, that is, color gamut space is also to refer to a technology to a kind of method that color is encoded The summation for the color that system can generate.In computer graphical processing, colour gamut is some complete subset of color.Colour gamut is empty Between may include having sRGB colour gamut, Adobe RGB color domain or DCI-P3 colour gamut.Wherein, sRGB is the gamut standards of earliest period One of, and obtained W3C, Exif, Intel, Pantone, Corel from industry and the branch of other many industry manufacturers It holds.Adobe RGB color domain is mainly exactly the display improved on Blue Green, therefore can probably cover 50%CIE 1931 XYZ color space.DCI-P3 is a kind of colour gamut applied to digital camera, and it with human visual experience is leading color that it, which is a kind of, Domain standard, the whole colour gamuts that can show in matching film scene as far as possible.It is (newest at present that it is also not the most wide standard of colour gamut Standard is BT.2020), but on Rec.709 standard, possess broader red/green system range.
And inventors have found that (such as user checks exhibiting pictures in chat application in the user interface of application program The picture that other side sends) when, when the color gamut space of the user interface of the color gamut space and application program of picture is inconsistent, directly exist The inconsistent picture of color gamut space is shown in the user interface, will lead to picture region and user interface on display area The display effect of region is uncoordinated, and affects display effect.For example, when the wider array of picture of corresponding color gamut space is shown When in the narrower user interface of corresponding color gamut space, user can be appreciated that picture region is more gorgeous, and for entire user For interface in interface in addition to picture region, then its gorgeous degree is not so good as picture region.When corresponding color gamut space is narrower Picture when being shown in the corresponding wider array of user interface of color gamut space, user can be appreciated that in entire user interface except picture region Interface other than domain is more gorgeous, and for picture region, then its gorgeous degree is not as good as the interface in addition to picture region.
Therefore, in order to improve the above problem, image display method provided by the present application, device, movement are inventors herein proposed Terminal and storage medium, when can make the exhibiting pictures in the user interface of application program, guarantee the color gamut space of picture with The color gamut space of the user interface of application program is consistent, to promote display effect.
First the application environment for being suitable for image display method provided by the embodiments of the present application is introduced below.
As shown in Figure 1, being carried out in interface (such as activity) in painting canvas (Canvas) in the embodiment of the present application The color gamut conversion of picture is handled, and the processing that the picture of Yao Jinhang color gamut conversion can first pass through function handling graph library (Skia) obtains Corresponding bitmap is then based on bitmap and carries out color gamut conversion.Hardware-accelerated graphics module can be first based on during color gamut conversion (HWUI) or function handling graph library (Skia) carries out color gamut conversion, then passes through OpenGL ES (a kind of shape library), figure layer Module (Surface), figure layer transfer module (Surface Flinger), hardware figure layer mixer (HWC) and multimedia display The processing of processor (MDP), and then be finally shown on screen.
Referring to Fig. 2, the flow diagram of the image display method provided Fig. 2 shows the application one embodiment.Institute Show image display method for by when exhibiting pictures, guaranteeing the color gamut space of picture in the user interface of application program and answering Color gamut space with the user interface of program is consistent, to promote display effect.In the particular embodiment, the picture is shown Method is applied to image display apparatus 400 as shown in Figure 7 and the mobile terminal configured with the image display apparatus 400 100 (Figure 11).It will illustrate the detailed process of the present embodiment by taking mobile terminal as an example below, it will of course be understood that, this implementation Mobile terminal applied by example can be provided with the electronics of display screen for smart phone, tablet computer, wearable electronic equipment etc. Equipment, it is not limited here.It will be explained in detail below for process shown in Fig. 2, which specifically may be used With the following steps are included:
Step S110: when detecting that currently running application program loads picture, the color of the picture is obtained Domain space is as the color gamut space of the first color gamut space and the user interface of the application program as the second color gamut space.
It in the embodiment of the present application, can answering in its user interface presentation picture when may be mounted at operation in mobile terminal Use program.Wherein, after such application program can at runtime load picture, picture is shown by the operation such as rendering In user interface.In some embodiments, such application program is also possible to picture editor's class application program, such as U.S. figure is answered With etc.;Such application program can be picture and check class application program, such as picture library application etc.;Such application program can also be with It is chat application;Such application program is also possible to browser etc..It certainly, specifically at runtime can be in its user interface exhibition The application program of diagram piece can be not as restriction.
In some embodiments, can exhibiting pictures application program at runtime, can add according to the user's choice Local picture or network picture are carried, can also can be taken with the received network picture of loading application programs with loading application programs The picture of band.For example, as shown in figure 3, user can be by applying journey when application program is picture editor's class application program Selection needs the picture edited in the user interface of sequence, and realizes application program after the A2 that Loads Image, by the picture A2 of load It is shown after rendering in user interface A1.In another example application program can when application program is chat class application program To receive the picture that other users are sent from server, application program loads the picture before being shown received picture. Certainly, the picture of concrete application program load can be not as restriction.
As a kind of mode, mobile terminal can detecte whether currently running application program receives load to picture Request, to determine whether application program loads to picture.Wherein, picture load request is for application program from originally Ground or server Load Image.When picture load request is to Load Image from server, can wrap in picture load request The character string being identified to the display format of the picture of request of loading is included, which can be the mark such as png, image, jpg The character string etc. of will picture.Alternatively, currently running application program is when calling interface for Loading Image, It can then determine that the application program of operation loads picture.Certainly, currently running application program is specifically detected to picture The mode loaded can be not as restriction.
In some embodiments, mobile terminal is when detecting that currently running application program loads picture, The color gamut space of the user interface of the color gamut space and application program of available picture, to be shown in application program by picture It is shown in front of user interface, whether the color gamut space of the color gamut space and user interface that determine picture is identical.
Wherein, mobile terminal can there are ways to obtain the color gamut space of picture.As a kind of mode, mobile terminal The file of the available color gamut space for being used to describe picture, such as ICC file (colour gamut describes file).As another kind side Formula can read EXIF (Exchangeable Image File) information of the picture of load, read out figure from EXIF information The color gamut space of piece, wherein EXIF information is a kind of format exclusively for digital photos setting.Such format can be used to remember The attribute information for recording digital photos, when such as the brand and model of camera, the shooting time of photograph, shooting set by aperture it is big The information such as small, shutter speed, ISO and color gamut space etc..As another mode, the pixel of picture can be directly based upon Color value analyzes the color gamut space of picture.As yet another approach, EXIF information also generates a figure while generating As information company file.The information that extended meeting is modified because of editing again after storage picture in this document, for example, picture Color gamut space or saturation degree etc..Then the information of picture collected is done into Hash operation to obtain a globally unique mark Know symbol, which is inserted into the image information in file.And the part image information is with file synchronization to cloud, that When showing the picture of aforementioned acquisition on other mobile terminals, even if the picture is edited again and EXIF is caused to believe (for example, causing color gamut space to become because color is edited when information in breath has not been information when being initially collected Change), other mobile terminals, which can get image information by cloud and find picture with file, to be initially collected When information (for example, color gamut space), so as to preferably restore picture it is collected when display effect.
The mode of the colour gamut of acquisition for mobile terminal user interface may be a variety of.As a kind of mode, application program It may include the file for describing the color gamut space of user interface, such as ICC in installation kit (AndroidPackage, APK) File (colour gamut describes file).Alternatively, mobile terminal can also be in application program in previous operation, to user The color value of the pixel at interface is analyzed, to analyze the color gamut space of picture and storage, is transported in subsequent applications program When row, when needing to obtain the color gamut space of user interface, according to the acquisition of information of storage.
Certainly, mobile terminal specifically obtains the color gamut space of picture and the mode of the color gamut space of user interface can not As restriction.
Mobile terminal is in the color gamut space of the color gamut space and user interface that get picture, the color of the picture of acquisition Domain space can be used as the first color gamut space;The color gamut space of the picture of acquisition can be used as the second color gamut space.
Step S120: judge whether first color gamut space and second color gamut space are identical.
In the embodiment of the present application, the first color gamut space for getting and the second color gamut space can be compared, to determine the Whether one color gamut space is identical as the second color gamut space.As a kind of mode, when through the colour gamut of both ICC file acquisitions, Whether the parameter that can compare in ICC file is identical, to determine whether the first color gamut space and the second color gamut space are identical.As Another way, it is available to the first color gamut space and when getting the first color gamut space and the second color gamut space Whether title of two color gamut spaces, such as SRGB, Adobe RGB etc., it is identical directly to compare title, with both determine whether It is identical.Certainly, specifically judge that the first color gamut space and the whether identical mode of the second color gamut space can be not as restrictions.
Step S130: if it is not the same, the color gamut space of the color gamut space of the picture and the user interface is adjusted It is consistent.
When judging the first color gamut space and the second color gamut space difference, mobile terminal can be by the color gamut space of picture It is adjusted to consistent with the color gamut space of user interface.
As a kind of mode, the color gamut space of the color gamut space of picture and user interface is adjusted to unanimously, may include: The color gamut space of the user interface is adjusted to first color gamut space;Or the color gamut space of the picture is adjusted to Second color gamut space.Wherein, when the color gamut space of the color gamut space of picture and user interface is inconsistent, retain wherein one Both a color gamut space is constant, so that user interface or picture can show the display effect of its script, and make Color gamut space it is consistent, avoid the difference in display effect, and influence user's visual experience.
Alternatively, the color gamut space of the color gamut space of picture and user interface can also be adjusted to color simultaneously The bigger target color gamut space of domain range.Certainly, the gamut range in the target color gamut space is no more than the maximum gamut of display screen Range.
Certainly, the color gamut space of the color gamut space of picture and user interface being specifically adjusted to consistent mode can not make To limit.For example, it is also possible to the color gamut space of the color gamut space of picture and user interface be adjusted simultaneously lower to gamut range Target color gamut space.
In some embodiments, by the color gamut space of the color gamut space of picture and user interface be adjusted to it is consistent it Before, it can also determine whether to meet colour gamut regularization condition.Wherein, colour gamut regularization condition may include characterization mobile terminal The condition whether resource allows colour gamut to adjust, for example, carrying out colour gamut adjustment can increase when the remaining capacity of mobile mobile terminal is lower Add power consumption, therefore when remaining capacity is more than setting electricity, just allows the colour gamut of the color gamut space of picture and user interface sky Between be adjusted to consistent.Colour gamut regularization condition also may include whether the function of characterization progress colour gamut adjustment opens, colour gamut adjustment Function can be turned on or off by configuration interface in mobile terminal, which can be global for mobile terminal, can also Only for single application program.Colour gamut regularization condition can also include that whether it is necessary to by the color gamut space and use of picture for characterization The color gamut space at family interface is adjusted to consistent condition, for example, when the gamut range and the second color gamut space of the first color gamut space Gamut range difference it is smaller when, then the color gamut space of the color gamut space of picture and user interface need not be adjusted to one It causes, and when the difference of the gamut range of the first color gamut space and the gamut range of the second color gamut space is larger, it is necessary to will scheme The color gamut space of piece and the color gamut space of user interface are adjusted to consistent.
Step S140: it if identical, does not execute the colour gamut of the color gamut space of the picture and the user interface is empty Between be adjusted to consistent.
Mobile terminal, then can not be by the colour gamut of picture when judging that the first color gamut space is identical as the second color gamut space The color gamut space of space and user interface is adjusted to unanimously, subsequent directly to show picture.
Step S150: by the color gamut space of the color gamut space of the picture and the user interface be adjusted to it is consistent it Afterwards, the picture is shown.
In the embodiment of the present application, the color gamut space of the color gamut space of picture and the user interface is being adjusted to consistent Later, then picture can be shown.In above process, if carried out the color gamut space of picture and user interface Color gamut space is adjusted to consistent step, then may be to be adjusted to the color gamut space of picture;It is also likely to be not to picture Color gamut space be adjusted, that is, the color gamut space of user interface is had adjusted, so that the color gamut space of picture and user interface Color gamut space is consistent.Therefore, when the color gamut space to picture has carried out adjustment, then the picture after adjustment color gamut space is carried out When showing, and not being adjusted to the color gamut space of picture, then the picture of load can be shown.In addition, if executing It is then directly to show the picture for the adjustment for not carrying out color gamut space in the case where step S140, that is, it will load Picture shown.
Image display method provided by the embodiments of the present application, by judging the color of picture when application program Loads Image Whether the color gamut space of domain space and user interface is identical, and in the two difference, and the color gamut space of the two is adjusted to unanimously, When can make the exhibiting pictures in the user interface of application program, guarantee the color gamut space of picture and user circle of application program The color gamut space in face is consistent, avoids the difference in display effect and influences user's visual experience, promotes display effect and user Visual experience.
Referring to Fig. 4, Fig. 4 shows the flow diagram of the image display method of another embodiment of the application offer. This method is applied to above-mentioned mobile terminal, will be explained in detail below for process shown in Fig. 4, the picture display side Method can specifically include following steps:
Step S200: when detecting that currently running application program loads picture, the color of the picture is obtained Domain space is as the color gamut space of the first color gamut space and the user interface of the application program as the second color gamut space.
Step S210: judge whether first color gamut space and second color gamut space are identical.
Step S220: it if identical, does not execute the colour gamut of the color gamut space of the picture and the user interface is empty Between be adjusted to consistent.
In the embodiment of the present application, step S200- step S220 can be no longer superfluous herein refering to the content of previous embodiment It states.
Step S230: if it is not the same, obtaining the current surplus resources parameter of mobile terminal, wherein the surplus resources Parameter includes the remaining capacity, the surplus resources of central processing unit and the surplus resources of graphics processor of the mobile mobile terminal At least one of.
In the embodiment of the present application, color gamut space phase of the mobile terminal in the color gamut space for judging picture and user interface Meanwhile the surplus resources parameter that available mobile terminal is current, to determine how the color gamut space and user interface of picture Color gamut space be adjusted to consistent.Wherein, the color gamut space of the color gamut space of picture and user interface is adjusted to unanimously, it can be with It is the color gamut space of picture to be adjusted to the second color gamut space, or the color gamut space of user interface is adjusted to the first colour gamut sky Between.
In some embodiments, the current surplus resources parameter of mobile terminal may include the remaining money of central processing unit Source, the surplus resources of graphics processor and remaining capacity etc., specific surplus resources parameter can be not as restriction.Mobile terminal One or more of these available parameters parameter, to determine how the color gamut space of picture and user interface Color gamut space is adjusted to consistent.
Wherein, mobile terminal can detecte the service condition of central processing unit, to obtain the surplus resources of central processing unit. For example, the operating system of mobile terminal be android system when, can by the ProcessStats class in android system, The service condition and process-time of acquisition system.It is the file under reading/proc catalogue, system operation that it, which implements principle, When, kernel can remove the file under update/proc catalogue, the operating condition of PID is written in corresponding file, according to above-mentioned operation Situation can get the surplus resources of central processing unit.The surplus resources of central processing unit can be the residue of central processing unit Utilization rate, remaining use space etc., are not limited thereto.
Mobile terminal also can detecte the service condition of graphics processor, to obtain the surplus resources of graphics processor. For example, the service condition of graphics processor can be obtained by adb order when the operating system of mobile terminal is Android system, Such as the use feelings of graphics processor are obtained by adb shell cat/sys/class/kgsl/kgsl-3d0/gpubusy Condition, to obtain the surplus resources of graphics processor.The surplus resources of graphics processor can use for the remaining of graphics processor Rate, remaining use space etc., are not limited thereto.
Certainly, above obtain central processing unit, the mode of surplus resources of graphics processor is only for example, concrete mode exists It can be not as restriction in the embodiment of the present application.
Mobile terminal can pass through the monitoring of the description file, monitoring battery status for describing battery status in system Window etc. obtains the remaining capacity of mobile terminal.For example, Healthd can be passed through when the system of mobile terminal is Android system The battery event from bottom is monitored under model, is communicated up battery data information to Framework layers BatteryService is used to calculate battery capacity relevant information, so that mobile terminal can obtain electricity from BatteryService The remaining capacity in pond.Certainly, the mode for specifically obtaining remaining capacity can be not as restriction.Remaining capacity can be remaining capacity Value, remaining capacity account for the percentage etc. of total electricity, are not limited thereto.
Step S240: judge whether the surplus resources parameter is greater than specified threshold.
In the embodiment of the present application, the corresponding specified threshold of different types of surplus resources parameter can be different.Wherein, in The surplus resources of central processor can correspond to the first specified threshold, and the surplus resources of graphics processor can correspond to the second specified threshold Value, remaining capacity can correspond to third specified threshold.Wherein, the first specified threshold, the second specified threshold and third specify threshold Value can be determined according to the property parameters of central processing unit, graphics processor and battery respectively, for example, when central processing unit When maximum operation frequency is larger, then the first specified threshold can be 30%, and specific specified threshold can be not as restriction.
When including a plurality of types of surplus resources parameters in the surplus resources parameter of acquisition for mobile terminal, then it can distinguish Surplus resources parameter specified threshold corresponding with its type is compared, to determine whether to be greater than specified threshold, when each class When the surplus resources parameter of type is all larger than its type corresponding specified threshold, then the surplus resources parameter of mobile terminal can be determined Greater than specified threshold, when the surplus resources parameter of wherein at least one type specified threshold corresponding no more than its type, then Determine the surplus resources parameter of mobile terminal no more than specified threshold.Certainly, specific judgment mode can be not as restriction, example Such as, when also can also be that any type of surplus resources parameter is greater than the corresponding specified threshold of its type, mobile terminal is determined Surplus resources parameter is greater than specified threshold.
Step S250: when the surplus resources parameter is greater than specified threshold, the colour gamut of first color gamut space The gamut range of range and second color gamut space.
In the embodiment of the present application, when judging that surplus resources parameter is greater than specified threshold, then it represents that mobile terminal Surplus resources allow the color gamut space of one of them in picture and user interface it is higher to be adjusted to gamut range in the two Color gamut space.It should be understood that the color gamut space of one of them in picture and user interface is adjusted to colour gamut model in the two When enclosing higher color gamut space, what be will increase the burden of mobile terminal, that is, cause central processing unit, graphics processor etc. is accounted for Increased with rate, the power consumption of mobile terminal also will increase, therefore can be when surplus resources parameter is higher, just by picture and user circle The color gamut space of one of them in face is adjusted to the higher color gamut space of gamut range in the two.Wherein, different color gamut spaces The summation of its color that can be expressed is different, and color gamut is also just different, i.e., gamut range is different.
Further, when surplus resources parameter is greater than specified threshold, the gamut range of the first color gamut space can be compared With the gamut range of the second color gamut space, that is, compare the gamut range and present user interface of the color gamut space of current image Color gamut space gamut range, to obtain the higher colour gamut of gamut range from the first color gamut space and the second color gamut space Space.
Step S260: if the gamut range of first color gamut space is greater than the colour gamut model of second color gamut space It encloses, the color gamut space of the user interface is adjusted to first color gamut space.
In the embodiment of the present application, the colour gamut of the second color gamut space is greater than in the gamut range for comparing the first color gamut space When range, then it represents that the gamut range of the color gamut space of current image is greater than the colour gamut model of the color gamut space of present user interface It encloses, therefore the color gamut space of user interface can be adjusted to the first color gamut space, to be shown on a user interface in picture When, the color gamut space expressed intact that the colouring information of picture script can be wider in gamut range, and due to the colour gamut of the two Space is consistent, and making picture and user interface, there is no differences in display effect, promotes display effect.
Step S261: if the gamut range of second color gamut space is greater than the colour gamut model of first color gamut space It encloses, the color gamut space of the user interface is adjusted to first color gamut space.
In the embodiment of the present application, the colour gamut of the first color gamut space is greater than in the gamut range for comparing the second color gamut space When range, then it represents that the gamut range of the current color gamut space with interface is greater than the gamut range of the color gamut space of current image, Therefore the color gamut space of picture can be adjusted to the second color gamut space, thus when picture is shown on a user interface, user The colouring information of interface script can be wider in gamut range color gamut space expressed intact, and due to the color gamut space of the two Unanimously, making picture and user interface, there is no differences in display effect, promote display effect.
Step S270: when the surplus resources parameter is less than or equal to the specified threshold, first color The gamut range of the gamut range of domain space and second color gamut space.
When judging that surplus resources parameter is less than or equal to specified threshold, then it represents that the surplus resources of mobile terminal are not Allow the color gamut space of one of them in picture and user interface it is empty to be adjusted to the higher colour gamut of gamut range in the two Between, it is therefore desirable to the color gamut space of picture or user interface is adjusted to the lower color gamut space of gamut range in the two, with Guarantee that the color gamut space of the two is consistent.
Further, when surplus resources parameter is less than or equal to specified threshold, the first color gamut space can be compared The gamut range of gamut range and the second color gamut space, that is, compare the gamut range of the color gamut space of current image and current The gamut range of the color gamut space of user interface, so as to obtained from the first color gamut space and the second color gamut space gamut range compared with Low color gamut space.
Step S280: if the gamut range of first color gamut space is greater than the colour gamut model of second color gamut space It encloses, the color gamut space of the picture is adjusted to second color gamut space.
When the gamut range for comparing the first color gamut space is greater than the gamut range of the second color gamut space, then it represents that current The gamut range of the color gamut space of user interface is lower than the gamut range of the color gamut space of current image, therefore can be by picture Color gamut space is adjusted to the second color gamut space, so that picture is in user interface in the case where not increasing the burden of user terminal When upper display, the colouring information of user interface script can make picture with expressed intact, and since the color gamut space of the two is consistent Difference is not present in display effect with user interface, promotes display effect.
Step S281: if the gamut range of second color gamut space is greater than the colour gamut model of first color gamut space It encloses, the color gamut space of the user interface is adjusted to first color gamut space.
When the gamut range for comparing the second color gamut space is greater than the gamut range of the first color gamut space, then it represents that current The gamut range of the color gamut space of picture is lower than the gamut range of the color gamut space of present user interface, therefore can be by user circle The color gamut space in face is adjusted to the first color gamut space, so that picture is in user circle in the case where not increasing the burden of user terminal When showing on face, the colouring information of picture script can be expressed, and since the color gamut space of the two is consistent, make picture and user Difference is not present in interface in display effect, promotes display effect.
Step S290: by the color gamut space of the color gamut space of the picture and the user interface be adjusted to it is consistent it Afterwards, the picture is shown.
Image display method provided by the embodiments of the present application, by judging the color of picture when application program Loads Image Whether the color gamut space of domain space and user interface is identical, and in the two difference, judges the surplus resources parameter of user terminal Whether be greater than specified threshold, respectively in the case where two kinds of different judging results, according to the dimension of color gamut space to picture or The color gamut space of user interface is adjusted, and guarantees that mobile terminal can be operated normally and be used, so that in the user of application program In interface when exhibiting pictures, guarantees that the color gamut space of the color gamut space of picture and the user interface of application program is consistent, avoid showing Show the difference in effect and influence user's visual experience, promotes display effect and the visual experience of user.
The flow diagram of the image display method of another embodiment of the application offer is provided refering to Fig. 5, Fig. 5.It should Method is applied to above-mentioned mobile terminal, will be explained in detail below for process shown in fig. 5, the image display method It can specifically include following steps:
Step S310: when detecting that currently running application program loads picture, the color of the picture is obtained Domain space is as the color gamut space of the first color gamut space and the user interface of the application program as the second color gamut space.
Step S320: judge whether first color gamut space and second color gamut space are identical.
Step S330: it if identical, does not execute the colour gamut of the color gamut space of the picture and the user interface is empty Between be adjusted to consistent.
In the embodiment of the present application, step S310- step S330 can be no longer superfluous herein refering to the content of previous embodiment It states.
Step S340: if it is not the same, the display area for obtaining the picture accounts for the accounting of the user interface.
In the embodiment of the present application, color gamut space phase of the mobile terminal in the color gamut space for judging picture and user interface Meanwhile the display area of available picture accounts for the accounting of user interface.Wherein, by the color gamut space of picture and user interface Color gamut space, which is adjusted to unanimously to can be, is adjusted to the second color gamut space for the color gamut space of picture, or by user interface Color gamut space is adjusted to the first color gamut space.
In some embodiments, be preset in application program picture on a user interface corresponding display position with And display area.Therefore, can presetting according to application program, obtain the picture corresponding viewing area on a user interface Domain.For example, picture checks that the preview area for being preset with picture in the user interface of class application program, the preview area are schemed Piece corresponding display area on a user interface.
Further, the available picture area of corresponding display area and user interface on a user interface Area, then calculates the ratio of the area of the corresponding display area of picture and the area of user interface, to obtain the aobvious of picture Show that region accounts for the accounting of user interface.
Step S350: judge whether the accounting is greater than designated ratio.
In the embodiment of the present application, mobile terminal presets and is stored with designated ratio, which is used for conduct The display area of picture accounts for the judgment basis of the size of the accounting of user interface, and therefore, mobile terminal is in the display for obtaining picture After region accounts for the accounting of user interface, the accounting and designated ratio can be compared, to judge that the display area of picture accounts for Whether the accounting of user interface is greater than designated ratio.It should be understood that when the accounting that the display area of picture accounts for user interface is big In designated ratio, indicating the picture, corresponding display area is larger on a user interface, it is believed that the attention of user can be more Add and concentrate on picture, therefore can guarantee the colouring information energy expressed intact of picture script;When the display area of picture occupies The accounting at family interface is less than or equal to designated ratio, and indicating the picture, corresponding display area is smaller on a user interface, uses The content that family is more seen is user interface, therefore can guarantee the colouring information energy expressed intact of user interface script.As A kind of mode, the default accounting can be 1/2,2/3 etc., it is not limited here.
Step S360: when the accounting is greater than designated ratio, the color gamut space of the user interface is adjusted to described First color gamut space.
In some embodiments, it is greater than designated ratio in the accounting that the display area for judging picture accounts for user interface When, then it can guarantee the colouring information energy expressed intact of picture script, therefore the color gamut space of user interface is adjusted to first Color gamut space, so that the color gamut space of picture is identical as the color gamut space of user interface.
Step S370: when the accounting is less than or equal to the designated ratio, by the color gamut space tune of the picture Whole is second color gamut space.
In some embodiments, it is less than or equal in the accounting that the display area for judging picture accounts for user interface specified It when ratio, then can guarantee the colouring information energy expressed intact of user interface script, therefore the color gamut space of picture is adjusted to Second color gamut space, so that the color gamut space of picture is identical as the color gamut space of user interface.
Step S380: by the color gamut space of the color gamut space of the picture and the user interface be adjusted to it is consistent it Afterwards, the picture is shown.
Image display method provided by the embodiments of the present application, by judging the color of picture when application program Loads Image Whether the color gamut space of domain space and user interface is identical, and in the two difference, occupies family circle according to the display area of picture The color gamut space of picture is adjusted or is adjusted the color gamut space of user interface, makes by the scale in face, determination The color gamut space of picture and the color gamut space of user interface are consistent, can make the exhibiting pictures in the user interface of application program When, guarantee that the color gamut space of the color gamut space of picture and the user interface of application program is consistent, and guarantee the major part of display The colouring information of script can be presented in content, avoid the difference in display effect and influence user's visual experience, promote display effect And the visual experience of user.
The flow diagram of the image display method of the application further embodiment offer is provided refering to Fig. 6, Fig. 6.It should Method is applied to above-mentioned mobile terminal, will be explained in detail below for process shown in fig. 6, the image display method It can specifically include following steps:
Step S400: when detecting that currently running application program loads picture, the color of the picture is obtained Domain space is as the color gamut space of the first color gamut space and the user interface of the application program as the second color gamut space.
Step S410: judge whether first color gamut space and second color gamut space are identical.
Step S420: it if identical, does not execute the colour gamut of the color gamut space of the picture and the user interface is empty Between be adjusted to consistent.
In the embodiment of the present application, step S400- step S420 can be no longer superfluous herein refering to the content of previous embodiment It states.
Step S430: if it is not the same, whether the quantity for judging the picture of the application program load is multiple.
As a kind of mode, the color gamut space of the color gamut space of picture and user interface is adjusted to unanimously may include: The color gamut space of user interface is adjusted to the first color gamut space.
In the embodiment of the present application, color gamut space phase of the mobile terminal in the color gamut space for judging picture and user interface Meanwhile the quantity of the picture of available application program load.It should be understood that application program is when Loading Image, Ke Yineng It is to load multiple pictures simultaneously, that is to say, that there are multiple pictures to need in being shown in user interface.
Further, mobile terminal may determine that application program load picture quantity whether be it is multiple, be with determination It is no that the color gamut space of user interface is adjusted to the first color gamut space.Wherein, the quantity of the picture of application program load is multiple When, if mobile terminal is directed to each picture, the color gamut space of user interface is adjusted to the first color gamut space, then will lead to shifting The task of dynamic terminal processes is more.
Step S440: if it is multiple, judge whether the color gamut space of multiple pictures is identical.
In the embodiment of the present application, when the quantity of the picture of application program load is multiple, since mobile terminal is directed to The color gamut space of user interface is adjusted to the first color gamut space by each picture, and will lead to mobile terminal processing of the task is more, And the normal use of mobile terminal may be influenced.Therefore, it is possible to judge that whether the color gamut space of multiple pictures identical, i.e., multiple figures Whether the color gamut space of piece is same color gamut space.It should be understood that when the color gamut space of multiple pictures is identical, then it is mobile whole End only needs to carry out that the color gamut space of user interface is once adjusted to the first color gamut space, brings without mobile terminal negative Load.When the color gamut space difference of multiple pictures, then do not need to carry out the color gamut space of user interface being adjusted to the first colour gamut Space, to reduce the burden of mobile terminal.
Step S450: if the color gamut space of the multiple picture is identical, the color gamut space of the user interface is adjusted For first color gamut space.
Step S460: it if the color gamut space of the multiple picture is not identical, does not execute the color of the user interface Domain space is adjusted to first color gamut space.
Step S470: if not being multiple, display reminding content, whether the suggestion content is for prompting by the picture Color gamut space and the color gamut space of the user interface be adjusted to consistent.
In the embodiment of the present application, when the quantity that application program Loads Image be not it is multiple, i.e., application program load figure When piece is single picture, before the color gamut space of the color gamut space of picture and user interface to be adjusted to consistent, it can also show Show suggestion content, to prompt the user whether that the color gamut space by the color gamut space of picture and user interface is adjusted to unanimously, to be It is no that the color gamut space of user interface is adjusted to the first color gamut space.It should be understood that the quantity that application program Loads Image is When single, it is one picture of display that possible this application program, which shows picture only, and if by the color gamut space of user interface into Row is adjusted to the first color gamut space, then subsequent to need the color gamut space of user interface adjusting back the second color gamut space, and makes whole A process is relatively complicated, is adjusted the color gamut space of user interface only for checking single picture, may be for some It is unnecessary for user, therefore user can be prompted, decided whether the color gamut space of user interface being adjusted to first by user Color gamut space.Wherein, suggestion content can be realized in the form of pop-up etc., herein not as restriction.
Step S480: when receiving determine instruction, by the colour gamut of the color gamut space of the picture and the user interface Space allocation is consistent.
In some embodiments, after display reminding content, the instruction that user can be waited to input, when detecting determination When instruction, then it represents that user needs the color gamut space by the color gamut space of picture and user interface to be adjusted to unanimously, that is, will The color gamut space of user interface is adjusted to the first color gamut space.And when determine instruction is not detected, then it does not execute user interface Color gamut space be adjusted to the first color gamut space.Wherein it is possible to according to the operation detected to suggestion content in user interface, really It is fixed whether to receive determine instruction.For example, can show the control of "Yes" and "No" in pop-up prompt, when detecting pair The operation of the control of "Yes", it is determined that receive determine instruction.In addition, when carrying out pop-up prompt, it can also be to whether to user Interface carries out colour gamut adjustment, carries out countdown, and after pop-up prompt in target duration, user does not carry out confirmation operation, then cancels Pop-up prompt, and do not execute and the color gamut space of user interface is adjusted to the first color gamut space.
Step S490: by the color gamut space of the color gamut space of the picture and the user interface be adjusted to it is consistent it Afterwards, the picture is shown.
Image display method provided by the embodiments of the present application, by judging the color of picture when application program Loads Image Whether the color gamut space of domain space and user interface is identical, and in the two difference, determines the quantity of the picture of load, works as load Picture be multiple pictures when, the color gamut space of multiple pictures is identical just to carry out that the color gamut space of user interface is adjusted to and is schemed The color gamut space of piece is consistent, reduces the load capacity and power consumption of mobile terminal, can to open up in the user interface of application program When diagram piece, guarantee that the color gamut space of the color gamut space of picture and the user interface of application program is consistent, and guarantees display The colouring information of script can be presented in most contents, avoid the difference in display effect and influence user's visual experience, promoted aobvious Show effect and the visual experience of user.
Referring to Fig. 7, Fig. 7 shows the module frame chart of image display apparatus 400 provided by the embodiments of the present application.The picture Display device 400 is applied to above-mentioned mobile terminal.It will be illustrated below for block diagram shown in Fig. 7, the picture display dress Setting 400 includes: that colour gamut obtains module 410, colour gamut judgment module 420, colour gamut adjustment module 430 and display execution module 440. Wherein, the colour gamut obtains module 410 and is used for when detecting that currently running application program loads picture, obtains institute The color gamut space of picture is stated as the color gamut space of the first color gamut space and the user interface of the application program as second Color gamut space;The colour gamut judgment module 420 for judge first color gamut space and second color gamut space whether phase Together;The colour gamut adjustment module 430 is used for if it is not the same, by the colour gamut of the color gamut space of the picture and the user interface Space allocation is consistent;The display execution module 440 is used for by the color gamut space of the picture and the user interface After color gamut space is adjusted to consistent, the picture is shown.
In some embodiments, colour gamut adjustment module 430 can be specifically used for: by the color gamut space of the user interface It is adjusted to first color gamut space;Or the color gamut space of the picture is adjusted to second color gamut space.
As a kind of mode, Fig. 8 is referred to, colour gamut adjustment module 430 may include: resource parameters acquiring unit 431, the One adjustment unit 432 and second adjustment unit 433.Wherein, resource parameters acquiring unit 431 is current for obtaining mobile terminal Surplus resources parameter, wherein the surplus resources parameter include the remaining capacity of the mobile terminal, central processing unit it is surplus At least one of remaining resource and the surplus resources of graphics processor;The first adjustment unit 432 is used to join in the surplus resources When number is greater than specified threshold, if the gamut range of first color gamut space is greater than the colour gamut model of second color gamut space It encloses, the color gamut space of the user interface is adjusted to first color gamut space;If second adjustment unit 433 is for described The gamut range of second color gamut space is greater than the gamut range of first color gamut space, and the color gamut space of the picture is adjusted For second color gamut space.
Further, Fig. 8 is referred to, it can also include: third adjustment unit 434 and the 4th that colour gamut, which adjusts module 430, Adjustment unit 435.Wherein, third adjustment unit 434 is used to be less than or equal to the specified threshold in the surplus resources parameter When value, if the gamut range of first color gamut space is greater than the gamut range of second color gamut space, by the picture Color gamut space be adjusted to second color gamut space;If the 4th adjustment unit 435 is used for the color of second color gamut space Domain range is greater than the gamut range of first color gamut space, and the color gamut space of the user interface is adjusted to first color Domain space.
Alternatively, Fig. 9 is referred to, it may include: ratio acquisition unit the 436, the 5th that colour gamut, which adjusts module 430, Adjustment unit 437 and the 6th adjustment unit 438.Wherein, ratio acquisition unit 436 is used to obtain the display area of the picture Account for the accounting of the user interface;5th adjustment unit 437 is used for when the accounting is greater than designated ratio, by user circle The color gamut space in face is adjusted to first color gamut space;6th adjustment unit 438 in the accounting for being less than or equal to When the designated ratio, the color gamut space of the picture is adjusted to second color gamut space.
In some embodiments, referring to Figure 10, which can also include: quantity judgment module 450.Quantity judgment module 450 by the color gamut space of the color gamut space of the picture and the user interface be adjusted to it is consistent it Before, judge whether the quantity of the picture of the application program load is multiple;If colour gamut judgment module 420 can be also used for institute State application program load picture quantity be it is multiple, judge whether the color gamut space of multiple pictures identical;Colour gamut adjusts module If 440 for the multiple picture color gamut space it is identical, by the color of the color gamut space of the picture and the user interface Domain space is adjusted to consistent.
In some embodiments, referring to Figure 10, which can also include: cue module 460. If quantity of the cue module 460 for the picture of application program load is not multiple, display reminding content, the prompt Whether content by the color gamut space of the color gamut space of the picture and the user interface is adjusted to consistent for prompting.Colour gamut tune Mould preparation block 430 can be also used for when receiving determine instruction, by the color of the color gamut space of the picture and the user interface Domain space is adjusted to consistent.
It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description device and The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, the mutual coupling of module can be electrical property, mechanical or other The coupling of form.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
In conclusion scheme provided by the present application, when detecting that currently running application program loads picture, The color gamut space of acquisition picture is as the color gamut space of the first color gamut space and the user interface of application program as the second color Domain space judges whether the first color gamut space is identical as the second color gamut space, if it is not the same, by the color gamut space and use of picture The color gamut space at family interface is adjusted to unanimously, then to show picture.Therefore, the exhibiting pictures in the interface of application program Constantly, it is consistent with the color gamut space of user interface to ensure that picture, to promote the display effect of picture and user interface.
Figure 11 is please referred to, it illustrates a kind of structural block diagrams of mobile terminal provided by the embodiments of the present application.The movement is whole End 100, which can be smart phone, tablet computer, e-book etc., can run the mobile terminal of application program.Shifting in the application Dynamic terminal 100 may include one or more such as lower component: processor 110, memory 120, display screen 130 and one are more A application program, wherein one or more application programs can be stored in memory 120 and be configured as by one or more A processor 110 executes, and one or more programs are configured to carry out the method as described in preceding method embodiment.
Processor 110 may include one or more processing core.Processor 110 is whole using various interfaces and connection Various pieces in a mobile terminal 100, by run or execute the instruction being stored in memory 120, program, code set or Instruction set, and the data being stored in memory 120 are called, execute the various functions and processing data of mobile terminal 100.It can Selection of land, processor 110 can use Digital Signal Processing (Digital Signal Processing, DSP), field-programmable Gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 110 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem It can not be integrated into processor 110, be realized separately through one piece of communication chip.
Memory 120 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Memory 120 can be used for store instruction, program, code, code set or instruction set.It deposits Reservoir 120 may include storing program area and storage data area, wherein the finger that storing program area can store for realizing operating system Enable, for realizing at least one function instruction (such as touch function, sound-playing function, image player function etc.), be used for Realize the instruction etc. of following each embodiments of the method.Storage data area can also store the number that terminal 100 is created in use According to (such as phone directory, audio, video data, chat record data) etc..
Display screen 130 is used for the information and the mobile terminal 100 for showing information input by user, being supplied to user Various graphical user interface, these graphical user interface can be by figure, text, icon, number, video and any combination thereof It constitutes, in an example, which can be liquid crystal display (Liquid Crystal Display, LCD), May be Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED), it is not limited here.
Figure 12 is please referred to, it illustrates a kind of structural frames of computer readable storage medium provided by the embodiments of the present application Figure.Program code is stored in the computer-readable medium 800, said program code can be called by processor and execute the above method Method described in embodiment.
Computer readable storage medium 800 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), The electronic memory of EPROM, hard disk or ROM etc.Optionally, computer readable storage medium 800 includes non-volatile meter Calculation machine readable medium (non-transitory computer-readable storage medium).Computer-readable storage Medium 800 has the memory space for the program code 810 for executing any method and step in the above method.These program codes can With from reading or be written in one or more computer program product in this one or more computer program product. Program code 810 can for example be compressed in a suitable form.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (10)

1. a kind of image display method, which is characterized in that the described method includes:
When detecting that currently running application program loads picture, the color gamut space of the picture is obtained as first The color gamut space of the user interface of color gamut space and the application program is as the second color gamut space;
Judge whether first color gamut space and second color gamut space are identical;
If it is not the same, the color gamut space of the color gamut space of the picture and the user interface is adjusted to consistent;
After the color gamut space of the color gamut space of the picture and the user interface is adjusted to consistent, by the picture into Row display.
2. the method according to claim 1, wherein the color gamut space by the picture and user circle The color gamut space in face is adjusted to consistent, comprising:
The color gamut space of the user interface is adjusted to first color gamut space;Or
The color gamut space of the picture is adjusted to second color gamut space.
3. according to the method described in claim 2, it is characterized in that, the color gamut space by the picture and user circle The color gamut space in face is adjusted to consistent, comprising:
Obtain the current surplus resources parameter of terminal, wherein the surplus resources parameter includes the residue electricity of the mobile terminal At least one of amount, the surplus resources of central processing unit and surplus resources of graphics processor;
When the surplus resources parameter is greater than specified threshold, if the gamut range of first color gamut space is greater than described the The color gamut space of the user interface is adjusted to first color gamut space by the gamut range of two color gamut spaces;
If the gamut range of second color gamut space is greater than the gamut range of first color gamut space, by the picture Color gamut space is adjusted to second color gamut space.
4. according to the method described in claim 3, it is characterized in that, the color gamut space by the picture and user circle The color gamut space in face is adjusted to consistent, further includes:
When the surplus resources parameter is less than or equal to the specified threshold, if the colour gamut model of first color gamut space The gamut range greater than second color gamut space is enclosed, the color gamut space of the picture is adjusted to second color gamut space;
If the gamut range of second color gamut space is greater than the gamut range of first color gamut space, by user circle The color gamut space in face is adjusted to first color gamut space.
5. according to the method described in claim 2, it is characterized in that, the color gamut space by the picture and user circle The color gamut space in face is adjusted to consistent, comprising:
The display area for obtaining the picture accounts for the accounting of the user interface;
In the accounting designated ratio, the color gamut space of the user interface is adjusted to first color gamut space;
When the accounting is less than or equal to the designated ratio, the color gamut space of the picture is adjusted to second color Domain space.
6. method according to claim 1-5, which is characterized in that described by the color gamut space of the picture and institute The color gamut space for stating user interface is adjusted to consistent, comprising:
The color gamut space of the user interface is adjusted to first color gamut space;
Before the color gamut space of the color gamut space of the picture and the user interface is adjusted to consistent, the method is also wrapped It includes:
Whether the quantity for judging the picture of the application program load is multiple;
If it is multiple, judge whether the color gamut space of multiple pictures is identical;
If the color gamut space of the multiple picture is identical, the color gamut space by the picture and the user interface are executed Color gamut space be adjusted to consistent step.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
If not being multiple, display reminding content, the suggestion content for prompt whether by the color gamut space of the picture and The color gamut space of the user interface is adjusted to consistent;
When receiving determine instruction, the color gamut space of the color gamut space of the picture and the user interface is adjusted to one It causes.
8. a kind of image display apparatus, which is characterized in that described device includes: that colour gamut obtains module, colour gamut judgment module, colour gamut Adjust module and display execution module, wherein
The colour gamut obtains module and is used for when detecting that currently running application program loads picture, obtains the figure The color gamut space of piece is as the color gamut space of the first color gamut space and the user interface of the application program as the second colour gamut Space;
The colour gamut judgment module is for judging whether first color gamut space and second color gamut space are identical;
The colour gamut adjustment module is used for if it is not the same, the colour gamut of the color gamut space of the picture and the user interface is empty Between be adjusted to consistent;
The display execution module by the color gamut space of the picture and the color gamut space of the user interface for being adjusted to After consistent, the picture is shown.
9. a kind of mobile terminal characterized by comprising
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured To be executed by one or more of processors, one or more of programs are configured to carry out as claim 1-7 is any Method described in.
10. a kind of computer-readable storage medium, which is characterized in that be stored with journey in the computer-readable storage medium Sequence code, said program code can be called by processor and execute the method according to claim 1 to 7.
CN201910647110.XA 2019-07-17 2019-07-17 Image display method, device, mobile terminal and storage medium Pending CN110413360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910647110.XA CN110413360A (en) 2019-07-17 2019-07-17 Image display method, device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910647110.XA CN110413360A (en) 2019-07-17 2019-07-17 Image display method, device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN110413360A true CN110413360A (en) 2019-11-05

Family

ID=68361808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910647110.XA Pending CN110413360A (en) 2019-07-17 2019-07-17 Image display method, device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110413360A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021008345A1 (en) * 2019-07-17 2021-01-21 Oppo广东移动通信有限公司 Image information processing method and apparatus, electronic device and storage medium
CN114979598A (en) * 2022-06-01 2022-08-30 青岛海信激光显示股份有限公司 Laser projection display method, three-color laser projection equipment and readable storage medium
WO2023232084A1 (en) * 2022-06-01 2023-12-07 青岛海信激光显示股份有限公司 Projection device, display method therefor, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103871391A (en) * 2012-12-15 2014-06-18 联想(北京)有限公司 Color display method and equipment
CN104657482A (en) * 2015-02-26 2015-05-27 深圳市中兴移动通信有限公司 Method for displaying application interface and terminal
CN105141806A (en) * 2015-07-28 2015-12-09 小米科技有限责任公司 Image file display method and image file display device
US20160205368A1 (en) * 2015-01-09 2016-07-14 Vixs Systems, Inc. Dynamic range converter with reconfigurable architecture and methods for use therewith
CN106201535A (en) * 2016-07-14 2016-12-07 广州神马移动信息科技有限公司 The method and apparatus that toolbar background color converts along with the domain color of picture
CN106782302A (en) * 2016-12-20 2017-05-31 上海天马有机发光显示技术有限公司 A kind of colour gamut method of adjustment and display device
CN108574835A (en) * 2017-03-10 2018-09-25 上海顺久电子科技有限公司 The method and device of image color in a kind of calibration equipment screen
WO2018190786A1 (en) * 2017-04-10 2018-10-18 Hewlett-Packard Development Company, L.P. Dynamically gamut adjustable displays
CN109005311A (en) * 2017-06-06 2018-12-14 精工爱普生株式会社 The adjusting method of configuration file adjusts program, regulating device and regulating system
CN109729405A (en) * 2018-11-27 2019-05-07 Oppo广东移动通信有限公司 Method for processing video frequency, device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103871391A (en) * 2012-12-15 2014-06-18 联想(北京)有限公司 Color display method and equipment
US20160205368A1 (en) * 2015-01-09 2016-07-14 Vixs Systems, Inc. Dynamic range converter with reconfigurable architecture and methods for use therewith
CN104657482A (en) * 2015-02-26 2015-05-27 深圳市中兴移动通信有限公司 Method for displaying application interface and terminal
CN105141806A (en) * 2015-07-28 2015-12-09 小米科技有限责任公司 Image file display method and image file display device
CN106201535A (en) * 2016-07-14 2016-12-07 广州神马移动信息科技有限公司 The method and apparatus that toolbar background color converts along with the domain color of picture
CN106782302A (en) * 2016-12-20 2017-05-31 上海天马有机发光显示技术有限公司 A kind of colour gamut method of adjustment and display device
CN108574835A (en) * 2017-03-10 2018-09-25 上海顺久电子科技有限公司 The method and device of image color in a kind of calibration equipment screen
WO2018190786A1 (en) * 2017-04-10 2018-10-18 Hewlett-Packard Development Company, L.P. Dynamically gamut adjustable displays
CN109005311A (en) * 2017-06-06 2018-12-14 精工爱普生株式会社 The adjusting method of configuration file adjusts program, regulating device and regulating system
CN109729405A (en) * 2018-11-27 2019-05-07 Oppo广东移动通信有限公司 Method for processing video frequency, device, electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021008345A1 (en) * 2019-07-17 2021-01-21 Oppo广东移动通信有限公司 Image information processing method and apparatus, electronic device and storage medium
EP4002823B1 (en) * 2019-07-17 2023-07-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image information processing method, apparatus, and storage medium for display gamut adaptation to a display interface
CN114979598A (en) * 2022-06-01 2022-08-30 青岛海信激光显示股份有限公司 Laser projection display method, three-color laser projection equipment and readable storage medium
WO2023232084A1 (en) * 2022-06-01 2023-12-07 青岛海信激光显示股份有限公司 Projection device, display method therefor, and storage medium
CN114979598B (en) * 2022-06-01 2024-04-02 青岛海信激光显示股份有限公司 Laser projection display method, three-color laser projection apparatus, and readable storage medium

Similar Documents

Publication Publication Date Title
CN110377391A (en) Image display method, device, mobile terminal and storage medium
US20200244865A1 (en) Method for capturing images, terminal, and storage medium
EP4171014A1 (en) Photographing method, graphical interface and related apparatus
RU2639651C2 (en) Image identification and organization according to model without user intervention
US11810529B2 (en) Screen color gamut control method, electronic device and storage medium
CN110413360A (en) Image display method, device, mobile terminal and storage medium
US12020472B2 (en) Image processing method and image processing apparatus
WO2020063030A1 (en) Theme color adjusting method and apparatus, storage medium, and electronic device
US9852498B2 (en) Removing artifacts from document images
CN108021219A (en) Control method of electronic device, device and electronic equipment
CN105005599A (en) Photograph sharing method and mobile terminal
CN106165409A (en) Image processing apparatus, camera head, image processing method and program
US20160118025A1 (en) Method and apparatus for screen capture on a display device
CN110377773B (en) Picture processing method and device, mobile terminal and storage medium
CN110377390B (en) Image information processing method and device and electronic equipment
CN105975168A (en) OSD menu fading-in and fading-out method and device
CN107204024A (en) Handle the method and device of sequence of pictures frame
CN116052236B (en) Face detection processing engine, shooting method and equipment related to face detection
US20230254418A1 (en) System and Method for Recommending and/or Selecting Media for Printing a Digital Image
CN110362188B (en) Picture processing method and device, mobile terminal and storage medium
CN110378973A (en) Image information processing method, device and electronic equipment
CN108335659A (en) Method for displaying image and equipment
CN110365962B (en) Color gamut conversion processing method and device and electronic equipment
CN111026893A (en) Intelligent terminal, image processing method and computer-readable storage medium
CN101488991B (en) Image loading method based on BREW platform

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

Application publication date: 20191105

RJ01 Rejection of invention patent application after publication