CN108257221B - Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus - Google Patents

Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN108257221B
CN108257221B CN201810157721.1A CN201810157721A CN108257221B CN 108257221 B CN108257221 B CN 108257221B CN 201810157721 A CN201810157721 A CN 201810157721A CN 108257221 B CN108257221 B CN 108257221B
Authority
CN
China
Prior art keywords
color
scene
tone
interface
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810157721.1A
Other languages
Chinese (zh)
Other versions
CN108257221A (en
Inventor
何晶晶
乔博文
付红桥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810157721.1A priority Critical patent/CN108257221B/en
Publication of CN108257221A publication Critical patent/CN108257221A/en
Application granted granted Critical
Publication of CN108257221B publication Critical patent/CN108257221B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a tone adjusting method, a tone adjusting device, a storage medium and an electronic device. Wherein, the method comprises the following steps: determining a color difference between virtual reality VR scene content displayed by a terminal and display content of a current UI interface, wherein the color difference is a color difference between a first color tone of the VR scene content and a second color tone of the display content of the current UI interface; and adjusting the first tone according to the color difference to obtain a third tone of the VR scene content, wherein the difference between the third tone and the second tone is within a preset range. The invention solves the technical problem that interface information readability and identifiability are low due to the change of VR scene color in the VR in the related technology.

Description

Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for adjusting color tone, a storage medium, and an electronic apparatus.
Background
The Retina (Retina) screen panel of an iPhone or iPad in the related art can automatically adjust the screen brightness according to the displayed content, thereby achieving the effect of energy saving. The actual content of the screen can be monitored and the brightness of the screen managed. At present, the screen can automatically turn down luminance when being in the darker environment of light, perhaps also can automatically turn down luminance when the screen does not have the touch-control for a long time, but it only focuses on saving the electric quantity, and its mode of realization is: firstly, presetting a configuration, wherein contents comprise different types such as pictures, photos, videos and the like; after determining the type of content on the screen, the brightness may be adjusted according to the content. For example, when a very bright picture is displayed, the brightness is automatically turned down. Fig. 1 is a schematic diagram of a VR Interface provided in the related art, and as shown in fig. 1, a Virtual Reality (VR) Interface at present is a panoramic operation, a User Interface (UI) control pair is arranged in a space and presents a semitransparent stereoscopic perspective state, and the User Interface moves according to the movement of a User, so that when one scene in the VR moves to another scene, the Interface may have a situation that information display is unclear due to a change of a scene color, for example, information color and environment color are merged due to the close colors.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a tone adjusting method, a tone adjusting device, a storage medium and an electronic device, which are used for at least solving the technical problem that interface information readability and identifiability are low due to the change of VR scene tone in an interface in VR in the related art.
According to an aspect of an embodiment of the present invention, there is provided a tone adjustment method including: determining a color difference between virtual reality VR scene content displayed by a terminal and display content of a current UI interface, wherein the color difference is a color difference between a first color tone of the VR scene content and a second color tone of the display content of the current UI interface; and adjusting the first tone according to the color difference to obtain a third tone of the VR scene content, wherein the difference between the third tone and the second tone is within a preset range.
Optionally, adjusting the first hue according to the color difference comprises: in the case where the color difference is not within the predetermined range, the first hue is adjusted.
Optionally, adjusting the first color shade according to the color difference comprises at least one of: adjusting the first color tone to the third color tone in a region corresponding to the current UI interface in a VR scene as follows: m is2=m1+madjust(ii) a Adjusting the first hue to the third hue within a predetermined region of a VR scene by:
Figure BDA0001581962210000021
wherein m is2Represents the third hue, m1Represents the first hue, madjustD is the distance from the pixel point in the preset area to the boundary of the area corresponding to the current UI interface, DtaIs the width of the predetermined area.
Optionally, the VR scene content is VR scene content within a visible range of the terminal at the specified position.
According to an aspect of an embodiment of the present invention, there is provided a tone adjusting apparatus including: the determining module is used for determining the color difference between the virtual reality VR scene content displayed by the terminal and the display content of the current UI interface, wherein the color difference is the color difference between a first color tone of the VR scene content and a second color tone of the display content of the current UI interface; and the adjusting module is used for adjusting the first tone according to the color difference to obtain a third tone of the VR scene content, wherein the tone difference between the third tone and the second tone is within a preset range.
Optionally, the adjusting module is further configured to adjust the first hue if the color difference is not within a predetermined range.
Optionally, the adjusting module is further configured to at least one of: adjusting the first color tone to the third color tone in a region corresponding to the current UI interface in a VR scene as follows: m is2=m1+madjust(ii) a Adjusting the first hue to the third hue within a predetermined region of a VR scene by:
Figure BDA0001581962210000022
wherein m is2Represents the third hue, m1Represents the first hue, madjustD is the distance from the pixel point in the preset area to the boundary of the area corresponding to the current UI interface, DtaIs the width of the predetermined area.
Optionally, the VR scene content is VR scene content within a visible range of the terminal at the specified position.
According to an aspect of embodiments of the present invention, there is provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any one of the above when executed.
According to an aspect of embodiments of the present invention, there is provided an electronic apparatus, comprising a memory in which a computer program is stored and a processor configured to execute the computer program to perform the method of any one of the above.
In the embodiment of the invention, a mode of adjusting the color tone of the VR scene content based on the color difference between the VR scene content and the display content of the current UI interface is adopted to enable the color tone difference between the adjusted scene content and the display content of the current UI interface to be within a predetermined range, that is, the first color tone of the VR scene content is adjusted to enable the color tone difference between the adjusted first color tone, that is, the third color tone, and the second color tone to be within the predetermined range, that is, the VR scene content is subjected to adaptive color matching rendering, so that the visual significance of the display content of the current UI interface is enhanced, the information reading experience of a user in VR is improved, and the technical problem that the interface in VR in the related technology is low in readability and identifiability due to the change of the VR scene color tone is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a VR interface provided in the related art;
fig. 2 is a schematic diagram of changes in definition of interface information when moving from one VR scene to another VR scene according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a tone adjustment method according to an embodiment of the present invention;
fig. 4 is a block diagram showing a configuration of a tone adjusting apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of a field of view and an environment rendering zone provided in accordance with a preferred embodiment of the present invention;
FIG. 6 is a hue C of a VR environment provided in accordance with a preferred embodiment of the present inventionbgInterfacial hue CuiColor difference CdiffAnd color difference C after VR Environment adjustmentoutSchematic diagram of the relationship between;
fig. 7 is a schematic illustration of a transition region provided in accordance with a preferred embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the related art, the interface of the VR product content is more displayed in a semi-transparent state so as not to obstruct the environment, and the interface generally moves within the VR environment along with the movement of the user, so when a user moves from one VR scene to another VR scene while viewing the interface, the interface can affect the definition of interface information due to the change of the environmental color, so that the readability and the identifiability of the interface are reduced, fig. 2 is a schematic diagram of changes in definition of interface information when moving from one VR scene to another VR scene according to an embodiment of the present invention, wherein, the left diagram of fig. 2 shows the display condition of the interface information in the VR scene before moving, and the right diagram of fig. 2 shows the display condition of the interface information in the VR scene after moving, and obviously, the readability and the identifiability of the interface information are reduced after moving.
In order to solve the above technical problem, the present invention provides a method embodiment of a tone adjustment method, and it should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that here.
It should be noted that the method may be applied to a terminal, and particularly, but not limited to, a VR device, such as a wearable VR device.
Fig. 3 is a schematic flow chart of a hue adjustment method according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S302, determining a color difference between virtual reality VR scene content displayed by a terminal and display content of a current UI interface, wherein the color difference is a color difference between a first color tone of the VR scene content and a second color tone of the display content of the current UI interface;
step S304, adjusting the first tone according to the color difference to obtain a third tone of the VR scene content, wherein the tone difference between the third tone and the second tone is within a predetermined range.
Through the steps, the method of adjusting the color tone of the VR scene content based on the color difference between the VR scene content and the display content of the current UI interface to enable the color tone difference between the adjusted scene content and the display content of the current UI interface to be within the preset range is adopted, namely, the first color tone of the VR scene content is adjusted to enable the color tone difference between the adjusted first color tone, namely the third color tone, and the second color tone to be within the preset range, namely, the VR scene content is subjected to adaptive color matching rendering, the visual significance of the display content of the current UI interface is enhanced, the information reading experience of a user in VR is improved, and the technical problem that the interface in VR in the related technology is low in readability and identifiability of interface information due to the change of the VR scene color tone is solved.
It should be noted that the graphical user interface of the terminal includes a scene layer and a UI layer, where the scene layer is used to display VR scene content, such as a scene map, and the UI layer is used to display a current UI interface, such as a UI control, an information display window, and the like, but is not limited thereto.
It should be noted that the predetermined range may be preset or an empirical value obtained from human eye research, and the predetermined range may also be referred to as a comfortable reading color difference interval, and when a color difference between VR scene content and display content of a current UI interface falls within the comfortable reading color difference interval, display information of the interface is clear and readable, and an immersion sense of a user in reading the display content is enhanced. Thus, in one embodiment of the present invention, the step S304 may be represented as: in the case where the color difference is not within the predetermined range, the first hue is adjusted. Namely, the first tone is not required to be adjusted when the color difference is within the comfortable reading color difference interval, and the first tone is adjusted when the color difference is not within the comfortable reading color difference interval.
It should be noted that, the VR scene content and the display content of the current UI interface are both composed of pixels, so the first hue of the VR scene content may be considered as the first hue of the pixels of the VR scene content, and the second hue of the display content of the current UI interface may be the second hue of the pixels of the display content of the current UI interface.
It should be noted that the hue of the pixel point can be represented by (α, r, g, b), where α represents the transparency, r is red in the color channel, g is green in the color channel, and b is blue in the color channel. I.e. a first hue, a second hue and a third hue, can be represented in this way.
The VR scene content is a VR scene content within a visible range of the terminal at a predetermined position, and may be referred to as a VR scene content within the visible range.
It should be noted that, while readability and identifiability of the interface information are increased, harmony between the local scene and the whole scene should be considered, and when the user moves in an environment with a large hue difference, soft transition (slow transition) rendering needs to be performed on the local scene, that is, the VR scene content in the visual field, so that hue jump of the VR scene content in the visual field (in the visual field) of the user is minimized, and the hue jump is reducedLess interruption of the user' S reading immersion, and thus in one embodiment of the present invention, the step S304 may further include at least one of: adjusting the first color tone to the third color tone in a region corresponding to the current UI interface in a VR scene as follows: m is2=m1+madjust(ii) a Adjusting the first hue to the third hue within a predetermined region of a VR scene by:
Figure BDA0001581962210000051
wherein m is2Represents the third hue, m1Represents the first hue, madjustD is the distance from the pixel point in the preset area to the boundary of the area corresponding to the current UI interface, DtaIs the width of the predetermined area.
It should be noted that the predetermined region may be a transition region in the VR scene, for example, there is a control, and a region within a predetermined distance from a boundary of the control is the transition region. It should be noted that the predetermined area may be an area represented by a VR scene in the visual range, and the area corresponding to the current UI interface may be an area where the control is located in the VR scene, but is not limited thereto.
It should be noted that the executing subject of the above steps may be a terminal, such as a VR device, a wearable VR device, and the like, but is not limited thereto.
An embodiment of the present invention further provides a color tone adjusting apparatus located in the terminal, such as a VR device, a wearable VR device, and the like, fig. 4 is a block diagram of a structure of the color tone adjusting apparatus provided in an embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
a determining module 42, configured to determine a color difference between virtual reality VR scene content displayed by the terminal and display content of the current UI interface, where the color difference is a color difference between a first color tone of the VR scene content and a second color tone of the display content of the current UI interface;
and an adjusting module 44, connected to the determining module 42, for adjusting the first hue according to the color difference to obtain a third hue of the VR scene content, where a hue difference between the third hue and the second hue is within a predetermined range.
By the device, the method of adjusting the color tone of the VR scene content based on the color difference between the VR scene content and the display content of the current UI interface to enable the color tone difference between the adjusted scene content and the display content of the current UI interface to be within the preset range is adopted, namely, the first color tone of the VR scene content is adjusted to enable the color tone difference between the adjusted first color tone, namely the third color tone, and the second color tone to be within the preset range, namely, the VR scene content is subjected to adaptive color matching rendering, the visual significance of the display content of the current UI interface is enhanced, the information reading experience of a user in VR is improved, and the technical problem that the interface in VR in the related technology is low in readability and identifiability of interface information due to the change of the VR scene color tone is solved.
It should be noted that the predetermined range may be preset or an empirical value obtained from human eye research, and the predetermined range may also be referred to as a comfortable reading color difference interval, and when a color difference between VR scene content and display content of a current UI interface falls within the comfortable reading color difference interval, display information of the interface is clear and readable, and an immersion sense of a user in reading the display content is enhanced. Thus, in an embodiment of the present invention, the adjusting module 44 may be further configured to adjust the first hue if the color difference is not within a predetermined range.
The VR scene content is a VR scene content within a visible range of the terminal at a predetermined position, and may be referred to as a VR scene content within the visible range.
It should be noted that while readability and identifiability of the interface information are increased, harmony between the partial scene and the whole scene should be considered, and when the user moves in an environment with a large hue difference, soft transition (slow transition) rendering needs to be performed on the partial scene, that is, VR scene content in the visual field, so that hue jump of the VR scene content in the visual field (in the visual field) of the user is minimized, and interruption of reading immersion of the user is reduced, so in one embodiment of the present invention, the above is consideredThe adjustment module 44 may also be configured to at least one of: adjusting the first color tone to the third color tone in a region corresponding to the current UI interface in a VR scene as follows: m is2=m1+madjust(ii) a Adjusting the first hue to the third hue within a predetermined region of a VR scene by:
Figure BDA0001581962210000071
wherein m is2Represents the third hue, m1Represents the first hue, madjustD is the distance from the pixel point in the preset area to the boundary of the area corresponding to the current UI interface, DtaIs the width of the predetermined area.
According to an aspect of embodiments of the present invention, there is provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any one of the above when executed.
According to an aspect of embodiments of the present invention, there is provided an electronic apparatus, comprising a memory in which a computer program is stored and a processor configured to execute the computer program to perform the method of any one of the above.
For a better understanding of the present invention, the present invention is further explained below with reference to preferred embodiments.
In the method for rendering in automatic color matching according to the preferred embodiment of the present invention, real-time rendering is performed in an environment range of a user view by monitoring and identifying a color difference between a VR scene (corresponding to the content of the VR scene) and an interface (corresponding to the display content of the current UI interface), and a hue of the VR scene in the interface view is adaptively adjusted according to the interface color to ensure the clarity of interface information display, where fig. 5 is a schematic diagram of the view and an environment rendering area provided according to the preferred embodiment of the present invention.
It should be noted that the automatic color matching rendering method means that when the color difference between the interface information color (hue) and the VR environment content color is too small, the VR environment performs adaptive color matching instant rendering to ensure that the display of the interface information in the VR environment reaches the user comfortable reading value.
By applying the automatic color matching rendering method, when a user walks in scenes with different color tones of VR and looks at the interface, the color tones of the VR scenes in the visual domain are automatically subjected to color matching rendering according to the interface, and soft transition of rendering is carried out, so that the influence on the reading immersion of the user is reduced as much as possible on the basis of ensuring the identification of core information.
And if the reference value is out of the comfortable reading color difference interval (equivalent to the preset range) of the user, the interface information identification is ensured by performing self-adaptive adjustment on the VR scene color in the visual field range and then performing real-time rendering.
Because the local rendering of the environment is adopted, the harmony degree of the local environment and the whole environment is also considered while the interface information is highlighted by the automatic color matching technology, and when a user moves in an environment with a large hue difference distance, the real-time rendering of the local environment can be in soft transition, so that the environment hue jump in the visual field of the user is reduced to the weakest, and the interruption of the reading immersion feeling of the user is reduced.
The specific method comprises the following steps:
(1) the visual region is composed of pixel points, the color of each pixel point can be represented by (alpha, r, g, b), the adjustment of the color of the VR region is converted into the adjustment of four parameters of alpha, r, g, b of each pixel point, wherein, alpha represents the transparency, and r, g, b are the three-color elements of the color respectively: red, green and blue. With Cui=(αui,rui,gui,bui) Color of any pixel point in the display area of the interface, Cbg=(αbg,rbg,gbg,bbg) And representing the VR scene color corresponding to the pixel point. Defining a color difference:
Figure BDA0001581962210000081
where m is in the range of { r, g, b }, xα>0,xm>0,And xα,xmIs a constant coefficient which can be adjusted.
(2) FIG. 6 is a hue C of a VR environment provided in accordance with a preferred embodiment of the present inventionbgInterfacial hue CuiColor difference CdiffAnd color difference C after VR Environment adjustmentoutThe relationship between the color difference ranges is shown in the diagram, and a comfortable reading color difference range delta C of a user is preset according to the actual situation. If CdiffNot less than Δ C, no adjustment is needed to VR environmental color (scene color), otherwise C is adjustedbg=(abg,rbg,gbg,bbg) The adaptive adjustment is made in the following way:
rout=rbg+Δradjust
Figure BDA0001581962210000082
gout=gbg+Δgadjust
Figure BDA0001581962210000091
bout=bbg+Δbadjust
Figure BDA0001581962210000092
wherein the content of the first and second substances,
Figure BDA0001581962210000093
Figure BDA0001581962210000094
Figure BDA0001581962210000095
obtain an output
Figure BDA0001581962210000096
(3) FIG. 7 is a schematic view of a transition region provided in accordance with a preferred embodiment of the present invention, as shown in FIG. 7, AuiA control in the interface is represented, assuming that the width of the transition region (corresponding to the predetermined region) is DtaD (x, y) (corresponding to d) represents the distance from any pixel point in the transition region to the interface region, and (x, y) represents the position coordinate of the pixel point, wherein x is the abscissa of the pixel point, y is the ordinate of the pixel point, and the adjusted chromatic aberration Δ c (x, y) of the pixel point is defined as
Figure BDA0001581962210000097
Changing Δ C to Δ Cx,yBy substituting the equations (2-1), (2-2) and (2-3), the adapted pixels of the transition region can be calculated.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A color tone adjustment method, comprising:
determining a color difference between Virtual Reality (VR) scene content displayed by a terminal and display content of a current UI interface, wherein the display content is composed of pixel points, the color difference is a color difference between a first color tone of the VR scene content and a second color tone of the display content of the current UI interface, and color calls (alpha, r, g, b) of the pixel points are expressed, wherein alpha represents transparency, r is red in a color channel, g is green in the color channel, and b is blue in the color channel;
adjusting the first tone according to the color difference to obtain a third tone of the VR scene content, wherein the tone difference between the third tone and the second tone is within a predetermined range, and the predetermined range is a comfortable reading color difference interval;
when a user moves in a VR scene in a large color difference environment, automatically performing color matching rendering on VR scene content in a video domain, and performing soft transition of rendering, wherein the automatic color matching rendering is used for performing instant rendering of self-adaptive color matching based on the color difference between the color tone of the current UI interface and the color tone of the VR scene;
the graphical user interface of the terminal comprises a scene layer and a UI layer, wherein the scene layer is used for displaying the virtual reality VR scene content, and the UI layer is used for displaying the display content of the current UI interface.
2. The method of claim 1, wherein adjusting the first hue in accordance with the color difference comprises: adjusting the first hue in the case where the color difference is not within the predetermined range.
3. The method of claim 1, wherein adjusting the first color shade according to the color difference comprises at least one of:
adjusting the first color tone to the third color tone in a region corresponding to the current UI interface in a VR scene as follows: m is2=m1+madjust
Adjusting the first hue to the third hue within a predetermined region of a VR scene by:
Figure FDA0003348050070000011
wherein m is2Represents the third hue, m1Represents the first hue, madjustD is the distance from the pixel point in the preset area to the boundary of the area corresponding to the current UI interface, DtaIs the width of the predetermined area.
4. The method of claim 1, wherein the VR scene content is VR scene content within a visible range of the terminal at a specified location.
5. A color tone adjustment apparatus comprising:
the determining module is used for determining a color difference between Virtual Reality (VR) scene content displayed by a terminal and display content of a current UI interface, wherein the display content is composed of pixel points, the color difference is a color tone difference between a first color tone of the VR scene content and a second color tone of the display content of the current UI interface, and color calls (alpha, r, g and b) of the pixel points are represented, wherein alpha represents transparency, r is red in a color channel, g is green in the color channel, and b is blue in the color channel;
the adjusting module is used for adjusting the first color tone according to the color difference to obtain a third color tone of the VR scene content, wherein the color tone difference between the third color tone and the second color tone is within a preset range, and the preset range is a comfortable reading color difference interval;
when a user moves in a VR scene of an environment with large color difference, automatically performing color matching rendering on VR scene content in a video domain, and performing soft transition of rendering, wherein the automatic color matching rendering is used for performing instant rendering of self-adaptive color matching based on the color difference between the color tone of the current UI interface and the color tone of the VR scene;
the graphical user interface of the terminal comprises a scene layer and a UI layer, wherein the scene layer is used for displaying the virtual reality VR scene content, and the UI layer is used for displaying the display content of the current UI interface.
6. The apparatus of claim 5, wherein the adjusting module is further configured to adjust the first hue if the color difference is not within the predetermined range.
7. The apparatus of claim 5, wherein the adjustment module is further configured to at least one of: at least one of:
adjusting the first color tone to the third color tone in a region corresponding to the current UI interface in a VR scene as follows: m is2=m1+madjust
Adjusting the first hue to the third hue within a predetermined region of a VR scene by:
Figure FDA0003348050070000021
wherein m is2Represents the third hue, m1Represents the first hue, madjustD is the distance from the pixel point in the preset area to the boundary of the area corresponding to the current UI interface, DtaIs the width of the predetermined area.
8. The apparatus of claim 5, wherein the VR scene content is VR scene content within a visible range of the terminal at a specified location.
9. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 4 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 4.
CN201810157721.1A 2018-02-24 2018-02-24 Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus Active CN108257221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810157721.1A CN108257221B (en) 2018-02-24 2018-02-24 Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810157721.1A CN108257221B (en) 2018-02-24 2018-02-24 Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN108257221A CN108257221A (en) 2018-07-06
CN108257221B true CN108257221B (en) 2022-02-01

Family

ID=62745205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810157721.1A Active CN108257221B (en) 2018-02-24 2018-02-24 Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN108257221B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521721A (en) * 2008-02-29 2009-09-02 奇景光电股份有限公司 Device for adjusting image color difference value and adjusting method thereof
CN103164519A (en) * 2013-03-08 2013-06-19 优视科技有限公司 Method capable of adjusting tone of tool bar and device capable of adjusting tone of tool bar
CN104935902A (en) * 2015-06-02 2015-09-23 三星电子(中国)研发中心 Image color enhancement method and device, and electronic equipment
CN105430231A (en) * 2015-11-24 2016-03-23 努比亚技术有限公司 Image processing device and method
CN107193434A (en) * 2017-04-11 2017-09-22 深圳市金立通信设备有限公司 Status bar display method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729100B (en) * 2017-09-26 2020-04-28 维沃移动通信有限公司 Interface display control method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521721A (en) * 2008-02-29 2009-09-02 奇景光电股份有限公司 Device for adjusting image color difference value and adjusting method thereof
CN103164519A (en) * 2013-03-08 2013-06-19 优视科技有限公司 Method capable of adjusting tone of tool bar and device capable of adjusting tone of tool bar
CN104935902A (en) * 2015-06-02 2015-09-23 三星电子(中国)研发中心 Image color enhancement method and device, and electronic equipment
CN105430231A (en) * 2015-11-24 2016-03-23 努比亚技术有限公司 Image processing device and method
CN107193434A (en) * 2017-04-11 2017-09-22 深圳市金立通信设备有限公司 Status bar display method and terminal

Also Published As

Publication number Publication date
CN108257221A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
US8538147B2 (en) Methods and appartuses for restoring color and enhancing electronic images
CN108701351B (en) Image display enhancement method and device
CN107544730B (en) Picture display method and device and readable storage medium
CN107948733B (en) Video image processing method and device and electronic equipment
KR20070090224A (en) Method of electronic color image saturation processing
US8599212B2 (en) Character display method and apparatus
CN107799093A (en) Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal
US11128909B2 (en) Image processing method and device therefor
EP2284800B1 (en) Method and system for creating an image
CN105955754B (en) A kind of user interface character displaying method and device
CN113691737B (en) Video shooting method and device and storage medium
CN113660514A (en) Method and system for modifying user interface color in conjunction with video presentation
CN113282212A (en) Interface display method, interface display device and electronic equipment
CN110444181A (en) Display methods, device, terminal and computer readable storage medium
EP3596700B1 (en) Methods, systems, and media for color palette extraction for video content items
CN110880164A (en) Image processing method, device and equipment and computer storage medium
KR20190080732A (en) Estimation of illumination chromaticity in automatic white balancing
CN108257221B (en) Tone adjusting method, tone adjusting apparatus, storage medium, and electronic apparatus
US11410622B2 (en) Display method and device, and storage medium
CN113918253A (en) System bar icon display method and device
CN112201191B (en) Display screen control method and device, electronic equipment and readable storage medium
US20170168687A1 (en) Image processing method and apparatus for operating in low-power mode
CN110225177B (en) Interface adjusting method, computer storage medium and terminal equipment
CN111613168A (en) Image display processing method and device and computer readable storage medium
WO2017221509A1 (en) Image processing device, display device, image processing device control method, and control program

Legal Events

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