WO2018072400A1 - 一种图像显示的方法、装置和计算机存储介质 - Google Patents

一种图像显示的方法、装置和计算机存储介质 Download PDF

Info

Publication number
WO2018072400A1
WO2018072400A1 PCT/CN2017/079503 CN2017079503W WO2018072400A1 WO 2018072400 A1 WO2018072400 A1 WO 2018072400A1 CN 2017079503 W CN2017079503 W CN 2017079503W WO 2018072400 A1 WO2018072400 A1 WO 2018072400A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
switching
target
image
information
Prior art date
Application number
PCT/CN2017/079503
Other languages
English (en)
French (fr)
Inventor
卓俊伟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP17863060.4A priority Critical patent/EP3531261A4/en
Publication of WO2018072400A1 publication Critical patent/WO2018072400A1/zh

Links

Images

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
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • G09G5/06Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed using colour palettes, e.g. look-up tables
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/066Adjustment of display parameters for control of contrast
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/08Arrangements within a display terminal for setting, manually or automatically, display parameters of the display terminal

Definitions

  • the present invention relates to the field of electronic device technologies, and in particular, to a method, an apparatus, and a computer storage medium for image display.
  • OLED screens are characterized by their thinness, high brightness, high color gamut coverage, especially the saturation caused by high color gamut coverage. Making various colors look more beautiful and bright, OLED screens are beginning to be favored by more and more manufacturers. However, the high saturation caused by high color gamut coverage causes the display color of the image to be distorted when the image is displayed in some applications.
  • embodiments of the present invention provide a method, an apparatus, and a computer storage medium for image display.
  • An embodiment of the present invention provides a method for displaying an image, including:
  • switching information of the application where the switching information includes current application information and switching application information;
  • the preset target parameter is called to display an image.
  • An embodiment of the present invention further provides an apparatus for displaying an image, including:
  • An acquiring module configured to acquire switching information of the application, where the switching information includes current application information and switching application information;
  • a determining module configured to determine, according to the switching application information, whether the switching application belongs to a preset target application
  • the first calling module is configured to: if the switching application belongs to the target application, invoke a preset target parameter to display an image.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores one or more programs executable by a computer, and when the one or more programs are executed by the computer, the computer is executed as described above.
  • a method of image display provided. That is, the computer storage medium stores a set of instructions that, when executed, cause at least one processor to perform the method of image display described above.
  • switching information of the application where the switching information includes current application information and switching application information; determining, according to the switching application information, whether the switching application belongs to a preset target application; if the switching application belongs to The target application calls a preset target parameter to display an image. This can ensure the authenticity of the image color when the target application displays the image, solve the problem of image color distortion, and enhance the user's visual experience.
  • FIG. 1 is a schematic flow chart of a method for displaying an image according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of another method for displaying an image according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of another method for displaying an image according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an apparatus for displaying an image according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another apparatus for displaying an image according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another apparatus for displaying an image according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another apparatus for displaying an image according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for displaying an image, including the following steps:
  • Step S101 Acquire switching information of an application, where the switching information includes current application information and switching application information.
  • the terminal system acquires the switching information of the application, and the switching information includes the current application information and the switching application information.
  • Step S102 Determine, according to the switching application information, whether the switching application belongs to a preset target application.
  • step S101 according to the switching application information acquired in step S101, the switching application can be known, and by determining whether the switching application belongs to the preset target application, it is determined which parameter is called to perform image display.
  • step S103 when the determination result is YES, step S103 is executed, and when the determination result is NO, the flow is ended.
  • the target application may include at least one of a camera application and a gallery application. Since the image images in the camera application and the gallery application are the most widely used, the display requirements for the images are high.
  • Step S103 If the switching application belongs to the target application, the preset target parameter display image is called.
  • the preset target parameter is called to display the image.
  • the image display of a terminal device such as a mobile phone
  • the high saturation caused by the high color gamut coverage of the OLED screen does make the colors look more beautiful and more vivid, but the red saturation is too high.
  • the skin color is obviously reddish and severely distorted, and it also affects the user's visual experience.
  • the character display has the highest probability of appearing in the camera application and the gallery application.
  • it is necessary to optimize the display of the two applications that is, the optimization of the skin color. Ensure the authenticity of the image display and enhance the user's visual experience.
  • other parameters such as preset default parameters, can be used for image display due to the small probability of involving the skin color of the person.
  • the foregoing method can be applied to a terminal device, such as a mobile phone, a smart watch, a personal computer, or the like.
  • the switching information of the application is obtained, where the switching information includes current application information and switching application information; and determining, according to the switching application information, whether the switching application belongs to a preset target application;
  • an embodiment of the present invention provides another method for displaying an image, including the following steps:
  • Step S201 Acquire switching information of an application, where the switching information includes current application information and switching application information.
  • Step S202 Determine, according to the switching application information, whether the switching application belongs to a preset target application.
  • Step S203 Establish a mapping relationship between the target application and the target parameter.
  • the target parameter can be quickly and accurately called to perform image display, thereby improving the operating efficiency of the system.
  • step S203 and steps S201 to S202 has no order.
  • Step S204 When the switching application belongs to the target application, the target parameter display image is invoked according to the mapping relationship.
  • the system can quickly and accurately call the target parameter to perform image display and improve the operating efficiency of the system.
  • the method further includes:
  • the preset default parameter is called to display the image.
  • different parameters are called for different applications to perform image display. It can improve the display of images and the user's visual experience.
  • the target parameter has a better visual experience for the display of skin color, but when, for example, entering the stock trading software, the red color of the stock rising in the stock trading software will be bleak due to low saturation.
  • the default default parameters are called.
  • the image display can solve the problem that the red color of the stock rising in the stock software will be bleak due to low saturation, thus enhancing the user's visual experience.
  • the method before the acquiring the switching information of the application, the method further includes:
  • the target parameter and the default parameter are stored in a specified directory.
  • the target parameter and the default parameter are stored in the specified directory, and a new folder is generally created under the vendor/qcom/proprietary/mm-core/display/ path, and is named qdcm, and the target parameter and the default parameter are generated. Copy the XML file to the secondary directory and add the Andriod.mk file to the system/etc/ directory. This will allow the system to load the XML file each time it is booted.
  • an embodiment of the present invention provides another method for displaying an image, including the following steps:
  • Step S301 setting a target parameter and a default parameter.
  • the skin color display is specially optimized. You can find a better mobile phone for the skin color display on the market as a comparison machine, and debug according to the sample, generally mainly by reducing the skin color range.
  • the target parameter and the default parameters are generated into an XML file for the system to load.
  • Step S302 Store the target parameter and the default parameter to the specified directory.
  • the target parameters and default parameters of the generated XML file are stored in the specified directory.
  • a new folder is created under the vendor/qcom/proprietary/mm-core/display/ path, and named qdcm, and the XML file is used. Copy to the secondary directory, and add the Andriod.mk file, specify the storage to the system / etc / directory, so that each time you boot, the system is convenient The XML file is loaded.
  • Step S303 entering the camera application, and calling the target parameter.
  • Step S304 entering the gallery application, and calling the target parameter.
  • an embodiment of the present invention provides an apparatus for displaying an image
  • the apparatus 40 includes include:
  • the obtaining module 41 is configured to acquire switching information of the application, where the switching information includes current application information and switching application information;
  • the determining module 42 is configured to determine, according to the switching application information, whether the switching application belongs to a preset target application;
  • the first invoking module 43 is configured to: if the switching application belongs to the target application, invoke a preset target parameter to display an image.
  • the method further includes:
  • the second invoking module 44 is configured to: if the switching application does not belong to the target application, invoke a preset default parameter to display an image.
  • the method further includes:
  • the establishing module 45 is configured to establish a mapping relationship between the target application and the target parameter
  • the first invoking module 43 is configured to invoke the target parameter display image according to the mapping relationship when the switching application belongs to the target application.
  • the method further includes:
  • the storage module 46 is configured to store the target parameter and the default parameter in a specified directory.
  • the target application comprises at least one of a camera application and a gallery application.
  • the device 40 can implement the method provided in the embodiment shown in FIG. 1 to FIG. 3, that is, the methods provided in the embodiments of FIG. 1 to FIG. 3 can be implemented by the device 40, and the same beneficial effects can be achieved. To avoid repetition, we will not repeat them here.
  • the acquisition module 41, the determination module 42, the first invoking module 43, the second invoking module 44, and the establishing module 45 may be a processor (such as a central processing unit (CPU) in the device 40 of the image display.
  • a processor such as a central processing unit (CPU) in the device 40 of the image display.
  • CPU central processing unit
  • the storage module 46 can be displayed by an image.
  • the processor in 40 is implemented in conjunction with a memory.
  • the program may be completed by a program instruction related hardware, and the program may be stored in a computer readable storage medium, and when executed, the program includes the following steps:
  • switching information of the application where the switching information includes current application information and switching application information;
  • the preset target parameter is called to display an image.
  • the default default parameter display image is invoked if the switching application does not belong to the target application.
  • the method before the switching application belongs to the target application and the preset target parameter is used to display an image, the method further includes:
  • the preset target parameter display image is invoked, including:
  • the target parameter display image is invoked according to the mapping relationship.
  • the method before the acquiring the switching information of the application, the method further includes:
  • the target parameter and the default parameter are stored in a specified directory.
  • the target application comprises at least one of a camera application and a gallery application.
  • the storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the solution provided by the embodiment of the present invention acquires switching information of an application, and the switching information Include current application information and switching application information; determining, according to the switching application information, whether the switching application belongs to a preset target application; if the switching application belongs to the target application, calling a preset target The parameter displays the image. This can ensure the authenticity of the image color when the target application displays the image.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

一种图像显示的方法、装置和计算机存储介质。其中方法包括:获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息(S101);根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序(S102);若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像(S103)。

Description

一种图像显示的方法、装置和计算机存储介质
相关申请的交叉引用
本申请基于申请号为201610913580.2、申请日为2016年10月20日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及电子设备技术领域,特别涉及一种图像显示的方法、装置和计算机存储介质。
背景技术
随着有机发光显示器(OLED,Organic Light-Emitting Display)技术的不断发展与成熟,OLED屏幕以其轻薄、高亮度、高色域覆盖率等特点,尤其是高色域覆盖率带来的饱和度使各种颜色看起来更加绚丽与鲜艳,使得OLED屏幕开始受到越来越多的厂商的青睐。但高色域覆盖率带来的高饱和度,致使在某些应用程序里进行图像显示时,导致图像的显示颜色失真。
发明内容
为解决现有存在的技术问题,本发明实施例提供一种图像显示的方法、装置和计算机存储介质。
本发明实施例提供一种图像显示的方法,包括:
获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息;
根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序;
若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像。
本发明实施例还提供一种图像显示的装置,包括:
获取模块,配置为获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息;
判断模块,配置为根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序;
第一调用模块,配置为若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机执行如上述提供的一种图像显示的方法。也就是说,所述计算机存储介质存储有一组指令,当执行所述指令时,引起至少一个处理器执行上述的图像显示的方法。
上述技术方案中的一个技术方案具有如下优点或有益效果:
获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息;根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序;若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像。这样可以实现在目标应用程序进行显示图像的时候,可以保证图像颜色的真实性,解决了图像颜色失真的问题,还能提升用户的视觉体验。
附图说明
图1为本发明施例提供的一种图像显示的方法的流程示意图;
图2是本发明实施例提供的另一种图像显示的方法的流程示意图;
图3是本发明实施例提供的另一种图像显示的方法的流程示意图;
图4是本发明实施例提供的一种图像显示的装置的结构示意图;
图5是本发明实施例提供的另一种图像显示的装置的结构示意图;
图6是本发明实施例提供的另一种图像显示的装置的结构示意图;
图7是本发明实施例提供的另一种图像显示的装置的结构示意图。
具体实施方式
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。
如图1所示,本发明实施例提供一种图像显示的方法,包括以下步骤:
步骤S101、获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息。
在该步骤中,在进行应用程序切换的时候,终端***获取应用程序的切换信息,切换信息包括当前应用程序信息和切换应用程序信息。
步骤S102、根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序。
在该步骤中,根据步骤S101获取到的切换应用程序信息,即可知道切换应用程序,通过判断切换应用程序是否属于预设的目标应用程序,来确定调用哪种参数来进行图像显示。在本实施例中,当判断结果为是的时候,执行步骤S103,判断结果为否的时候,结束流程。
在一实施例中,上述目标应用程序可以包括照相应用程序和图库应用程序中至少之一。由于照相应用程序和图库应用程序中图片图像的应用最多,对图像的显示要求较高。
步骤S103、若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像。
在该步骤中,当切换应用程序属于目标应用程序,调用预设的目标参数显示图像。例如,在手机等终端设备的图像显示中,尤其是人物显示,由于OLED屏幕高色域覆盖率带来的高饱和度确实使各种颜色看起来更绚丽更鲜艳,但由于红色饱和度过高,在显示人物肤色等颜色的时候,会导致肤色明显偏红而严重失真,而且还会影响用户的视觉体验。而且人物显示在照相应用程序和图库应用程序中出现的几率最高,在用照相机拍照、用图库查看人物照片的时候,就需要对这两种应用程序的显示做特别的优化,即肤色的优化,保证图像显示的真实性,提升用户的视觉体验。而在 其他应用程序中,由于涉及人物肤色的几率较小,即可使用其他参数,比如预设的默认参数进行图像显示。
本实施例中,上述方法可以应用于终端设备,例如手机,智能手表、个人电脑等终端设备。
本实施例中,获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息;根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序;若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像。这样可以在目标应用程序进行显示图像的时候,可以保证图像颜色的真实性,还能提升用户的视觉体验。
如图2所示,本发明实施例提供另一种图像显示的方法,包括以下步骤:
步骤S201、获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息。
步骤S202、根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序。
步骤S203、建立所述目标应用程序与所述目标参数之间的映射关系。
在该步骤中,通过建立目标应用程序与目标参数之间的映射关系,终端设备切换到目标应用程序时,可以快速而又准确地调用目标参数,进行图像显示,提升***的运行效率。
实际应用时,步骤S203与步骤S201~S202的执行无先后顺序。
步骤S204、当所述切换应用程序属于所述目标应用程序时,根据所述映射关系,调用所述目标参数显示图像。
在该步骤中,根据目标应用程序与目标参数之间的映射关系,当切换应用程序属于目标应用程序时,***可以快速而又准确的调用目标参数,进行图像显示,提升***的运行效率。
在一实施例中,所述方法还包括:
若所述切换应用程序不属于所述目标应用程序,调用预设的默认参数显示图像。
在本实施例中,针对不同的应用程序调用不同的参数进行图像显示, 可以提升图像的显示效果以及用户的视觉体验。比如,目标参数对肤色的显示有较好的视觉体验,但当比如进入炒股软件时,炒股软件里股票上涨显示的红色会由于饱和度低而表现惨淡,这个时候,调用预设的默认参数进行图像显示,就可以解决炒股软件里股票上涨显示的红色会由于饱和度低而表现惨淡的问题,从而提升用户的视觉体验。
在一实施例中,在所述获取应用程序的切换信息之前,所述方法还包括:
将所述目标参数和所述默认参数存储在指定目录。
在本实施例中,将目标参数与默认参数存储到指定目录,一般是在vendor/qcom/proprietary/mm-core/display/路径下新建文件夹,并命名为qdcm,将目标参数与默认参数生成的XML文件复制到次目录下,并加入Andriod.mk文件,指定存储到system/etc/目录下,这样可以在每次开机时,方便***对XML文件进行加载。
本实施例中,通过上述方法,这样可以实现在目标应用程序进行显示图像的时候,可以保证图像颜色的真实性,还能提升用户的视觉体验。
如图3所示,本发明实施例提供另一种图像显示的方法,包括以下步骤:
步骤S301、设置目标参数与默认参数。
在该步骤中,利用终端设备自带的显示调试工具,针对肤色显示做特别优化,可以通过找市场上对肤色显示做的比较好的手机作为对比机,依样调试,一般主要通过降低肤色范围色调值的饱和度,来对肤色显示做特别优化,并指定名字和modeid。例如,对于目标参数可以命名skin,modeid=1;对于默认参数可以命名default,modeid=0。并将目标参数与默认参数生成XML文件,方便***进行加载。
步骤S302、将目标参数与默认参数存储到指定目录。
在该步骤中,将已经生成XML文件的目标参数与默认参数存储到指定目录,一般是在vendor/qcom/proprietary/mm-core/display/路径下新建文件夹,并命名为qdcm,将XML文件复制到次目录下,并加入Andriod.mk文件,指定存储到system/etc/目录下,这样可以在每次开机时,方便***对 XML文件进行加载。
步骤S303、进入照相应用程序,调用目标参数。
在该步骤中,当进入照相应用程序时,根据目标应用程序与目标参数之间的映射关系,在界面进入的回调函数onresume设置目标参数(即肤色显示参数),用activity的类现实ColorManagerListener接口,然后在oncreate中调用ColorManager.connect(this,this),在onConnected()方法里调用mColorManager=ColorManager.getInstance(this.getApplication(),this,type),获取colormanager实例,然后就可以用这个实例来操作了,获取当前mode:int[]value=mColorManager.getActiveMode();
设置activitymode:mColorManager.setActiveMode(mode),设置modeid=1,界面退出时在回调函数onpause中用mColorManager.setActiveMode(mode)设置modeid=0。这个过程由***提供的显示服务支持。
步骤S304、进入图库应用程序,调用目标参数。
在该步骤中,当进入图库应用程序时,根据目标应用程序与目标参数之间的映射关系,在界面进入的回调函数onresume设置目标参数(即肤色显示参数),用activity的类现实ColorManagerListener接口,然后在oncreate中调用ColorManager.connect(this,this),在onConnected()方法里调用mColorManager=ColorManager.getInstance(this.getApplication(),this,type),获取colormanager实例,然后就可以用这个实例来操作了,获取当前mode:int[]value=mColorManager.getActiveMode();
设置activitymode:mColorManager.setActiveMode(mode),设置modeid=1,界面退出时在回调函数onpause中用mColorManager.setActiveMode(mode)设置modeid=0。这个过程由***提供的显示服务支持。
本实施例中,在应用OLED屏幕广色域的前提下,通过上述方法,照相应用程序和图库应用程序进行图像显示时,尤其是肤色显示时,图像颜色不会失真,提升了用户的视觉体验。
如图4所示,本发明实施例提供一种图像显示的装置,所述装置40包 括:
获取模块41,配置为获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息;
判断模块42,配置为根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序;
第一调用模块43,配置为若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像。
在一实施例中,如图5所示,还包括:
第二调用模块44,配置为若所述切换应用程序不属于所述目标应用程序,调用预设的默认参数显示图像。
在一实施例中,如图6所示,还包括:
建立模块45,配置为建立所述目标应用程序与所述目标参数之间的映射关系;
第一调用模块43,配置为当所述切换应用程序属于所述目标应用程序时,根据所述映射关系,调用所述目标参数显示图像。
在一实施例中,如图7所示,还包括:
存储模块46,配置为将所述目标参数和所述默认参数存储在指定目录。
在一实施例中,所述目标应用程序包括照相应用程序和图库应用程序中至少之一。
本实施例中,装置40可以实现图1至图3所示实施例中提供的方法,即图1至图3实施例中提供的方法都可以由装置40实现,并且能达到相同的有益效果,为避免重复,在此不再赘述。
实际应用时,获取模块41、判断模块42、第一调用模块43、第二调用模块44、建立模块45可由图像显示的装置40中的处理器(比如中央处理器(CPU,Central Processing Unit)、微处理器(MCU,Micro Control Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程逻辑阵列(FPGA,Field-Programmable Gate Array)等)实现;所述存储模块46可由图像显示的装置40中的处理器结合存储器实现。
本领域普通技术人员可以理解实现上述实施例方法的全部或者部分步 骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,包括以下步骤:
获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息;
根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序;
若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像。
在一实施例中,若所述切换应用程序不属于所述目标应用程序,调用预设的默认参数显示图像。
在一实施例中,在所述若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像之前,还包括:
建立所述目标应用程序与所述目标参数之间的映射关系;
所述若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像,包括:
当所述切换应用程序属于所述目标应用程序时,根据所述映射关系,调用所述目标参数显示图像。
在一实施例中,在所述获取应用程序的切换信息之前,还包括:
将所述目标参数和所述默认参数存储在指定目录。
在一实施例中,所述目标应用程序包括照相应用程序和图库应用程序中至少之一。
所述的存储介质,如只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等。
以上所述是本发明的较佳实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。
工业实用性
本发明实施例提供的方案,获取应用程序的切换信息,所述切换信息 包括当前应用程序信息和切换应用程序信息;根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序;若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像。这样可以实现在目标应用程序进行显示图像的时候,可以保证图像颜色的真实性。

Claims (11)

  1. 一种图像显示的方法,包括:
    获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息;
    根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序;
    若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    若所述切换应用程序不属于所述目标应用程序,调用预设的默认参数显示图像。
  3. 根据权利要求1所述的方法,其中,在所述若所述切换应用程序属于所述目标应用程序,调用预设的目标参数显示图像之前,所述方法还包括:
    建立所述目标应用程序与所述目标参数之间的映射关系;
    所述调用预设的目标参数显示图像,包括:
    根据所述映射关系,调用所述目标参数显示图像。
  4. 根据权利要求2所述的方法,其中,所述获取应用程序切换的信息之前,还包括:
    将所述目标参数和所述默认参数存储在指定目录。
  5. 根据权利要求1至4任一项所述的方法,其中,所述目标应用程序包括照相应用程序和图库应用程序中至少之一。
  6. 一种图像显示的装置,包括:
    获取模块,配置为获取应用程序的切换信息,所述切换信息包括当前应用程序信息和切换应用程序信息;
    判断模块,配置为根据所述切换应用程序信息,判断切换应用程序是否属于预设的目标应用程序;
    第一调用模块,配置为若所述切换应用程序属于所述目标应用程序, 调用预设的目标参数显示图像。
  7. 根据权利要求6所述的装置,其中,所述装置还包括:
    第二调用模块,配置为若所述切换应用程序不属于所述目标应用程序,调用预设的默认参数显示图像。
  8. 根据权利要求6所述的装置,其中,所述装置还包括:
    建立模块,配置为建立所述目标应用程序与所述目标参数之间的映射关系;
    第一调用模块,配置为当所述切换应用程序属于所述目标应用程序时,根据所述映射关系,调用所述目标参数显示图像。
  9. 根据权利要求7所述的装置,其中,所述装置还包括:
    存储模块,配置为将所述目标参数和所述默认参数存储在指定目录。
  10. 根据权利要求6至9任一项所述的装置,其中,所述目标应用程序包括照相应用程序和图库应用程序中至少之一。
  11. 一种计算机存储介质,所述计算机存储介质存储有一组指令,当执行所述指令时,引起至少一个处理器执行如权利要求1至5任一项所述的图像显示的方法。
PCT/CN2017/079503 2016-10-20 2017-04-05 一种图像显示的方法、装置和计算机存储介质 WO2018072400A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP17863060.4A EP3531261A4 (en) 2016-10-20 2017-04-05 IMAGE DISPLAY METHOD AND APPARATUS AND COMPUTER STORAGE MEDIUM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610913580.2 2016-10-20
CN201610913580.2A CN107967094A (zh) 2016-10-20 2016-10-20 一种图像显示的方法和装置

Publications (1)

Publication Number Publication Date
WO2018072400A1 true WO2018072400A1 (zh) 2018-04-26

Family

ID=61996394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/079503 WO2018072400A1 (zh) 2016-10-20 2017-04-05 一种图像显示的方法、装置和计算机存储介质

Country Status (3)

Country Link
EP (1) EP3531261A4 (zh)
CN (1) CN107967094A (zh)
WO (1) WO2018072400A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399794A (zh) * 2013-07-30 2013-11-20 深圳市中兴移动通信有限公司 移动终端切换应用的方法及装置
CN103685716A (zh) * 2012-09-26 2014-03-26 联想(北京)有限公司 一种显示模式切换的方法及电子设备
CN104183227A (zh) * 2013-05-20 2014-12-03 中兴通讯股份有限公司 应用程序的显示处理方法及装置
CN104820537A (zh) * 2015-04-22 2015-08-05 广东欧珀移动通信有限公司 一种调整终端显示效果的方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4254806B2 (ja) * 2006-05-23 2009-04-15 ブラザー工業株式会社 画像形成装置及び記録媒体

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685716A (zh) * 2012-09-26 2014-03-26 联想(北京)有限公司 一种显示模式切换的方法及电子设备
CN104183227A (zh) * 2013-05-20 2014-12-03 中兴通讯股份有限公司 应用程序的显示处理方法及装置
CN103399794A (zh) * 2013-07-30 2013-11-20 深圳市中兴移动通信有限公司 移动终端切换应用的方法及装置
CN104820537A (zh) * 2015-04-22 2015-08-05 广东欧珀移动通信有限公司 一种调整终端显示效果的方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3531261A4 *

Also Published As

Publication number Publication date
CN107967094A (zh) 2018-04-27
EP3531261A4 (en) 2019-10-23
EP3531261A1 (en) 2019-08-28

Similar Documents

Publication Publication Date Title
US20220308823A1 (en) Screen Mirroring Display Method and Electronic Device
WO2021238469A1 (zh) 第三方应用程序的页面展示方法、装置、电子设备
US20220391161A1 (en) Screen Mirroring Display Method and Electronic Device
US10958850B2 (en) Electronic device and method for capturing image by using display
KR101674284B1 (ko) 화상 처리 방법, 장치, 프로그램 및 기록매체
WO2019047465A1 (zh) 导航栏显示方法、装置和计算机可读存储介质
WO2021121052A1 (zh) 一种多屏协同方法、***及电子设备
US9665247B2 (en) Method and device for applying a new skin to a display environment
US10237454B2 (en) Method for detecting terminal static layer information, terminal and television
CN109298912B (zh) 主题色彩的调节方法、装置、存储介质及电子设备
WO2017076199A1 (zh) 一种相机应用的图像预览方法、装置及相机应用***
US20240134591A1 (en) Projection display method and electronic device
TWI717317B (zh) 對顯示裝置的顯示圖像進行截屏的方法及裝置
EP3822758A1 (en) Method and apparatus for setting background of ui control
JP2014068145A (ja) 携帯端末、表示制御プログラムおよび表示制御方法
US20230229462A1 (en) Terminal Device, Gesture Operation Method Thereof, and Medium
WO2018072400A1 (zh) 一种图像显示的方法、装置和计算机存储介质
WO2023151214A1 (zh) 图像生成方法、***、电子设备、存储介质和产品
CN113923296B (zh) 界面显示方法、装置及计算机可读存储介质
WO2016188227A1 (zh) 智能终端快捷方式建立方法及装置
CN115437724A (zh) 界面显示方法、装置、终端设备及计算机可读存储介质
WO2015176524A1 (zh) 一种调整功耗的方法及电子设备
WO2015117345A1 (zh) 背景的显示方法及装置
TWI723119B (zh) 相機應用的圖像預覽方法、裝置及相機應用系統
US12019942B2 (en) Multi-screen collaboration method and system, and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17863060

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017863060

Country of ref document: EP

Effective date: 20190520